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:[EMAIL PROTECTED] > 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:[EMAIL PROTECTED] > 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:[EMAIL PROTECTED] > :: 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:[EMAIL PROTECTED] > :: 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:[EMAIL PROTECTED] > :: :: 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" <[EMAIL PROTECTED]> > :: :: To: "'Tomcat Users List'" <[EMAIL PROTECTED]> > :: :: 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:[EMAIL PROTECTED] > :: :: 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:[EMAIL PROTECTED] > :: :: :: 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- > [EMAIL PROTECTED] > :: :: :: For additional commands, e-mail: > [EMAIL PROTECTED] > :: :: > :: :: > :: :: > :: :: -------------------------------------------------------------------- > - > :: :: To unsubscribe, e-mail: [EMAIL PROTECTED] > :: :: For additional commands, e-mail: [EMAIL PROTECTED] > :: :: > :: :: > :: :: -------------------------------------------------------------------- > - > :: :: To unsubscribe, e-mail: [EMAIL PROTECTED] > :: :: For additional commands, e-mail: [EMAIL PROTECTED] > :: > :: > :: > :: --------------------------------------------------------------------- > :: To unsubscribe, e-mail: [EMAIL PROTECTED] > :: For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
