Registry / web-framework / javax-servlet

javax-servlet

JSON →
library3.0.0.v201112011016javamavenunverified

OSGi bundle of javax.servlet from the Eclipse Orbit project.

<dependency> <groupId>org.eclipse.jetty.orbit</groupId> <artifactId>javax.servlet</artifactId> <version>3.0.0.v201112011016</version> </dependency>
INSTALL
IMPORT
SIG · JAVAX-SERVLET
J
javax-servlet
web-frameworkjavav3.0.0.v201112011016
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

HttpServlet
javax.servlet.http.HttpServlet

Create a simple HTTP servlet using javax.servlet.

import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; public class MyServlet extends HttpServlet { protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException { resp.getWriter().write("Hello World"); } }
Debug
Known issues
gotchaThis artifact is an OSGi bundle; may not work in non-OSGi environments without proper setup.
fix
Use standard javax.servlet-api from Maven Central for non-OSGi projects.
affects: all
Upgrade
Version history
3.0.0.v201112011016latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
Resources
javax-servlet — mvn dependency:get javax-servlet · libregistry