• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

javax.servlet package with struts.

 
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
where am i to download servlet and JSP API's from. How to include them in struts.
to compile the Action sub-class you need struts-core.jar, which comes with struts, and javax.servlet package. Where can i get that package. Does it come with Tomcat?
 
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

You can find the servlet-api.jar in the Tomcat installtion. It will be at D:\Tomcat 5.0\common\lib\servlet-api.jar along with the ohter jars.
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The generally accepted best practice is to get these classes from a jar file provided by the application server to which you are deploying the application. If you're deploying to Tomcat, use Tomcat's jar file. If you're deploying to WebSphere, use WebSphere's jar file. This way you are assured that the version of the classes matches the one being used by your app server.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic