Also compare the modified date of your file with the one your container has compiled.  
If your modified date is older than the one Tomcat is using, Tomcat will not recompile 
it -- assuming you're using Tomcat.  Not sure how other containers behave.  +1 on the 
delete idea.  That's usually what I do.

Greg

> -----Original Message-----
> From: James Mitchell [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 23, 2002 12:15 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Problem with simple welcome.jsp page
> 
> 
> I've had those same problems in the past.
> 
> Here's how I troubleshoot it.
> 
> 1. Browser
>  Make sure that the browser isn't caching the page.
>  Verify your settings, and if still in doubt, close the 
> browser and open
> a new one.
> 
> 2. Container
>  Is the container re-compiling the jsp?
>  Check the settings in the config files.
>  In Tomcat, you can also just delete the directories where they are
> compiled.
> 
> For me:
>  
>  $TOMCAT_HOME/work/Standalone/localhost/whatever-app
> 
> 
> That might not be the official way of doing it, but it works for me.
> 
> --
> James Mitchell
> Software Engineer/Open Source Evangelist
> http://www.open-tools.org
> 
> "C makes it easy to shoot yourself in the foot; C++ makes it 
> harder, but
> when you do, it blows away your whole leg." 
> - Bjarne Stroustrup
> 
> 
> > -----Original Message-----
> > From: Sterin, Ilya [mailto:[EMAIL PROTECTED]] 
> > Sent: Monday, December 23, 2002 12:21 PM
> > To: [EMAIL PROTECTED]
> > Subject: Problem with simple welcome.jsp page
> > 
> > 
> > I'm having a problem displaying the page.  I'm using the 
> > logon example from the "Struts in Action" book, but 
> > substituted the .jsp pages with my own versions.  Now, before 
> > I did the substitutions, it displayed the default welcome 
> > page, provided with example, when I substituted with my own and
> > **even** restarted the server, which is not needed of course, 
> > I continue getting the old version of the page, instead of 
> > the new one?
> > 
> > Does anyone know why this is happening?  I know I'm working 
> > with the right file, because if I delete Wecome.jsp, I get an 
> > error that the page is not found.
> > 
> > Please, please help:-)
> > 
> > Thanks.
> > 
> > Ilya
> > 
> > --
> > To unsubscribe, e-mail:   
> > <mailto:struts-user-> [EMAIL PROTECTED]>
> > For 
> > additional commands, 
> > e-mail: <mailto:[EMAIL PROTECTED]>
> > 
> > 
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to