aspose file tools
The moose likes Servlets and the fly likes JAR which exposes javax.servlet and other packages. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "JAR which exposes javax.servlet and other packages." Watch "JAR which exposes javax.servlet and other packages." New topic
Author

JAR which exposes javax.servlet and other packages.

Claude Moore
Ranch Hand

Joined: Jun 24, 2005
Posts: 151
Hi there,

I want to write a simple Java library - I mean, a Java project which I want to make available via a JAR - that will be used in a Java EE context. My library needs javax.servlet.* packages. Is there a jar which exposes only javax.servlet.* interfaces ? Thanks.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19216

If you download Tomcat's binary ZIP file, it includes servlet-api.jar. That contains all you need. If you want to also develop for JSP then you'll also need jsp-api.jar that also available in the same ZIP file.


SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
Claude Moore
Ranch Hand

Joined: Jun 24, 2005
Posts: 151
Thank you, I'll try it.
Regards !
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19216

You're welcome
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: JAR which exposes javax.servlet and other packages.
 
Similar Threads
Mandatory Packages in JSP File
Can not compile, please help me
javax.servlet.http.*
jar file errors in EJB
NoClassDefFoundError when deploying application on weblogic 10.3.4