Skip to content
Browse files

Initial checkin

  • Loading branch information...
0 parents commit cdaf7428b5acf855a5c2e30a5ade1fdbf087ee13 ckaminsk committed Jun 15, 2012
35 pom.xml
@@ -0,0 +1,35 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>com.darthcoder</groupId>
+ <artifactId>jmsTestServlet</artifactId>
+ <packaging>war</packaging>
+ <version>0.0.1-SNAPSHOT</version>
+ <name>jmsTestServlet Maven Webapp</name>
+ <url>http://maven.apache.org</url>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ <version>3.0.1</version>
+ <type>jar</type>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet.jsp</groupId>
+ <artifactId>jsp-api</artifactId>
+ <version>2.2.1-b03</version>
+ <type>jar</type>
+ <scope>compile</scope>
+ </dependency>
+ </dependencies>
+ <build>
+ <finalName>jmsTestServlet</finalName>
+ </build>
+</project>
8 src/main/java/com/darthcoder/JMSTestServlet/MainServlet.java
@@ -0,0 +1,8 @@
+package com.darthcoder.JMSTestServlet;
+
+import javax.servlet.http.*;
+
+@SuppressWarnings("serial")
+public class MainServlet extends HttpServlet {
+
+}
17 src/main/webapp/WEB-INF/web.xml
@@ -0,0 +1,17 @@
+<!DOCTYPE web-app PUBLIC
+ "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+ "http://java.sun.com/dtd/web-app_2_3.dtd" >
+
+<web-app>
+ <display-name>JMS Test Applet</display-name>
+ <servlet>
+ <servlet-name>JMS Test Applet</servlet-name>
+ <servlet-class>com.darthcoder.JMSTestServlet.MainServlet</servlet-class>
+ <load-on-startup>1</load-on-startup>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>JMS Test Applet</servlet-name>
+ <url-pattern>/jmsops</url-pattern>
+ </servlet-mapping>
+</web-app>
5 src/main/webapp/index.jsp
@@ -0,0 +1,5 @@
+<html>
+<body>
+<h2>Hello World!</h2>
+</body>
+</html>

0 comments on commit cdaf742

Please sign in to comment.
Something went wrong with that request. Please try again.