Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

can we compile a JSP outside a container?  RSS feed

 
Loveleen Saroya
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can we compile a JSP outside a container? if yes from where it will get aplication n config objects, if no then whats jspc comand do?
thanks in advance
Loveleen
 
Zip Ped
Ranch Hand
Posts: 336
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, you can compile the JSPs into java source without the container. More description about compilation and jspc commandhere.

The JSP is just a java object till it become a servlet(created by the container) and once it becomes a servlet, it automatically gets references to the JSP implicit objects.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!