aspose file tools*
The moose likes JSP and the fly likes How To Compile JSP at Runtime Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "How To Compile JSP at Runtime" Watch "How To Compile JSP at Runtime" New topic

How To Compile JSP at Runtime

Alan Hermin
Ranch Hand

Joined: Feb 16, 2006
Posts: 290
hi all...
if i got a jsp file and want to compile it at run time can i do this?

Ben Souther

Joined: Dec 11, 2004
Posts: 13410

This is done automatically when someone requests that resource.

Did you mean at deploy time?
If so, it depends on the container you're using.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: How To Compile JSP at Runtime