tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Eastham" <a...@peakdrive.com>
Subject RE: JSP source being shown (not being executed)
Date Wed, 09 Jun 2004 08:09:04 GMT
Michael,

If you put the JSPs under the WEB-INF folder of the web app, Tomcat will be
unable to serve them directly.

Does that make any difference?

Andy

> -----Original Message-----
> From: Schalk [mailto:schalk@volume4.co.za]
> Sent: 08 June 2004 20:43
> To: 'Tomcat Users List'
> Subject: RE: JSP source being shown (not being executed)
> 
> If all .html files should go to this try using a filter instead.
> 
> Kind Regards
> Schalk Neethling
> Web Developer.Designer.Programmer.President
> Volume4.Development.Multimedia.Branding
> emotionalize.conceptualize.visualize.realize
> Tel: +27125468436
> Fax: +27125468436
> email:schalk@volume4.co.za
> web: www.volume4.com
> 
> This message contains information that is considered to be sensitive or
> confidential and may not be forwarded or disclosed to any other party
> without the permission of the sender. If you received this message in
> error,
> please notify me immediately so that I can correct and delete the original
> email. Thank you.
> 
> :: -----Original Message-----
> :: From: Schalk [mailto:schalk@volume4.co.za]
> :: Sent: Tuesday, June 08, 2004 9:27 PM
> :: To: 'Tomcat Users List'
> :: Subject: RE: JSP source being shown (not being executed)
> ::
> :: I stand under correction but, it may even be that this not allowed at
> all
> or
> :: anymore. Try rather creating another extension for these files that you
> can
> :: map to. Probably the easiest.
> ::
> :: Kind Regards
> :: Schalk Neethling
> :: Web Developer.Designer.Programmer.President
> :: Volume4.Development.Multimedia.Branding
> :: emotionalize.conceptualize.visualize.realize
> :: Tel: +27125468436
> :: Fax: +27125468436
> :: email:schalk@volume4.co.za
> :: web: www.volume4.com
> ::
> :: This message contains information that is considered to be sensitive or
> :: confidential and may not be forwarded or disclosed to any other party
> :: without the permission of the sender. If you received this message in
> error,
> :: please notify me immediately so that I can correct and delete the
> original
> :: email. Thank you.
> ::
> :: :: -----Original Message-----
> :: :: From: Michael Mehrle [mailto:michael@datasaur.com]
> :: :: Sent: Tuesday, June 08, 2004 8:44 PM
> :: :: To: Tomcat Users List
> :: :: Subject: Re: JSP source being shown (not being executed)
> :: ::
> :: :: Actually, I'm not running Apache right now. This has something to do
> with
> :: my
> :: :: servlet context (*.html) not being sent to the JSP engine - it's
> treating
> :: it
> :: :: like regular HTML right now. Strange, since my other mappings seem
> to
> :: work
> :: :: fine (*.do).
> :: ::
> :: :: Michael
> :: ::
> :: ::
> :: :: ----- Original Message -----
> :: :: From: "Schalk" <schalk@volume4.co.za>
> :: :: To: "'Tomcat Users List'" <tomcat-user@jakarta.apache.org>
> :: :: Sent: Tuesday, June 08, 2004 11:23 AM
> :: :: Subject: RE: JSP source being shown (not being executed)
> :: ::
> :: ::
> :: :: Just a thought but, if you are running both Apache and Tomcat,
> Apache
> is
> :: :: probably picking up the .html extension and tries to display the
> content
> :: of
> :: :: the file which will result in it displaying the code.
> :: ::
> :: :: Kind Regards
> :: :: Schalk Neethling
> :: :: Web Developer.Designer.Programmer.President
> :: :: Volume4.Development.Multimedia.Branding
> :: :: emotionalize.conceptualize.visualize.realize
> :: :: Tel: +27125468436
> :: :: Fax: +27125468436
> :: :: email:schalk@volume4.co.za
> :: :: web: www.volume4.com
> :: ::
> :: :: This message contains information that is considered to be sensitive
> or
> :: :: confidential and may not be forwarded or disclosed to any other
> party
> :: :: without the permission of the sender. If you received this message
> in
> :: error,
> :: :: please notify me immediately so that I can correct and delete the
> :: original
> :: :: email. Thank you.
> :: ::
> :: :: :: -----Original Message-----
> :: :: :: From: Michael Mehrle [mailto:michael@datasaur.com]
> :: :: :: Sent: Tuesday, June 08, 2004 7:58 PM
> :: :: :: To: Tomcat Users List
> :: :: :: Subject: JSP source being shown (not being executed)
> :: :: ::
> :: :: :: For some reason my JSP source is being shown - it's not being
> compiled
> :: :: and
> :: :: :: executed. It might be worthwhile mentioning that I am mapping
> some
> :: :: servlet
> :: :: :: context as *.html, which redirects to this jsp - but it worked in
> :: another
> :: :: :: app of mine and inside my new app it doesn't work.
> :: :: ::
> :: :: :: I'm running Tomcat 5.0.26 btw.
> :: :: ::
> :: :: :: Any input would be welcome.
> :: :: ::
> :: :: :: Michael
> :: :: ::
> :: :: ::
> :: :: ::
> ---------------------------------------------------------------------
> :: :: :: To unsubscribe, e-mail: tomcat-user-
> unsubscribe@jakarta.apache.org
> :: :: :: For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> :: ::
> :: ::
> :: ::
> :: :: --------------------------------------------------------------------
> -
> :: :: To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> :: :: For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> :: ::
> :: ::
> :: :: --------------------------------------------------------------------
> -
> :: :: To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> :: :: For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> ::
> ::
> ::
> :: ---------------------------------------------------------------------
> :: To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> :: For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message