You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mayuresh Kshirsagar <ma...@persistent.co.in> on 2004/12/03 09:11:10 UTC

JSP pages not refreshing

Hi Folks,

I am on windows. have apache, tomcat and java. I have a test website up and
running on my test machines.

I have changed the contents on of the pages. they dont sem to be reflecting
the changes. On Unix, we have a touch on these jsps, which solves the
problem.

How can we do it on windows, so that all the pages are refreshed and fresh
pages are seen.

Thanks in advance.

Regards,
Mayuresh.



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


Re: JSP pages not refreshing

Posted by Ben Souther <bs...@fwdco.com>.
> Any pointers?

Yep, Check the dates on the machines involved.


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


Re: JSP pages not refreshing

Posted by Mayuresh Kshirsagar <ma...@persistent.co.in>.
Hi Ben,

No I have replicated a website onto my test machines. All the pages are JSPs
and involve servlets. When I do a modification to them. They are not
reflected readily.

Any pointers?

Thanks,
Mayuresh.

----- Original Message ----- 
From: "Ben Souther" <bs...@fwdco.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Friday, December 03, 2004 6:38 PM
Subject: Re: JSP pages not refreshing


> > I am on windows. have apache, tomcat and java. I have a test website up
and
> > running on my test machines.
> This is an app that you built?
> You didn't just modify the contents of the sample apps shipped with
> Tomcat did you?
>
>
> > I have changed the contents on of the pages. they dont sem to be
reflecting
> > the changes. On Unix, we have a touch on these jsps, which solves the
> > problem.
> >
> > How can we do it on windows, so that all the pages are refreshed and
fresh
> > pages are seen.
> You shouldn't need to do anything.
>
> Check the dates on the machines you are working with. If the new version
> of the file has an earlier date than the existing one, tomcat will not
> recompile the JSP.
>
>
> ---------------------------------------------------------------------
> 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


Re: JSP pages not refreshing

Posted by Ben Souther <bs...@fwdco.com>.
> I am on windows. have apache, tomcat and java. I have a test website up and
> running on my test machines.
This is an app that you built?
You didn't just modify the contents of the sample apps shipped with
Tomcat did you?


> I have changed the contents on of the pages. they dont sem to be reflecting
> the changes. On Unix, we have a touch on these jsps, which solves the
> problem.
> 
> How can we do it on windows, so that all the pages are refreshed and fresh
> pages are seen.
You shouldn't need to do anything.  

Check the dates on the machines you are working with. If the new version
of the file has an earlier date than the existing one, tomcat will not
recompile the JSP.


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


Re: JSP pages not refreshing

Posted by David Stevenson <ds...@rochester.rr.com>.
The equivalent of touch on Windows:
1. Open JSP page.
2. Add space. Remove space.
3. Press Save.

David Stevenson
On Fri, 2004-12-03 at 03:11, Mayuresh Kshirsagar wrote:
> Hi Folks,
> 
> I am on windows. have apache, tomcat and java. I have a test website up and
> running on my test machines.
> 
> I have changed the contents on of the pages. they dont sem to be reflecting
> the changes. On Unix, we have a touch on these jsps, which solves the
> problem.
> 
> How can we do it on windows, so that all the pages are refreshed and fresh
> pages are seen.



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


Re: JSP pages not refreshing

Posted by Mayuresh Kshirsagar <ma...@persistent.co.in>.
One more solution I found was to delete the TOMCAT_HOME\works\* and restart
tomcat and apache.

any more solutions to this ?

----- Original Message ----- 
From: "vishal nalwa" <vi...@yahoo.co.in>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Friday, December 03, 2004 2:59 PM
Subject: Re: JSP pages not refreshing


> Hi ,
>
> Follow these points
>
> -Goto tomcat5.5/conf/ folder
> -open the web.xml
> -Find out the JSP servlet
> which will look like
>
>   <servlet>
>         <servlet-name>jsp</servlet-name>
>
> <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
>         <init-param>
>             <param-name>fork</param-name>
>             <param-value>false</param-value>
>         </init-param>
>         <init-param>
>             <param-name>xpoweredBy</param-name>
>             <param-value>false</param-value>
>         </init-param>
>        <load-on-startup>3</load-on-startup>
>     </servlet>
>
> --------------------
> now modify it to
> --------------------
>   <servlet>
>         <servlet-name>jsp</servlet-name>
>
> <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
>         <init-param>
>             <param-name>fork</param-name>
>             <param-value>false</param-value>
>         </init-param>
>         <init-param>
>             <param-name>xpoweredBy</param-name>
>             <param-value>false</param-value>
>         </init-param>
>         <init-param>
>             <param-name>reloading</param-name>
>             <param-value>true</param-value>
>         </init-param>
> <load-on-startup>3</load-on-startup>
>     </servlet>
>
>
>
> It will surely solve your problem
>
>
> Regards,
> Vishal
>
>
> ________________________________________________________________________
> Yahoo! India Matrimony: Find your life partner online
> Go to: http://yahoo.shaadi.com/india-matrimony
>
> ---------------------------------------------------------------------
> 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


Re: JSP pages not refreshing

Posted by vishal nalwa <vi...@yahoo.co.in>.
Hi ,

Follow these points

-Goto tomcat5.5/conf/ folder
-open the web.xml
-Find out the JSP servlet
which will look like

  <servlet>
        <servlet-name>jsp</servlet-name>
       
<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
        <init-param>
            <param-name>fork</param-name>
            <param-value>false</param-value>
        </init-param>
        <init-param>
            <param-name>xpoweredBy</param-name>
            <param-value>false</param-value>
        </init-param>
       <load-on-startup>3</load-on-startup>
    </servlet>

--------------------
now modify it to
--------------------
  <servlet>
        <servlet-name>jsp</servlet-name>
       
<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
        <init-param>
            <param-name>fork</param-name>
            <param-value>false</param-value>
        </init-param>
        <init-param>
            <param-name>xpoweredBy</param-name>
            <param-value>false</param-value>
        </init-param>
        <init-param>
            <param-name>reloading</param-name>
            <param-value>true</param-value>
        </init-param>
		<load-on-startup>3</load-on-startup>
    </servlet>



It will surely solve your problem


Regards,
Vishal
 

________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony

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