This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jspc

 
Shanmuga Raja
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is jspc and when it is used?

what does jspc -keepgenerated mean?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35279
384
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Shanmuga,
JSPC is an Ant task and shell script to precompile JSPs. If you don't use it, the first user to hit a page will have to wait for it to be compiled.

jspc -keepgenerated means that the generated java files (servlets) will be stored explicitly.
 
Shanmuga Raja
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot for your response Jeanne.

But when we deploy applications in weblogic or any other apps server we dont do it normally right? On what situations you go for precompiling jsps using this jspc.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35279
384
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Shanmuga,
I use WebSphere which offers a custom extension to the deployment descriptors to allow for precompilation. I don't use jspc explicitly, but I do precompile my JSPs.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic