Author: thomas.diesler(a)jboss.com
Date: 2008-07-29 17:15:14 -0400 (Tue, 29 Jul 2008)
New Revision: 1757
Added:
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/samples/
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/samples/airticket/
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/samples/airticket/client/
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/samples/airticket/client/Application.java
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/samples/airticket/client/SampleImageBundle.java
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/Application.gwt.xml
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/public/
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/public/Application.html
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/public/images/
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/public/styles/
Removed:
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/com/
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/samples/airticket/client/Application.java
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/samples/airticket/client/SampleImageBundle.java
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/com/
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/public/Application.html
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/public/images/
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/public/styles/
jbossbpm/spec/trunk/modules/samples/airticket/war/src/site/
jbossbpm/spec/trunk/modules/samples/airticket/war/src/test/
Modified:
jbossbpm/spec/trunk/modules/samples/airticket/war/
jbossbpm/spec/trunk/modules/samples/airticket/war/pom.xml
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/webapp/WEB-INF/web.xml
Log:
Change gwt sample package
Property changes on: jbossbpm/spec/trunk/modules/samples/airticket/war
___________________________________________________________________
Name: svn:ignore
- target
+ target
.gwt-cache
Modified: jbossbpm/spec/trunk/modules/samples/airticket/war/pom.xml
===================================================================
--- jbossbpm/spec/trunk/modules/samples/airticket/war/pom.xml 2008-07-29 20:56:49 UTC (rev
1756)
+++ jbossbpm/spec/trunk/modules/samples/airticket/war/pom.xml 2008-07-29 21:15:14 UTC (rev
1757)
@@ -35,13 +35,15 @@
<!-- <gwtVersion>1.4.61</gwtVersion> -->
<logLevel>INFO</logLevel>
<compileTargets>
- <value> com.totsp.mavenplugin.gwt.sample.Application</value>
+ <value>org.jboss.bpm.samples.airticket.Application
+ </value>
</compileTargets>
- <runTarget>
com.totsp.mavenplugin.gwt.sample.Application/Application.html</runTarget>
+ <runTarget>org.jboss.bpm.samples.airticket.Application/Application.html
+ </runTarget>
<generatorRootClasses>
- <value> com.totsp.mavenplugin.gwt.sample.Application</value>
+ <value>org.jboss.bpm.samples.airticket.Application</value>
</generatorRootClasses>
- <overwriteGeneratedClasses> true</overwriteGeneratedClasses>
+ <overwriteGeneratedClasses>true</overwriteGeneratedClasses>
<!-- use style OBF for prod -->
<style>DETAILED</style>
<generateGettersAndSetters> true</generateGettersAndSetters>
@@ -74,67 +76,9 @@
<webXml>target/web.xml</webXml>
</configuration>
</plugin>
- <plugin>
- <!-- use AntRun to do the Emma report (GWT emits coverage data files on it's
own) -->
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <!--
- <execution> <id>emma-coverage-report</id>
<phase>pre-site</phase> <configuration> <tasks> <taskdef
- resource="emma_ant.properties"
classpathref="maven.plugin.classpath" /> <emma
enabled="true"> <report>
- <infileset dir="${project.build.directory}" includes="*.em,
*.ec" /> <html
- outfile="${project.build.directory}/coverage/coverage.html"
depth="method"
- columns="name,class,method,block,line" /> </report>
</emma> <copy todir="${project.build.directory}/site/">
- <fileset dir="${project.build.directory}/coverage" />
</copy> </tasks> </configuration> <goals>
- <goal>run</goal> </goals> </execution>
- -->
- </executions>
- <dependencies>
- <dependency>
- <groupId>emma</groupId>
- <artifactId>emma</artifactId>
- <version>2.0.5312</version>
- </dependency>
- <dependency>
- <groupId>emma</groupId>
- <artifactId>emma_ant</artifactId>
- <version>2.0.5312</version>
- </dependency>
- </dependencies>
- </plugin>
</plugins>
</build>
- <!-- standard Maven reporting done here -->
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId> maven-project-info-reports-plugin</artifactId>
- <reportSets>
- <reportSet>
- <reports>
- <report>dependencies</report>
- </reports>
- </reportSet>
- </reportSets>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-report-plugin</artifactId>
- <!--
- the Maven Surefire Report plugin has a bug where it re-runs the tests, this is
needed to avoid that -
-
http://jira.codehaus.org/browse/SUREFIRE-257
- -->
- <reportSets>
- <reportSet>
- <reports>
- <report>report-only</report>
- </reports>
- </reportSet>
- </reportSets>
- </plugin>
- </plugins>
- </reporting>
<dependencies>
<dependency>
<groupId>com.google.gwt</groupId>
Copied:
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/samples/airticket/client
(from rev 1754,
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/com/totsp/mavenplugin/gwt/sample/client)
Deleted:
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/samples/airticket/client/Application.java
===================================================================
---
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/com/totsp/mavenplugin/gwt/sample/client/Application.java 2008-07-29
19:26:17 UTC (rev 1754)
+++
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/samples/airticket/client/Application.java 2008-07-29
21:15:14 UTC (rev 1757)
@@ -1,96 +0,0 @@
-package com.totsp.mavenplugin.gwt.sample.client;
-
-import com.google.gwt.core.client.EntryPoint;
-import com.google.gwt.core.client.GWT;
-import com.google.gwt.user.client.rpc.AsyncCallback;
-import com.google.gwt.user.client.rpc.ServiceDefTarget;
-import com.google.gwt.user.client.ui.Button;
-import com.google.gwt.user.client.ui.ClickListener;
-import com.google.gwt.user.client.ui.Image;
-import com.google.gwt.user.client.ui.Label;
-import com.google.gwt.user.client.ui.RootPanel;
-import com.google.gwt.user.client.ui.Widget;
-import com.totsp.mavenplugin.gwt.sample.client.SampleRemoteService;
-import com.totsp.mavenplugin.gwt.sample.client.SampleRemoteServiceAsync;
-
-/**
- * Entry point classes define <code>onModuleLoad()</code>.
- */
-public class Application implements EntryPoint {
-
- /**
- * This is the entry point method.
- */
- public void onModuleLoad() {
-
- //example of image bundle
- final SampleImageBundle sampleImageBundle = (SampleImageBundle)
GWT.create(SampleImageBundle.class);
- final Image gwtLogoImage = sampleImageBundle.getGWTLogo().createImage();
- gwtLogoImage.setTitle("This image was delivered via automatic resource inclusion
and the ImageBundle feature");
-
-
- final Button button = new Button("Run GWT Async RPC!");
- //example of css inclusion and use
- button.setStyleName("gwtMavenButton");
-
- final Label label = new Label();
-
- button.setTitle("This will execute the RPC call to the Java v1.5 GWT
server");
-
- button.addClickListener(new ClickListener() {
- public void onClick(Widget sender) {
-
- // (1) Create the client proxy. Note that although you are
- // creating the
- // service interface proper, you cast the result to the
- // asynchronous
- // version of
- // the interface. The cast is always safe because the generated
- // proxy
- // implements the asynchronous interface automatically.
- SampleRemoteServiceAsync sampleRemoteService = (SampleRemoteServiceAsync) GWT
- .create(SampleRemoteService.class);
-
- // (2) Specify the URL at which our service implementation is
- // running.
- // Note that the target URL must reside on the same domain and
- // port from
- // which the host page was served.
- ServiceDefTarget endpoint = (ServiceDefTarget) sampleRemoteService;
-
- String moduleRelativeURL = GWT.getModuleBaseURL()
- + "sampleRemoteService";
- endpoint.setServiceEntryPoint(moduleRelativeURL);
-
- // (3) Create an asynchronous callback to handle the result.
- AsyncCallback callback = new AsyncCallback() {
- public void onSuccess(Object result) {
- // do some UI stuff to show success
- label.setText((String) result);
- }
-
- public void onFailure(Throwable caught) {
- // do some UI stuff to show failure
- label.setText("DAMMIT! This didnt work.");
- }
- };
-
- // (4) Make the call. Control flow will continue immediately and
- // later
- // 'callback' will be invoked when the RPC completes.
- sampleRemoteService.doComplimentMe(callback);
-
- }
- });
-
- // Assume that the host HTML has elements defined whose
- // IDs are "slot1", "slot2". In a real app, you probably would not
want
- // 4532
- // to hard-code IDs. Instead, you could, for example, search for all
- // elements with a particular CSS class and replace them with widgets.
- //
- RootPanel.get("gwtLogo").add(gwtLogoImage);
- RootPanel.get("rpcButton").add(button);
- RootPanel.get("rpcResponse").add(label);
- }
-}
Copied:
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/samples/airticket/client/Application.java
(from rev 1756,
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/com/totsp/mavenplugin/gwt/sample/client/Application.java)
===================================================================
---
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/samples/airticket/client/Application.java
(rev 0)
+++
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/samples/airticket/client/Application.java 2008-07-29
21:15:14 UTC (rev 1757)
@@ -0,0 +1,48 @@
+package org.jboss.bpm.samples.airticket.client;
+
+import org.jboss.bpm.samples.airticket.client.SampleImageBundle;
+
+import com.google.gwt.core.client.EntryPoint;
+import com.google.gwt.core.client.GWT;
+import com.google.gwt.user.client.ui.Button;
+import com.google.gwt.user.client.ui.ClickListener;
+import com.google.gwt.user.client.ui.Image;
+import com.google.gwt.user.client.ui.Label;
+import com.google.gwt.user.client.ui.RootPanel;
+import com.google.gwt.user.client.ui.Widget;
+
+/**
+ * Entry point classes define <code>onModuleLoad()</code>.
+ */
+public class Application implements EntryPoint
+{
+ /**
+ * This is the entry point method.
+ */
+ public void onModuleLoad()
+ {
+ // image bundle
+ final SampleImageBundle sampleImageBundle =
(SampleImageBundle)GWT.create(SampleImageBundle.class);
+ final Image gwtLogoImage = sampleImageBundle.getGWTLogo().createImage();
+ final Button button = new Button("Submit");
+ final Label label = new Label();
+
+ // css inclusion and use
+ button.setStyleName("gwtMavenButton");
+
+ button.addClickListener(new ClickListener()
+ {
+ public void onClick(Widget sender)
+ {
+ if (label.getText().equals(""))
+ label.setText("Hello World");
+ else
+ label.setText("");
+ }
+ });
+
+ RootPanel.get("gwtLogo").add(gwtLogoImage);
+ RootPanel.get("rpcButton").add(button);
+ RootPanel.get("rpcResponse").add(label);
+ }
+}
Deleted:
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/samples/airticket/client/SampleImageBundle.java
===================================================================
---
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/com/totsp/mavenplugin/gwt/sample/client/SampleImageBundle.java 2008-07-29
19:26:17 UTC (rev 1754)
+++
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/samples/airticket/client/SampleImageBundle.java 2008-07-29
21:15:14 UTC (rev 1757)
@@ -1,17 +0,0 @@
-package com.totsp.mavenplugin.gwt.sample.client;
-
-import com.google.gwt.user.client.ui.AbstractImagePrototype;
-import com.google.gwt.user.client.ui.ImageBundle;
-
-/**
- * This is a sample how to use image bundles in your gwt-maven project.
- * @author Andrew
- */
-public interface SampleImageBundle extends ImageBundle {
-
- /**
- * @gwt.resource com/totsp/mavenplugin/gwt/sample/public/images/gwt-logo.png
- */
- public AbstractImagePrototype getGWTLogo();
-
-}
Copied:
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/samples/airticket/client/SampleImageBundle.java
(from rev 1756,
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/com/totsp/mavenplugin/gwt/sample/client/SampleImageBundle.java)
===================================================================
---
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/samples/airticket/client/SampleImageBundle.java
(rev 0)
+++
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/samples/airticket/client/SampleImageBundle.java 2008-07-29
21:15:14 UTC (rev 1757)
@@ -0,0 +1,17 @@
+package org.jboss.bpm.samples.airticket.client;
+
+import com.google.gwt.user.client.ui.AbstractImagePrototype;
+import com.google.gwt.user.client.ui.ImageBundle;
+
+/**
+ * This is a sample how to use image bundles in your gwt-maven project.
+ * @author Andrew
+ */
+public interface SampleImageBundle extends ImageBundle {
+
+ /**
+ * @gwt.resource org/jboss/bpm/samples/airticket/public/images/gwt-logo.png
+ */
+ public AbstractImagePrototype getGWTLogo();
+
+}
Copied:
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/Application.gwt.xml
(from rev 1756,
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/com/totsp/mavenplugin/gwt/sample/Application.gwt.xml)
===================================================================
---
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/Application.gwt.xml
(rev 0)
+++
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/Application.gwt.xml 2008-07-29
21:15:14 UTC (rev 1757)
@@ -0,0 +1,11 @@
+<module>
+
+ <!-- Inherit the core Web Toolkit stuff. -->
+ <inherits name='com.google.gwt.user.User' />
+
+ <!-- Specify the app entry point class. -->
+ <entry-point class='org.jboss.bpm.samples.airticket.client.Application'
/>
+
+ <!-- Specify a css to load into your gwt application -->
+ <stylesheet src='styles/sample.css' />
+</module>
\ No newline at end of file
Copied:
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/public
(from rev 1754,
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/com/totsp/mavenplugin/gwt/sample/public)
Deleted:
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/public/Application.html
===================================================================
---
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/com/totsp/mavenplugin/gwt/sample/public/Application.html 2008-07-29
19:26:17 UTC (rev 1754)
+++
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/public/Application.html 2008-07-29
21:15:14 UTC (rev 1757)
@@ -1,79 +0,0 @@
-<html>
- <head>
- <title>maven-googlewebtoolkit2-sample</title>
- <style>
- html,body{
- font-family:arial,sans-serif;
- height: 100%;
- width: 800px;
- align: center;
- overflow: hidden;
- }
- </style>
-<!-- -->
-<!-- This script loads your compiled module. -->
-<!-- If you add any GWT meta tags, they must -->
-<!-- be added before this line. -->
-<!-- -->
-<script language='javascript'
- src='com.totsp.mavenplugin.gwt.sample.Application.nocache.js'></script>
-</head>
-
-<!-- -->
-<!-- The body can have arbitrary html, or -->
-<!-- you can leave the body empty if you want -->
-<!-- to create a completely dynamic ui -->
-<!-- -->
-<body>
-
-<!-- OPTIONAL: include this if you want history support -->
-<iframe src="javascript:''" id="__gwt_historyFrame"
- style="width: 0; height: 0; border: 0"></iframe>
-<table align=center>
- <tr align="center">
- <td>
- <h1>Welcome to the maven-googlewebtoolkit2-sample</h1>
- <table>
- <tr>
- <td>
- <p>This is a <i>simple</i> gwt-maven example project, based on
GWT v1.4.6x and maven v2.0.9+.</p>
-
- Inside this example you will find a...
- <ul>
- <li>Maven Multi-Module project</li>
- <li>GWT client that makes an RPC/AJAX call to a Java1.5 GWT
server</li>
- <li>Automatic Resource Inclusion (css)</li>
- <li>Automatic Resource Inclusion (images via an ImageBundle)</li>
- </ul>
-
- Maven Modules Explained:
- <ul>
- <li>parent: this is the root/parent of the project</li>
- <li>war: this is the client GWT code</li>
- <li>rpc: this is an interface to a GWT server (not an
- implementation)</li>
- <li>server: is the implementation of the rpc interface (in
- Java1.5+)</li>
- <li>Look inside the pom.xml's for more comments and docs</li>
- </ul>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr align="center">
- <td>The Demo is Below<hr/></td>
- </tr>
- <!-- Below is where the gwt widgets are injected -->
- <tr align="center">
- <td id="gwtLogo"></td>
- </tr>
- <tr align="center">
- <td id="rpcButton"></td>
- </tr>
- <tr align="center">
- <td id="rpcResponse"></td>
- </tr>
-</table>
-</body>
-</html>
Copied:
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/public/Application.html
(from rev 1756,
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/com/totsp/mavenplugin/gwt/sample/public/Application.html)
===================================================================
---
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/public/Application.html
(rev 0)
+++
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/public/Application.html 2008-07-29
21:15:14 UTC (rev 1757)
@@ -0,0 +1,48 @@
+<html>
+ <head>
+ <title>maven-googlewebtoolkit2-sample</title>
+ <style>
+ html,body{
+ font-family:arial,sans-serif;
+ height: 100%;
+ width: 800px;
+ align: center;
+ overflow: hidden;
+ }
+ </style>
+<!-- -->
+<!-- This script loads your compiled module. -->
+<!-- If you add any GWT meta tags, they must -->
+<!-- be added before this line. -->
+<!-- -->
+<script language='javascript'
+ src='org.jboss.bpm.samples.airticket.Application.nocache.js'></script>
+</head>
+
+<!-- -->
+<!-- The body can have arbitrary html, or -->
+<!-- you can leave the body empty if you want -->
+<!-- to create a completely dynamic ui -->
+<!-- -->
+<body>
+
+<!-- OPTIONAL: include this if you want history support -->
+<iframe src="javascript:''" id="__gwt_historyFrame"
+ style="width: 0; height: 0; border: 0"></iframe>
+<table align=center>
+ <tr align="center">
+ <td>The Demo is Below<hr/></td>
+ </tr>
+ <!-- Below is where the gwt widgets are injected -->
+ <tr align="center">
+ <td id="gwtLogo"></td>
+ </tr>
+ <tr align="center">
+ <td id="rpcButton"></td>
+ </tr>
+ <tr align="center">
+ <td id="rpcResponse"></td>
+ </tr>
+</table>
+</body>
+</html>
Copied:
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/public/images
(from rev 1756,
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/com/totsp/mavenplugin/gwt/sample/public/images)
Copied:
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/public/styles
(from rev 1756,
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/com/totsp/mavenplugin/gwt/sample/public/styles)
Modified:
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/webapp/WEB-INF/web.xml
===================================================================
---
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/webapp/WEB-INF/web.xml 2008-07-29
20:56:49 UTC (rev 1756)
+++
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/webapp/WEB-INF/web.xml 2008-07-29
21:15:14 UTC (rev 1757)
@@ -1,19 +1,9 @@
<!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>Archetype Created Web Application</display-name>
- <servlet>
- <servlet-name>HttpServlet</servlet-name>
- <servlet-class>com.totsp.mavenplugin.gwt.sample.server.HttpServlet</servlet-class>
- </servlet>
- <servlet-mapping>
- <servlet-name>HttpServlet</servlet-name>
- <url-pattern>/HttpServlet</url-pattern>
- </servlet-mapping>
-
- <welcome-file-list>
- <welcome-file>index.html</welcome-file>
- </welcome-file-list>
-</web-app>
+ <welcome-file-list>
+ <welcome-file>index.html</welcome-file>
+ </welcome-file-list>
+</web-app>
\ No newline at end of file