Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

recompiling jsp on jboss 4.0.5

 
Gaurav Jain newbie
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have installed a product on jboss 4.0.5
It contains a file index.jsp. For some customization, I need to update it. But it needs to recompile the jsp after modification.
I am not getting how to set recompilation option in jsp.

Thanks
Gaurav
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Gaurav Jain newbie"

Please click on the "My Private Messages" link on top of this page, for a message from JavaRanch.
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gaurav,

When you change a jsp in an exploded deployment in the server deploy folder, you don't have to do anything. The server will identify the change and recompile the jsp dynamically.

Are you deploying the application with pre-compile jsps?
 
Gaurav Jain newbie
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jai,

Thanks for your reply.
I have just installed the product and it gets deployed in JBOSS. I am not sure whether this is pre-compiled or not.

Thanks
Gaurav
Jaikiran Pai wrote:Gaurav,

When you change a jsp in an exploded deployment in the server deploy folder, you don't have to do anything. The server will identify the change and recompile the jsp dynamically.

Are you deploying the application with pre-compile jsps?
 
Gaurav Jain newbie
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jaikiran,

I am not getting what the problem in my display name as this is my real name.

Thanks
Gaurav
Jaikiran Pai wrote:"Gaurav Jain newbie"

Please click on the "My Private Messages" link on top of this page, for a message from JavaRanch.
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gaurav Jain newbie wrote:Hi Jaikiran,

I am not getting what the problem in my display name as this is my real name.

Thanks
Gaurav


I am sure "newbie" is not part of your real name
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gaurav Jain newbie wrote:Hi Jai,
I have just installed the product and it gets deployed in JBOSS. I am not sure whether this is pre-compiled or not.


Its not common to have precompiled jsps. So i guess you should be fine. As i mentioned earlier, you just have to deploy your application in exploded form and make changes to the jsps directly in the deployment. The changes will be picked up, the next time you access the jsp.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic