aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Refreshing JSP page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Refreshing JSP page" Watch "Refreshing JSP page" New topic
Author

Refreshing JSP page

Nicola Zuliani
Greenhorn

Joined: Feb 26, 2004
Posts: 4
Hi,
this is my simple problem:
I have a JSP page and a JAVA bean where I put my own class.
All works fine, but if I change something into the class and I compile it, the result in the JSP page doesn't change.
It seems doesn't refresh the compiled class file, but the date of its last modify is right.
I'm using Apache Tomcat 5.0 and JDK j2sdkee1.2.1.
Can anyone helps me?
:shocked: :shocked: :shocked:
Bikramjit Singh Bajwa
Ranch Hand

Joined: Nov 23, 2003
Posts: 39
Oh man,
When you change any java code. i mean if any changes happen in your class file. Then u must restart your tomcat server. Go ahead and restart Server.
Chakk de
Bikram
Gayatri Keshkamat
Greenhorn

Joined: Feb 25, 2004
Posts: 4
Hi ,
You can restart Tomcat or just reload the context application using :
http:\\localhost:8080\manager\reload?path=/yourAplicationName
Have a great Day!!!
-Gayatri
Nicola Zuliani
Greenhorn

Joined: Feb 26, 2004
Posts: 4
Thanks a lot!
 
jQuery in Action, 2nd edition
 
subject: Refreshing JSP page