Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 197
  • Last Modified:

Modify JSP page without having to restart the application server.

Hello,

I'm wondering if there's a way I could configure Tomcat so that I could modify JSP page without having to restart the application server.

Thanks for the help.
0
rnicholus
Asked:
rnicholus
  • 3
  • 2
1 Solution
 
TimYatesCommented:
It should do it by default...

There is the "reloadable" flag in the application context (META-INF/context.xml or conf/server.xml) but that should just make it reload when you change the compiled classes or libraries...

Tim
0
 
JavatmCommented:
> I'm wondering if there's a way I could configure Tomcat so that I could modify JSP page without having to restart the application server.

If you modify your jsp file you dont need to restart tomcat cause by default it will just compile a new one once you refresh the jsp page ;)
0
 
TimYatesCommented:
As I said,

    "It should do it by default..."

Tim
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
JavatmCommented:
> As I said,

Just elaborating :D
0
 
rnicholusAuthor Commented:
Thanks guys.

I'm quite sure that a few timew I see my old page showing up instead of new one when I develop my JSP. There could be something wrong with my code or I forgot to refresh the page.
0
 
TimYatesCommented:
It may be a browser caching issue...

Try holding CTRL when you click refresh in the browser

Tim
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now