J2EE server with JSP
In J2EE server we need to add a web component to include our jsp file . But evertime JSP file is changed the new file is to be added to the web component . The aplication is undeployed and then deployed again
Is there any other way that modified JSP file cane used without undeploying and deploying the application
[341 byte] By [
msyal] at [2007-9-26 3:21:51]

Well, that was a problem for me too while i'm debuggin.
As long as it takes too much time for the deployment,
i decided to manipulate my JSPs and HTMLs within
the servers (local) repository.
But you have to track the changes in to the original sources later. Furthermore some (all?) server restore
those files from the WAR-file after restart.
Hope this helps,
Martin
smarto at 2007-6-29 11:39:03 >

When the WAR file is deployed, the server unjars it and stores the files in expanded form. Then you can even remove the original war file. You can copy new versions of your JSP file directly onto its unjar'ed version that the server placed it. Usually servers will detect the new version automatically when the JSP is accessed and recompiles the JSP. So you don't have to redeploy the app or restart the server.
yilin at 2007-6-29 11:39:03 >
