permaculture playing cards*
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 Android Security Essentials Live Lessons this week in the Android 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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Refreshing JSP page
 
Similar Threads
calling java files from jsp page
jsp page can't find the applet
Problem with jsp:setAttribute tag
how to update java.util.Calendar in jsp?
Tomcat Server problems