wood burning stoves 2.0*
The moose likes JBoss/WildFly and the fly likes recompiling jsp on jboss 4.0.5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "recompiling jsp on jboss 4.0.5" Watch "recompiling jsp on jboss 4.0.5" New topic
Author

recompiling jsp on jboss 4.0.5

Gaurav Jain newbie
Greenhorn

Joined: Jun 23, 2009
Posts: 9
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

Joined: Jul 20, 2005
Posts: 9930
    
159

"Gaurav Jain newbie"

Please click on the "My Private Messages" link on top of this page, for a message from JavaRanch.


[My Blog] [JavaRanch Journal]
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9930
    
159

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

Joined: Jun 23, 2009
Posts: 9
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

Joined: Jun 23, 2009
Posts: 9
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

Joined: Jul 20, 2005
Posts: 9930
    
159

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

Joined: Jul 20, 2005
Posts: 9930
    
159

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: recompiling jsp on jboss 4.0.5
 
Similar Threads
JSF drop down change using javascript and ajax
Apache/Jboss via mod_jk loadbalancing/failover not seeing other node in cluster and mcast_addr wrong
https in Jboss 5.0.1
Jboss windows service
Problem in setting up JBoss with eclipse for EJB3.0