• Post Reply Bookmark Topic Watch Topic
  • New Topic

should we put the JSPAPI.jar in classpath or servletapi.jar enough??

 
J radolf
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anyone answer? the questions seems easy but i dont know about it.

please anyone with ideas?
 
Saifuddin Merchant
Ranch Hand
Posts: 607
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I never ever put the JSPAPI.jar in the classpath. In fact I never knew that there was a JSPAPI.jar file ...
Compiling the JSP is the responsibility of the container/web server not mine
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you using the JSP classes? They're not needed for developing servlets, only for developing tag libraries.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65516
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The JSP API is necessary for accessing classes like PageContext and other tag-related classes.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!