File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Refreshing JSP page" Watch "Refreshing JSP page" New topic

Refreshing JSP page

Nicola Zuliani

Joined: Feb 26, 2004
Posts: 4
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
Gayatri Keshkamat

Joined: Feb 25, 2004
Posts: 4
Hi ,
You can restart Tomcat or just reload the context application using :
Have a great Day!!!
Nicola Zuliani

Joined: Feb 26, 2004
Posts: 4
Thanks a lot!
I agree. Here's the link:
subject: Refreshing JSP page
It's not a secret anymore!