• Post Reply Bookmark Topic Watch Topic
  • New Topic

Issues with recompiling javabeans and servlets

 
Simon Harvey
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,
I have a very simple question regarding recompilation and changes to code.
I have been having a lot of confusing problems regarding javabeans and jsp pages. A lot of the time the javabeans don't work, sometimes they do. For example, if I delete the class files and restart tomcat, then they work - ONCE.
Do you have to restart tomcat when:
1. You change a JSP page
2. You recomiple a javabean or helper class
3. When you make a change to a servlet
Does anyone have any information on where i can find out about these rules - when to restart and the effects of recompilation. I know many of you will be able to advise me on the rules but I was hoping to have an official copy of the rules so that i can understand them a bit better
Thanks guys
Take care
Simon
 
Ron Newman
Ranch Hand
Posts: 1056
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In your server.xml file, do you have a reloadable="true" attribute on the DefaultContext and on any Context that you have added?
 
Simon Harvey
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ron,
Yeah I do, which is adding even more to my poor little brains problems. Can you tell me what I should expect to happen with regards to the questions I asked in my OP.
Thanks Ron
Simon
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!