This discussion is archived
2 Replies Latest reply: Jul 30, 2012 8:04 PM by 952821 RSS

Modify JSP w/out Rebuilding

952821 Newbie
Currently Being Moderated
I am new to web logic so please forgive this trivial question.
How do you modify jsps without doing a new build. For example in Tomcat I can go to the webapps folder with the unpacked war locate the jsp I want to modify and make my change. A restarting of the application does not need to occur. I then can see that change reflected by refreshing the page.
Can I do something similar within web logic?

Thank you
  • 1. Re: Modify JSP w/out Rebuilding
    804328 Newbie
    Currently Being Moderated
    Yes,it is possible to modify jsp's without having to rebuild or redeploy your entire application or web module.

    Please refer to the below link for additional information:-

    http://docs.oracle.com/cd/E11035_01/wls100/deployment/redeploy.html

    http://docs.oracle.com/cd/E11035_01/wls100/deployment/autodeploy.html

    Apart from jsp's and static files,if you are looking at modifying the class files,then you have another feature in weblogic that you could make use of.
    This feature is called as Fast Swap which removes the restriction of Dynamic Class Redefinition (DCR) which was introduced in jdk-1.5 and the modification can be done not just the jsp files but also for class files.

    Please refer to the link below for more details:-

    https://blogs.oracle.com/WebLogicServer/entry/using_fastswap_to_speed_up_dev

    Note:-It is not recommended that you make use of these feature in the production environment.

    -Sandeep
  • 2. Re: Modify JSP w/out Rebuilding
    952821 Newbie
    Currently Being Moderated
    Thank you.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points