Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Refreshing JSP page

 
Nicola Zuliani
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic