• Post Reply Bookmark Topic Watch Topic
  • New Topic

Compiling a JSP  RSS feed

 
Doyle Matt
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a way to manually translate and compile a JSP w/o letting the web container do it for you?
 
Julien Martin
Ranch Hand
Posts: 384
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes one can precompile one's jsp. Here is a sample fragment from ant:

It's called the jspc task.

You have to make sure it is available in your project and change the attributes accordingly.

Go there:
-http://ant.apache.org/manual/index.html
-then ant tasks
-then optional tasks
-then jspc

Give it a run and post your code if it does not work. I 'll have a look at it.

Good luck,

Julien.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!