You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by ec...@apache.org on 2008/03/12 22:56:03 UTC

svn commit: r636529 [13/15] - in /geronimo/samples/branches/1.0: ./ migration-ejb-bmp/ migration-ejb-bmp/dd/ migration-ejb-bmp/dd/META-INF/ migration-ejb-bmp/jndi/ migration-ejb-bmp/src/ migration-ejb-bmp/src/com/ migration-ejb-bmp/src/com/ibm/ migrati...

Added: geronimo/samples/branches/1.0/migration-security/modules/security.war/src/com/ibm/j2g/security/UploadServlet.java
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/1.0/migration-security/modules/security.war/src/com/ibm/j2g/security/UploadServlet.java?rev=636529&view=auto
==============================================================================
--- geronimo/samples/branches/1.0/migration-security/modules/security.war/src/com/ibm/j2g/security/UploadServlet.java (added)
+++ geronimo/samples/branches/1.0/migration-security/modules/security.war/src/com/ibm/j2g/security/UploadServlet.java Wed Mar 12 14:54:41 2008
@@ -0,0 +1,81 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements.  See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the "License"); you may not use this file except in compliance with
+* the License.  You may obtain a copy of the License at
+*
+*     http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+package com.ibm.j2g.security;
+
+import java.io.IOException;
+import java.rmi.RemoteException;
+
+import javax.ejb.CreateException;
+import javax.naming.NamingException;
+import javax.servlet.ServletException;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+public class UploadServlet extends HttpServlet {
+
+    /** Business logic reference */
+    private BusinessLogicHome logicHome;
+
+    /**
+     * @see javax.servlet.Servlet#destroy()
+     */
+    public void destroy() {
+        logicHome = null;
+        super.destroy();
+    }
+
+    /**
+     * @see javax.servlet.GenericServlet#init()
+     */
+    public void init() throws ServletException {
+        super.init();
+        try {
+            logicHome = BusinessLogicUtil.getHome();
+        } catch (Throwable t) {
+            throw new ServletException(t);
+        }
+    }
+
+    /**
+     * @see javax.servlet.http.HttpServlet#service(javax.servlet.http.HttpServletRequest,
+     *      javax.servlet.http.HttpServletResponse)
+     */
+    protected void service(HttpServletRequest req, HttpServletResponse resp)
+            throws ServletException, IOException {
+        BusinessLogic logic = getLogic();
+        req.setAttribute("result", logic.upload());
+        req.getRequestDispatcher("main.jsp").forward(req, resp);
+    }
+
+    /**
+     * Helper for getting business logic bean reference.
+     * 
+     * @return business logic bean reference
+     * @throws ServletException
+     *             wrapper exception
+     */
+    protected BusinessLogic getLogic() throws ServletException {
+        try {
+            return logicHome.create();
+        } catch (RemoteException e) {
+            throw new ServletException(e);
+        } catch (CreateException e) {
+            throw new ServletException(e);
+        }
+    }
+}

Propchange: geronimo/samples/branches/1.0/migration-security/modules/security.war/src/com/ibm/j2g/security/UploadServlet.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/branches/1.0/migration-security/modules/security.war/src/com/ibm/j2g/security/UploadServlet.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/branches/1.0/migration-security/modules/security.war/src/com/ibm/j2g/security/UploadServlet.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/samples/branches/1.0/migration-security/modules/security.war/web/download.png
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/1.0/migration-security/modules/security.war/web/download.png?rev=636529&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/samples/branches/1.0/migration-security/modules/security.war/web/download.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: geronimo/samples/branches/1.0/migration-security/modules/security.war/web/index.jsp
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/1.0/migration-security/modules/security.war/web/index.jsp?rev=636529&view=auto
==============================================================================
--- geronimo/samples/branches/1.0/migration-security/modules/security.war/web/index.jsp (added)
+++ geronimo/samples/branches/1.0/migration-security/modules/security.war/web/index.jsp Wed Mar 12 14:54:41 2008
@@ -0,0 +1,17 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<% response.sendRedirect("main.jsp"); %>

Propchange: geronimo/samples/branches/1.0/migration-security/modules/security.war/web/index.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/branches/1.0/migration-security/modules/security.war/web/index.jsp
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/branches/1.0/migration-security/modules/security.war/web/index.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/samples/branches/1.0/migration-security/modules/security.war/web/login.jsp
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/1.0/migration-security/modules/security.war/web/login.jsp?rev=636529&view=auto
==============================================================================
--- geronimo/samples/branches/1.0/migration-security/modules/security.war/web/login.jsp (added)
+++ geronimo/samples/branches/1.0/migration-security/modules/security.war/web/login.jsp Wed Mar 12 14:54:41 2008
@@ -0,0 +1,65 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<%@ page language="java"
+    contentType="text/html; charset=utf-8"
+    pageEncoding="utf-8"
+%>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+           "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">     
+<html>
+<head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+    <meta http-equiv="Content-Style-Type" content="text/css" />
+    
+    <title>Security Application</title>
+    
+</head>
+<body>
+<div id="conteneur">
+<div id="texte">
+    <h3>Login</h3>
+    <form action="j_security_check">
+        <table class="write">
+            <tr>
+                <td>Username:</td>
+                <td><input type="text" class="text" name="j_username"/></td>
+            </tr>
+            <tr>
+                <td>Password:</td>
+                <td><input type="password" class="text" name="j_password"/></td>
+            </tr>
+            <tr>
+                <td colspan="2">
+                    <input type="submit" class="text" value="Login"/>
+                </td>
+            </tr>
+            <tr>
+                <td colspan="2">
+                    <p>
+                        Two users are available: 'user' with password '1' and 
+                        'editor' with password '2'.
+                    </p>
+                </td>
+            </tr>
+        </table>
+    </form>
+
+</div>
+</div>
+</body>
+
+</html>

Propchange: geronimo/samples/branches/1.0/migration-security/modules/security.war/web/login.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/branches/1.0/migration-security/modules/security.war/web/login.jsp
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/branches/1.0/migration-security/modules/security.war/web/login.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/samples/branches/1.0/migration-security/modules/security.war/web/loginError.jsp
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/1.0/migration-security/modules/security.war/web/loginError.jsp?rev=636529&view=auto
==============================================================================
--- geronimo/samples/branches/1.0/migration-security/modules/security.war/web/loginError.jsp (added)
+++ geronimo/samples/branches/1.0/migration-security/modules/security.war/web/loginError.jsp Wed Mar 12 14:54:41 2008
@@ -0,0 +1,41 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<%@ page language="java"
+    contentType="text/html; charset=utf-8"
+    pageEncoding="utf-8"
+%>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+           "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">     
+<html>
+<head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+    <meta http-equiv="Content-Style-Type" content="text/css" />
+    
+    <title>Security Application</title>
+    
+</head>
+<body>
+<div id="conteneur">
+<div id="texte">
+    <p class="write">
+        Entered credentials are invalid.
+    </p>
+</div>
+</div>
+</body>
+
+</html>

Propchange: geronimo/samples/branches/1.0/migration-security/modules/security.war/web/loginError.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/branches/1.0/migration-security/modules/security.war/web/loginError.jsp
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/branches/1.0/migration-security/modules/security.war/web/loginError.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/samples/branches/1.0/migration-security/modules/security.war/web/main.jsp
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/1.0/migration-security/modules/security.war/web/main.jsp?rev=636529&view=auto
==============================================================================
--- geronimo/samples/branches/1.0/migration-security/modules/security.war/web/main.jsp (added)
+++ geronimo/samples/branches/1.0/migration-security/modules/security.war/web/main.jsp Wed Mar 12 14:54:41 2008
@@ -0,0 +1,77 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<%@ page language="java"
+    contentType="text/html; charset=utf-8"
+    pageEncoding="utf-8"
+%>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+           "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">     
+<html>
+<head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+    <meta http-equiv="Content-Style-Type" content="text/css" />
+    
+    <title>Security Application</title>
+    
+</head>
+<body>
+<div id="conteneur">
+<div id="texte">
+    <p>
+    <table>
+        <tr>
+            <th>Title</th>
+            <th></th>
+        </tr>
+<%  String[] docs = {"HAM - Proposal.doc", "HAM - SAD.doc"};
+    for(int i = 0; i < docs.length; ++i) { %>
+        <tr>
+            <td><%= docs[i] %></td>
+            <td><a href="#"><img src="download.png" alt="download"/></a></td>
+        </tr>
+<%  } %>
+    </table>
+    </p>
+<%  if(request.isUserInRole("uploader")) { %>
+    <form action="upload">
+        <table class="write">
+            <tr>
+                <td>Role:</td>
+                <td><input type="file" class="text" name="file"/></td>
+                <td><input type="submit" class="text" name="checkRole" value="Upload"/></td>
+            </tr>
+            <tr>
+                <td colspan="3">
+                    Only user with username 'editor' is authorized to upload.
+                </td>
+            </tr>
+        </table>        
+    </form>
+<%      String result = (String)request.getAttribute("result");
+        if(result != null) { %>
+            <p><%=result%></p>
+    
+<%      }
+    } %>
+    <p>
+        <a href="logout">Logout</a>
+    </p>
+</div>
+</div>
+</body>
+
+</html>

Propchange: geronimo/samples/branches/1.0/migration-security/modules/security.war/web/main.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/branches/1.0/migration-security/modules/security.war/web/main.jsp
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/branches/1.0/migration-security/modules/security.war/web/main.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/samples/branches/1.0/migration-security/modules/security.war/xdoclet-build.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/1.0/migration-security/modules/security.war/xdoclet-build.xml?rev=636529&view=auto
==============================================================================
--- geronimo/samples/branches/1.0/migration-security/modules/security.war/xdoclet-build.xml (added)
+++ geronimo/samples/branches/1.0/migration-security/modules/security.war/xdoclet-build.xml Wed Mar 12 14:54:41 2008
@@ -0,0 +1,138 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<project name="XDoclet Generator" default="_xdoclet_generation_">
+<property file="xdoclet-build.properties"/>
+<property name="eclipse.home" value="D:/ProgramFiles/eclipse/eclipse-3.1.1"/>
+<property name="xdoclet.basedir" value="D:/ProgramFiles/eclipse/Extensions/JBossIDE/eclipse/plugins/org.jboss.ide.eclipse.xdoclet.core_1.5.0.M3"/>
+<property name="jboss.net.version" value="4.0"/>
+<path id="project.classpath"><pathelement location="bin"/>
+<pathelement location="D:/ProgramFiles/eclipse/Extensions/JBossIDE/eclipse/plugins/org.jboss.ide.eclipse.jdt.j2ee.core_1.5.0.M3/lib/j2ee-1.4/ejb-api.jar"/>
+<pathelement location="D:/ProgramFiles/eclipse/Extensions/JBossIDE/eclipse/plugins/org.jboss.ide.eclipse.jdt.j2ee.core_1.5.0.M3/lib/j2ee-1.4/jacc-api.jar"/>
+<pathelement location="D:/ProgramFiles/eclipse/Extensions/JBossIDE/eclipse/plugins/org.jboss.ide.eclipse.jdt.j2ee.core_1.5.0.M3/lib/j2ee-1.4/jca-api.jar"/>
+<pathelement location="D:/ProgramFiles/eclipse/Extensions/JBossIDE/eclipse/plugins/org.jboss.ide.eclipse.jdt.j2ee.core_1.5.0.M3/lib/j2ee-1.4/jms-api.jar"/>
+<pathelement location="D:/ProgramFiles/eclipse/Extensions/JBossIDE/eclipse/plugins/org.jboss.ide.eclipse.jdt.j2ee.core_1.5.0.M3/lib/j2ee-1.4/jsp-api.jar"/>
+<pathelement location="D:/ProgramFiles/eclipse/Extensions/JBossIDE/eclipse/plugins/org.jboss.ide.eclipse.jdt.j2ee.core_1.5.0.M3/lib/j2ee-1.4/jta-api.jar"/>
+<pathelement location="D:/ProgramFiles/eclipse/Extensions/JBossIDE/eclipse/plugins/org.jboss.ide.eclipse.jdt.j2ee.core_1.5.0.M3/lib/j2ee-1.4/servlet-api.jar"/>
+<pathelement location="D:/ProgramFiles/eclipse/Extensions/JBossIDE/eclipse/plugins/org.jboss.ide.eclipse.jdt.j2ee.core_1.5.0.M3/lib/j2ee-1.4/sql-api.jar"/>
+<pathelement location="D:/ProgramFiles/eclipse/Extensions/JBossIDE/eclipse/plugins/org.jboss.ide.eclipse.jdt.ws.core_1.5.0.M3/lib/wsi-1.0/jaxr-api.jar"/>
+<pathelement location="D:/ProgramFiles/eclipse/Extensions/JBossIDE/eclipse/plugins/org.jboss.ide.eclipse.jdt.ws.core_1.5.0.M3/lib/wsi-1.0/jaxrpc-api.jar"/>
+<pathelement location="D:/ProgramFiles/eclipse/Extensions/JBossIDE/eclipse/plugins/org.jboss.ide.eclipse.jdt.ws.core_1.5.0.M3/lib/wsi-1.0/saaj-api.jar"/>
+<pathelement location="D:/ProgramFiles/eclipse/Extensions/JBossIDE/eclipse/plugins/org.jboss.ide.eclipse.jdt.ws.core_1.5.0.M3/lib/wsi-1.0/xml-api.jar"/>
+<pathelement location="../security.jar/bin"/>
+</path>
+<path id="xdoclet.classpath">
+<path refid="project.classpath"/>
+<fileset dir="${xdoclet.basedir}">
+<include name="*.jar"/>
+<exclude name="xdoclet-module-jboss-net-*.jar"/>
+</fileset>
+<fileset dir="${xdoclet.basedir}">
+<include name="xdoclet-module-jboss-net-${jboss.net.version}*.jar"/>
+</fileset>
+</path>
+<target name="_xdoclet_generation_" depends="N65540"/>
+<target name="N65540" description="Web">
+<taskdef name="webdoclet" classname="xdoclet.modules.web.WebDocletTask" classpathref="xdoclet.classpath"/><webdoclet excludedTags="@version,@author,@todo"  destDir="src"  verbose="true"  addedTags="@xdoclet-generated at ${TODAY},@copyright The XDoclet Team,@author XDoclet,@version ${version}" >
+
+
+
+
+
+
+
+
+<fileset dir="src"  includes="**/*.java" >
+
+
+
+</fileset>
+<deploymentdescriptor Servletspec="2.4"  destDir="src/WEB-INF"  mergeDir="src/WEB-INF/merge" >
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</deploymentdescriptor>
+
+<jbosswebxml securitydomain="java:/jaas/j2g"  destDir="src/WEB-INF/jboss" >
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</jbosswebxml>
+</webdoclet></target>
+</project>

Propchange: geronimo/samples/branches/1.0/migration-security/modules/security.war/xdoclet-build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/branches/1.0/migration-security/modules/security.war/xdoclet-build.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/branches/1.0/migration-security/modules/security.war/xdoclet-build.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/branches/1.0/migration-security/properties/j2g_groups.properties
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/1.0/migration-security/properties/j2g_groups.properties?rev=636529&view=auto
==============================================================================
--- geronimo/samples/branches/1.0/migration-security/properties/j2g_groups.properties (added)
+++ geronimo/samples/branches/1.0/migration-security/properties/j2g_groups.properties Wed Mar 12 14:54:41 2008
@@ -0,0 +1,2 @@
+authenticated=user,editor
+uploader=editor

Propchange: geronimo/samples/branches/1.0/migration-security/properties/j2g_groups.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/branches/1.0/migration-security/properties/j2g_groups.properties
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/branches/1.0/migration-security/properties/j2g_groups.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/samples/branches/1.0/migration-security/properties/j2g_users.properties
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/1.0/migration-security/properties/j2g_users.properties?rev=636529&view=auto
==============================================================================
--- geronimo/samples/branches/1.0/migration-security/properties/j2g_users.properties (added)
+++ geronimo/samples/branches/1.0/migration-security/properties/j2g_users.properties Wed Mar 12 14:54:41 2008
@@ -0,0 +1,2 @@
+user=1
+editor=2

Propchange: geronimo/samples/branches/1.0/migration-security/properties/j2g_users.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/branches/1.0/migration-security/properties/j2g_users.properties
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/branches/1.0/migration-security/properties/j2g_users.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/samples/branches/1.0/migration-servlets/LICENSE.txt
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/1.0/migration-servlets/LICENSE.txt?rev=636529&view=auto
==============================================================================
--- geronimo/samples/branches/1.0/migration-servlets/LICENSE.txt (added)
+++ geronimo/samples/branches/1.0/migration-servlets/LICENSE.txt Wed Mar 12 14:54:41 2008
@@ -0,0 +1,350 @@
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] The Apache Software Foundation
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+
+=========================================================================
+J2G, Commons Logging, commons-el, jasper-runtime, jasper-compiler, 
+jasper-compiler-jdt, geronimo-jsp_spec, and geronimo-servlet-spec use the 
+above Apache License v2.0.
+=========================================================================
+   
+=========================================================================
+==  Dom4j License                                                      ==
+=========================================================================
+
+Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
+
+Redistribution and use of this software and associated documentation
+("Software"), with or without modification, are permitted provided
+that the following conditions are met:
+
+1. Redistributions of source code must retain copyright
+   statements and notices.  Redistributions must also contain a
+   copy of this document.
+ 
+2. Redistributions in binary form must reproduce the
+   above copyright notice, this list of conditions and the
+   following disclaimer in the documentation and/or other
+   materials provided with the distribution.
+ 
+3. The name "DOM4J" must not be used to endorse or promote
+   products derived from this Software without prior written
+   permission of MetaStuff, Ltd.  For written permission,
+   please contact dom4j-info@metastuff.com.
+ 
+4. Products derived from this Software may not be called "DOM4J"
+   nor may "DOM4J" appear in their names without prior written
+   permission of MetaStuff, Ltd. DOM4J is a registered
+   trademark of MetaStuff, Ltd.
+ 
+5. Due credit should be given to the DOM4J Project - 
+   http://www.dom4j.org
+ 
+THIS SOFTWARE IS PROVIDED BY METASTUFF, LTD. AND CONTRIBUTORS
+``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT
+NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
+METASTUFF, LTD. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+OF THE POSSIBILITY OF SUCH DAMAGE.
+
+=========================================================================
+==  Jaxen License                                                      ==
+=========================================================================
+
+ Copyright 2003-2006 The Werken Company. All Rights Reserved.
+ 
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+
+  * Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+
+  * Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in the
+    documentation and/or other materials provided with the distribution.
+
+  * Neither the name of the Jaxen Project nor the names of its
+    contributors may be used to endorse or promote products derived 
+    from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
+OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ 
+=========================================================================
+==  PullParser License                                                 ==
+=========================================================================
+
+Copyright 2002 The Trustees of Indiana University.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+1) All redistributions of source code must retain the above
+   copyright notice, the list of authors in the original source
+   code, this list of conditions and the disclaimer listed in this
+   license;
+
+2) All redistributions in binary form must reproduce the above
+   copyright notice, this list of conditions and the disclaimer
+   listed in this license in the documentation and/or other
+   materials provided with the distribution;
+
+3) Any documentation included with all redistributions must include
+   the following acknowledgement:
+
+     "This product includes software developed by the Indiana 
+     University Extreme! Lab.  For further information please visit 
+     http://www.extreme.indiana.edu/"
+
+   Alternatively, this acknowledgment may appear in the software
+   itself, and wherever such third-party acknowledgments normally
+   appear.
+
+4) The name "Indiana Univeristy" and "Indiana Univeristy
+   Extreme! Lab" shall not be used to endorse or promote
+   products derived from this software without prior written
+   permission from Indiana University.  For written permission,
+   please contact http://www.extreme.indiana.edu/.
+
+5) Products derived from this software may not use "Indiana
+   Univeristy" name nor may "Indiana Univeristy" appear in their name,
+  without prior written permission of the Indiana University.
+ 
+Indiana University provides no reassurances that the source code
+provided does not infringe the patent or any other intellectual
+property rights of any other entity.  Indiana University disclaims any
+liability to any recipient for claims brought by any other entity
+based on infringement of intellectual property rights or otherwise.
+
+LICENSEE UNDERSTANDS THAT SOFTWARE IS PROVIDED "AS IS" FOR WHICH
+NO WARRANTIES AS TO CAPABILITIES OR ACCURACY ARE MADE. INDIANA
+UNIVERSITY GIVES NO WARRANTIES AND MAKES NO REPRESENTATION THAT
+SOFTWARE IS FREE OF INFRINGEMENT OF THIRD PARTY PATENT, COPYRIGHT, OR
+OTHER PROPRIETARY RIGHTS.  INDIANA UNIVERSITY MAKES NO WARRANTIES THAT
+SOFTWARE IS FREE FROM "BUGS", "VIRUSES", "TROJAN HORSES", "TRAP
+DOORS", "WORMS", OR OTHER HARMFUL CODE.  LICENSEE ASSUMES THE ENTIRE
+RISK AS TO THE PERFORMANCE OF SOFTWARE AND/OR ASSOCIATED MATERIALS,
+AND TO THE PERFORMANCE AND VALIDITY OF INFORMATION GENERATED USING
+SOFTWARE.
+
+
+
+
+

Propchange: geronimo/samples/branches/1.0/migration-servlets/LICENSE.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/branches/1.0/migration-servlets/LICENSE.txt
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/branches/1.0/migration-servlets/LICENSE.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/samples/branches/1.0/migration-servlets/NOTICE.txt
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/1.0/migration-servlets/NOTICE.txt?rev=636529&view=auto
==============================================================================
--- geronimo/samples/branches/1.0/migration-servlets/NOTICE.txt (added)
+++ geronimo/samples/branches/1.0/migration-servlets/NOTICE.txt Wed Mar 12 14:54:41 2008
@@ -0,0 +1,46 @@
+=========================================================================
+==  NOTICE file corresponding to section 4(d) of the Apache License,   ==
+==  Version 2.0, in this case for the Apache Geronimo distribution.    ==
+=========================================================================
+
+Apache Geronimo
+Copyright 2003-2007 The Apache Software Foundation
+
+This product includes software developed by
+The Apache Software Foundation (http://www.apache.org/).
+
+Portions of the J2G Conversion Tool were orginally developed by International
+Business Machines Corporation and are licensed to the Apache Software
+Foundation under the "Software Grant and Corporate Contribution License
+Agreement", informally known as the "IBM Console CLA".
+
+=========================================================================
+==  Commons-logging  Notice                                            ==
+=========================================================================
+This product includes software developed by
+The Apache Software Foundation (http://www.apache.org/).
+
+
+=========================================================================
+==  Dom4j Notice                                                       ==
+=========================================================================
+
+Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
+
+=========================================================================
+==  Jaxen Notice                                                       ==
+=========================================================================
+
+Copyright 2003-2006 The Werken Company. All Rights Reserved.
+
+=========================================================================
+==  PullParser Notice                                                  ==
+=========================================================================
+
+Copyright 2002 The Trustees of Indiana University.
+All rights reserved.
+
+This product includes software developed by the Indiana
+University Extreme! Lab.  For further information please visit
+http://www.extreme.indiana.edu/
+

Propchange: geronimo/samples/branches/1.0/migration-servlets/NOTICE.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/branches/1.0/migration-servlets/NOTICE.txt
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/branches/1.0/migration-servlets/NOTICE.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/samples/branches/1.0/migration-servlets/WEB-INF/geronimo-web.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/1.0/migration-servlets/WEB-INF/geronimo-web.xml?rev=636529&view=auto
==============================================================================
--- geronimo/samples/branches/1.0/migration-servlets/WEB-INF/geronimo-web.xml (added)
+++ geronimo/samples/branches/1.0/migration-servlets/WEB-INF/geronimo-web.xml Wed Mar 12 14:54:41 2008
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<web-app xmlns="http://geronimo.apache.org/xml/ns/web" configId="college_fest">
+
+    <context-root>college_fest</context-root>
+    <context-priority-classloader>
+      false
+    </context-priority-classloader>
+    
+</web-app>

Propchange: geronimo/samples/branches/1.0/migration-servlets/WEB-INF/geronimo-web.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/branches/1.0/migration-servlets/WEB-INF/geronimo-web.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/branches/1.0/migration-servlets/WEB-INF/geronimo-web.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/branches/1.0/migration-servlets/WEB-INF/jboss-web.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/1.0/migration-servlets/WEB-INF/jboss-web.xml?rev=636529&view=auto
==============================================================================
--- geronimo/samples/branches/1.0/migration-servlets/WEB-INF/jboss-web.xml (added)
+++ geronimo/samples/branches/1.0/migration-servlets/WEB-INF/jboss-web.xml Wed Mar 12 14:54:41 2008
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<jboss-web>
+
+    <context-root>college_fest</context-root>
+    <context-priority-classloader>
+      false
+    </context-priority-classloader>
+</jboss-web>    

Propchange: geronimo/samples/branches/1.0/migration-servlets/WEB-INF/jboss-web.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/branches/1.0/migration-servlets/WEB-INF/jboss-web.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/branches/1.0/migration-servlets/WEB-INF/jboss-web.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/branches/1.0/migration-servlets/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/1.0/migration-servlets/WEB-INF/web.xml?rev=636529&view=auto
==============================================================================
--- geronimo/samples/branches/1.0/migration-servlets/WEB-INF/web.xml (added)
+++ geronimo/samples/branches/1.0/migration-servlets/WEB-INF/web.xml Wed Mar 12 14:54:41 2008
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<web-app xmlns="http://java.sun.com/xml/ns/j2ee" version="2.4" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+  <display-name>College Fest</display-name>
+  
+    
+  <servlet>
+    <display-name>WelcomeServlet</display-name>
+    <servlet-name>WelcomeServlet</servlet-name>
+    <servlet-class>servlets.WelcomeServlet</servlet-class>
+  </servlet>
+  <servlet>
+    <display-name>PersonalServlet</display-name>
+    <servlet-name>PersonalServlet</servlet-name>
+    <servlet-class>servlets.PersonalServlet</servlet-class>
+  </servlet>
+  <servlet-mapping>
+    <servlet-name>WelcomeServlet</servlet-name>
+    <url-pattern>/welcome</url-pattern>
+  </servlet-mapping>
+  <servlet-mapping>
+    <servlet-name>PersonalServlet</servlet-name>
+    <url-pattern>/personal</url-pattern>
+  </servlet-mapping>
+  
+<welcome-file-list>
+    <welcome-file>welcome</welcome-file>
+</welcome-file-list>
+
+
+  
+</web-app>

Propchange: geronimo/samples/branches/1.0/migration-servlets/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/branches/1.0/migration-servlets/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/branches/1.0/migration-servlets/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/branches/1.0/migration-servlets/build.properties
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/1.0/migration-servlets/build.properties?rev=636529&view=auto
==============================================================================
--- geronimo/samples/branches/1.0/migration-servlets/build.properties (added)
+++ geronimo/samples/branches/1.0/migration-servlets/build.properties Wed Mar 12 14:54:41 2008
@@ -0,0 +1,23 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+#Replace java.home with your jdk directory
+java.home=<java_home>
+
+#Replace j2ee.home with the parent directory of lib/j2ee.jar
+j2ee.home=<jboss_home>/server/<your_server_name>
+
+#Replace with jboss home directory
+jboss.server=<jboss_home>/server/<your_server_name>
\ No newline at end of file

Propchange: geronimo/samples/branches/1.0/migration-servlets/build.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/branches/1.0/migration-servlets/build.properties
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/branches/1.0/migration-servlets/build.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/samples/branches/1.0/migration-servlets/build.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/1.0/migration-servlets/build.xml?rev=636529&view=auto
==============================================================================
--- geronimo/samples/branches/1.0/migration-servlets/build.xml (added)
+++ geronimo/samples/branches/1.0/migration-servlets/build.xml Wed Mar 12 14:54:41 2008
@@ -0,0 +1,47 @@
+<?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!-- build file for building a war -->
+
+<project name="build" default="war" basedir=".">
+
+    <property file="build.properties"/>
+    <property name="src.dir" value="src"/>
+    <property name="dest.dir" value="bin"/>
+    
+
+      <target name="compile">
+        <mkdir dir="${dest.dir}"/>
+
+        <javac srcdir="${src.dir}" destdir="${dest.dir}">
+        <classpath path="${java.home}/lib/tools.jar"/>
+        <classpath path="${j2ee.home}/lib/j2ee.jar"/>
+        </javac>
+    </target>
+
+    <target name="war" depends="compile">
+      <war destfile="college_fest.war" webxml="WEB-INF/web.xml">
+
+         <zipfileset dir="jsp" prefix="jsp"/>        
+       <zipfileset dir="pix" prefix="pix"/>      
+         <classes dir="${dest.dir}"/>    
+
+      </war>
+</target>
+
+
+</project>
\ No newline at end of file

Propchange: geronimo/samples/branches/1.0/migration-servlets/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/branches/1.0/migration-servlets/build.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/branches/1.0/migration-servlets/build.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/branches/1.0/migration-servlets/jboss-build.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/1.0/migration-servlets/jboss-build.xml?rev=636529&view=auto
==============================================================================
--- geronimo/samples/branches/1.0/migration-servlets/jboss-build.xml (added)
+++ geronimo/samples/branches/1.0/migration-servlets/jboss-build.xml Wed Mar 12 14:54:41 2008
@@ -0,0 +1,53 @@
+<?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!-- build file for building a war -->
+
+<project name="build" default="war" basedir=".">
+
+    <property file="build.properties"/>
+    <property name="src.dir" value="src"/>
+    <property name="dest.dir" value="bin"/>
+    
+
+      <target name="compile">
+        <mkdir dir="${dest.dir}"/>
+
+        <javac srcdir="${src.dir}" destdir="${dest.dir}">
+        <classpath path="${java.home}/lib/tools.jar"/>
+        <classpath path="${j2ee.home}/lib/j2ee.jar"/>
+        </javac>
+    </target>
+
+    <target name="war" depends="compile">
+      <war destfile="college_fest.war" webxml="WEB-INF/web.xml">
+         <zipfileset dir="jsp" prefix="jsp"/>        
+       <zipfileset dir="pix" prefix="pix"/>      
+         <classes dir="${dest.dir}"/>    
+      </war>
+</target>
+
+<target name="deploy" depends="war">
+        <copy file="college_fest.war" todir="${jboss.server}/deploy"/>
+    </target>
+
+<target name="undeploy">
+        <delete file="${jboss.server}/deploy/college_fest.war"/>
+    </target>
+
+
+</project>
\ No newline at end of file

Propchange: geronimo/samples/branches/1.0/migration-servlets/jboss-build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/branches/1.0/migration-servlets/jboss-build.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/branches/1.0/migration-servlets/jboss-build.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/branches/1.0/migration-servlets/jsp/dc.jsp
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/1.0/migration-servlets/jsp/dc.jsp?rev=636529&view=auto
==============================================================================
--- geronimo/samples/branches/1.0/migration-servlets/jsp/dc.jsp (added)
+++ geronimo/samples/branches/1.0/migration-servlets/jsp/dc.jsp Wed Mar 12 14:54:41 2008
@@ -0,0 +1,92 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+
+<%@page contentType="text/html" %>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+
+<head>
+    <title>Dumb Charades</title>
+</head>
+
+<body bgcolor="black">
+
+<font size="6" color="white" face="Garamond">
+
+<h1><center> DUMB CHARADES </center></h1>
+</font>
+
+
+<form action="team_reg.jsp">
+<font size="6" color="white" face="Garamond">
+<ul>
+
+<li><h3> Teams of three </h3></li>
+<li><h3> Unlimited entries from each college </h3></li>
+<li><h3> Standard DC rules apply.Teams defaulting shall be disqualified immediately</h3></li>
+<li><h3> Six teams in final.Only two teams per college shall be allowed in the finals ,should they qualify</h3></li>
+
+</ul>
+</font>
+
+<br><br>
+
+<table border="6">
+
+<caption>Prelims</caption>
+<tr>
+  <td><font color="white">Day</font></td>
+  <td><font color="white">Time</font></td>
+  <td><font color="white">Venue</font></td>
+  </tr>
+
+<tr>
+  <td><font color="white">1</font></td>
+  <td><font color="white">10 am</font></td>
+  <td><font color="white">MESH</font></td>
+  </tr>
+
+
+
+</table>
+
+<table border="6">
+<caption>Finals</caption>
+<tr>
+  <td><font color="white">Day</font></td>
+  <td><font color="white">Time</font></td>
+  <td><font color="white">Venue</font></td>
+  </tr>
+
+<tr>
+  <td><font color="white">2</font></td>
+  <td><font color="white">12 pm</font></td>
+  <td><font color="white">MESH</font></td>
+  </tr>
+</table>
+
+<h4> <font color="white">MESH - Mechanical Seminar Hall </font></h4>
+
+<center><input type="submit" value=" Register !"> </center>
+
+
+</form>
+
+</body>
+
+</html>

Propchange: geronimo/samples/branches/1.0/migration-servlets/jsp/dc.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/branches/1.0/migration-servlets/jsp/dc.jsp
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/branches/1.0/migration-servlets/jsp/dc.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/samples/branches/1.0/migration-servlets/jsp/gq.jsp
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/1.0/migration-servlets/jsp/gq.jsp?rev=636529&view=auto
==============================================================================
--- geronimo/samples/branches/1.0/migration-servlets/jsp/gq.jsp (added)
+++ geronimo/samples/branches/1.0/migration-servlets/jsp/gq.jsp Wed Mar 12 14:54:41 2008
@@ -0,0 +1,97 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+
+<%@page contentType="text/html" %>
+
+<html>
+
+<head>
+    <title>General  Quiz</title>
+</head>
+
+<body bgcolor="black">
+
+<font size="6" color="white" face="Garamond">
+<h1><center> GENERAL QUIZ </center></h1>
+</font>
+
+
+
+<form action="team_reg.jsp">
+
+<font size="6" color="white" face="Garamond">
+
+<ul>
+
+<li><h3> Teams of three </h3></li>
+<li><h3> Unlimited entries from each college </h3></li>
+<li><h3> The questions are externally starred to resolve tie scores.Teams defaulting shall be disqualified immediately</h3></li>
+<li><h3> Six teams in final.Only two teams per college shall be allowed in the finals ,should they qualify</h3></li>
+
+</ul>
+</font>
+
+<table border="6">
+
+<caption>Prelims</caption>
+<tr>
+  <td><font color="white">Day</font></td>
+  <td><font color="white">Time</font></td>
+  <td><font color="white">Venue</font></td>
+  </tr>
+
+<tr>
+  <td><font color="white">2</font></td>
+  <td><font color="white">10 am</font></td>
+  <td><font color="white">AUDI</font></td>
+  </tr>
+</table>
+
+
+
+
+<br><br>
+
+
+<table border="6">
+
+<caption>Finals</caption>
+<tr>
+  <td><font color="white">Day</font></td>
+  <td><font color="white">Time</font></td>
+  <td><font color="white">Venue</font></td>
+  </tr>
+
+<tr>
+  <td><font color="white">2</font></td>
+  <td><font color="white">3 pm</font></td>
+  <td><font color="white">AUDI</font></td>
+  </tr>
+
+</table>
+
+
+<h4><font color="white"> AUDI - Main Auditorium </font></h4>
+
+<center><input type="submit" value=" Register !"> </center>
+
+</form>
+
+</body>
+
+</html>

Propchange: geronimo/samples/branches/1.0/migration-servlets/jsp/gq.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/branches/1.0/migration-servlets/jsp/gq.jsp
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/branches/1.0/migration-servlets/jsp/gq.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/samples/branches/1.0/migration-servlets/jsp/pp.jsp
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/1.0/migration-servlets/jsp/pp.jsp?rev=636529&view=auto
==============================================================================
--- geronimo/samples/branches/1.0/migration-servlets/jsp/pp.jsp (added)
+++ geronimo/samples/branches/1.0/migration-servlets/jsp/pp.jsp Wed Mar 12 14:54:41 2008
@@ -0,0 +1,93 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+
+<%@page contentType="text/html" %>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+
+<head>
+    <title>Pot Pourri</title>
+</head>
+
+<body bgcolor="black">
+
+<font size="6" color="white" face="Garamond">
+<h1><center> POT POURRI </center></h1>
+</font>
+
+
+<form action="team_reg.jsp">
+
+<font size="6" color="white" face="Garamond">
+
+<ul>
+
+<li><h3> Teams of three </h3></li>
+<li><h3> Unlimited entries from each college </h3></li>
+<li><h3> The Pot Pourri shall have Pictionary,20Q and DC . Teams defaulting shall be disqualified immediately</h3></li>
+<li><h3> Six teams in final.Only two teams per college shall be allowed in the finals ,should they qualify</h3></li>
+
+</ul>
+</font>
+
+<table border="6">
+
+<caption>Prelims</caption>
+<tr>
+  <td><font color="white">Day</font></td>
+  <td><font color="white">Time</font></td>
+  <td><font color="white">Venue</font></td>
+  </tr>
+
+<tr>
+  <td><font color="white">1</font></td>
+  <td><font color="white">2 pm</font></td>
+  <td><font color="white">MBASH</font></td>
+  </tr>
+</table>
+
+
+<br><br>
+
+<table border="6">
+
+<caption>Finals</caption>
+<tr>
+  <td><font color="white">Day</font></td>
+  <td><font color="white">Time</font></td>
+  <td><font color="white">Venue</font></td>
+  </tr>
+
+<tr>
+  <td><font color="white">2</font></td>
+  <td><font color="white">2 pm</font></td>
+  <td><font color="white">MBASH</font></td>
+  </tr>
+
+</table>
+
+
+<h4><font color="white"> MBASH - MBA Seminar Hall </font></h4>
+
+<center><input type="submit" value=" Register !"> </center>
+
+</form>
+
+</body>
+
+</html>

Propchange: geronimo/samples/branches/1.0/migration-servlets/jsp/pp.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/branches/1.0/migration-servlets/jsp/pp.jsp
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/branches/1.0/migration-servlets/jsp/pp.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/samples/branches/1.0/migration-servlets/jsp/team_reg.jsp
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/1.0/migration-servlets/jsp/team_reg.jsp?rev=636529&view=auto
==============================================================================
--- geronimo/samples/branches/1.0/migration-servlets/jsp/team_reg.jsp (added)
+++ geronimo/samples/branches/1.0/migration-servlets/jsp/team_reg.jsp Wed Mar 12 14:54:41 2008
@@ -0,0 +1,51 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<%@page contentType="text/html" %>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+
+<head>
+    <title> Registrations  </title>
+</head>
+
+<body background="../pix/78.jpg">
+
+<font size="18" color="white" face="Garamond">
+<center>Registrations Central </center>
+
+<form action="welcome.jsp">
+
+<font size="5" color="white" face="Garamond">
+<h4> Team Name </h4>
+<input type="text" name="name" size="25">
+
+<h4> College </h4>
+<input type="text" name="college" size="25">
+
+<h4> Event </h4>
+<input type="text" name="event" size="25">
+<br>
+<br>
+<br>
+<br>
+<br>
+
+<input type="submit" value=" Submit "> 
+
+</body>
+
+</html>

Propchange: geronimo/samples/branches/1.0/migration-servlets/jsp/team_reg.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/branches/1.0/migration-servlets/jsp/team_reg.jsp
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/branches/1.0/migration-servlets/jsp/team_reg.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/samples/branches/1.0/migration-servlets/jsp/welcome.jsp
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/1.0/migration-servlets/jsp/welcome.jsp?rev=636529&view=auto
==============================================================================
--- geronimo/samples/branches/1.0/migration-servlets/jsp/welcome.jsp (added)
+++ geronimo/samples/branches/1.0/migration-servlets/jsp/welcome.jsp Wed Mar 12 14:54:41 2008
@@ -0,0 +1,55 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<%@page contentType="text/html" %>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+
+<head>
+    <title>Aatmatrisha '05</title>
+</head>
+
+<body bgcolor="black" link="#ffffff" vlink="white" alink="#ffffff">
+
+<font size="5" color="white" face="Garamond">
+<h1><center>Aatmatrisha means Thirst (<i>trisha</i>) of the Soul (<i>Aatma</i>) in Sanskrit</center></h1>
+</font>
+
+<font size="6" color="white" face="Garamond">
+<h3>Click on the event to view details ... </h3>
+</font>
+
+<form action="../welcome" >
+<font size="7"  face="Garamond">
+<center><h4><a href="dc.jsp"> Dumb Charades </a></h4>
+<h4><a href="pp.jsp"> Pot Pourri </a></h4>
+<h4><a href="wtgw.jsp"> Whats The Good Word </a></h4>
+<h4><a href="gq.jsp"> General Quiz </a></h4>
+</center>
+</font>
+
+<br>
+<br>
+<br>
+<br>
+<br>
+
+<center><input type="submit" value=" Login as a different user "> </center>
+
+</form>
+</body>
+
+</html>

Propchange: geronimo/samples/branches/1.0/migration-servlets/jsp/welcome.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/branches/1.0/migration-servlets/jsp/welcome.jsp
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/branches/1.0/migration-servlets/jsp/welcome.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/samples/branches/1.0/migration-servlets/jsp/wtgw.jsp
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/1.0/migration-servlets/jsp/wtgw.jsp?rev=636529&view=auto
==============================================================================
--- geronimo/samples/branches/1.0/migration-servlets/jsp/wtgw.jsp (added)
+++ geronimo/samples/branches/1.0/migration-servlets/jsp/wtgw.jsp Wed Mar 12 14:54:41 2008
@@ -0,0 +1,90 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<%@page contentType="text/html" %>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+
+<head>
+    <title>Whats The Good Word ? </title>
+</head>
+
+<body bgcolor="black">
+
+<font size="6" color="white" face="Garamond">
+<h1><center> WHATS THE GOOD WORD  </center></h1>
+</font>
+
+
+<form action="team_reg.jsp">
+<font size="6" color="white" face="Garamond">
+<ul>
+
+<li><h3> Teams of two </h3></li>
+<li><h3> Maximum of two teams from each college </h3></li>
+<li><h3> Teams found defaulting while vetting shall be disqualified immediately</h3></li>
+<li><h3> Six teams in final.Only two teams per college shall be allowed in the finals ,should they qualify</h3></li>
+
+</ul>
+</font>
+
+<table border="6">
+
+<caption>Prelims</caption>
+<tr>
+  <td><font color="white">Day</font></td>
+  <td><font color="white">Time</font></td>
+  <td><font color="white">Venue</font></td>
+  </tr>
+
+
+<tr>
+  <td><font color="white">1</font></td>
+  <td><font color="white">2 pm</font></td>
+  <td><font color="white">TPSH</font></td>
+  </tr>
+</table>
+
+<br><br>
+
+<table border="6">
+
+<caption>Finals</caption>
+
+<tr>
+  <td><font color="white">Day</font></td>
+  <td><font color="white">Time</font></td>
+  <td><font color="white">Venue</font></td>
+  </tr>
+
+<tr>
+  <td><font color="white">2</font></td>
+  <td><font color="white">1 pm</font></td>
+  <td><font color="white">TPSH</font></td>
+  </tr>
+
+</table>
+
+<h4><font color="white">TPSH - Tech Park Seminar Hall </font> </h4>
+
+<center><input type="submit" value=" Register !"> </center>
+
+
+</form>
+
+</body>
+
+</html>

Propchange: geronimo/samples/branches/1.0/migration-servlets/jsp/wtgw.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/branches/1.0/migration-servlets/jsp/wtgw.jsp
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/branches/1.0/migration-servlets/jsp/wtgw.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/samples/branches/1.0/migration-servlets/pix/78.jpg
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/1.0/migration-servlets/pix/78.jpg?rev=636529&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/samples/branches/1.0/migration-servlets/pix/78.jpg
------------------------------------------------------------------------------
    svn:mime-type = image/jpeg

Added: geronimo/samples/branches/1.0/migration-servlets/pix/98.jpg
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/1.0/migration-servlets/pix/98.jpg?rev=636529&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/samples/branches/1.0/migration-servlets/pix/98.jpg
------------------------------------------------------------------------------
    svn:mime-type = image/jpeg

Added: geronimo/samples/branches/1.0/migration-servlets/src/servlets/PersonalServlet.java
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/1.0/migration-servlets/src/servlets/PersonalServlet.java?rev=636529&view=auto
==============================================================================
--- geronimo/samples/branches/1.0/migration-servlets/src/servlets/PersonalServlet.java (added)
+++ geronimo/samples/branches/1.0/migration-servlets/src/servlets/PersonalServlet.java Wed Mar 12 14:54:41 2008
@@ -0,0 +1,62 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements.  See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the "License"); you may not use this file except in compliance with
+* the License.  You may obtain a copy of the License at
+*
+*     http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+
+
+package servlets;
+
+import java.io.*;
+import java.util.*;
+import java.sql.*;
+import javax.servlet.*;
+import javax.servlet.http.*;
+
+
+/**
+ * This is a simple example of an HTTP Servlet.  It responds to the GET
+ * method of the HTTP protocol.
+ */
+
+public class PersonalServlet extends HttpServlet {
+    public void doGet(HttpServletRequest request, HttpServletResponse response)
+        throws ServletException, IOException {
+        
+        PrintWriter out = response.getWriter();
+
+        // then write the data of the response
+        
+        String username = request.getParameter("username");
+       
+        out.println("<html>" + "<head><title>Welcome</title></head>");
+        
+        if ((username != null) && (username.length() > 0)) {
+            
+            out.println("<body>");
+            out.println("<font size=\"15\"color=\"white\" face=\"Garamond\">");
+                    
+            out.println("<center>Hello, " + username + "!");
+            out.println("Click <a href=\"jsp/welcome.jsp\"> here </a> to enter the site  </center>");
+            out.println("</font></body></html>");
+                           
+        }
+    }
+
+    public String getServletInfo() {
+        return "Welcome to your personalised page !";
+    }
+    
+}

Propchange: geronimo/samples/branches/1.0/migration-servlets/src/servlets/PersonalServlet.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/branches/1.0/migration-servlets/src/servlets/PersonalServlet.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/branches/1.0/migration-servlets/src/servlets/PersonalServlet.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/samples/branches/1.0/migration-servlets/src/servlets/WelcomeServlet.java
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/1.0/migration-servlets/src/servlets/WelcomeServlet.java?rev=636529&view=auto
==============================================================================
--- geronimo/samples/branches/1.0/migration-servlets/src/servlets/WelcomeServlet.java (added)
+++ geronimo/samples/branches/1.0/migration-servlets/src/servlets/WelcomeServlet.java Wed Mar 12 14:54:41 2008
@@ -0,0 +1,81 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements.  See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the "License"); you may not use this file except in compliance with
+* the License.  You may obtain a copy of the License at
+*
+*     http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+package servlets;
+
+import java.io.*;
+import java.util.*;
+import java.sql.*;
+import javax.servlet.*;
+import javax.servlet.http.*;
+
+
+/**
+ * This is a simple example of an HTTP Servlet.  It responds to the GET
+ * method of the HTTP protocol.
+ */
+
+public class WelcomeServlet extends HttpServlet {
+    public void doGet(HttpServletRequest request, HttpServletResponse response)
+        throws ServletException, IOException {
+
+        response.setContentType("text/html");
+        response.setBufferSize(8192);
+
+        PrintWriter out = response.getWriter();
+
+        // then write the data of the response
+        out.println("<html>" + "<head><title>Welcome</title></head>");
+
+        // then write the data of the response
+         out.println("<body background=\"pix/98.jpg\" alt=\"Aatmatrisha\">"  +
+                "<font face=\"Garamond\">"+
+                                
+            
+                "<center><h1 style=\"color:white\">Aatmatrisha'05 - the annual PESIT college fest </h1></center>" +
+                "<form  method=\"get\">" +
+                "<center><h2 style=\"color:white\">Login Page </h1></center>" +
+                "<form  method=\"get\">" +
+            "<h3 style=\"color:white\"> Name                  :   </h3>" +
+            "<input type=\"text\" name=\"username\" size=\"25\">" + "<p></p>" +     
+            "<h3 style=\"color:white\">College               :   </h3>" +
+                        "<input type=\"text\" name=\"college\" size=\"25\">" + "<p></p>" +
+            "<input type=\"submit\" value=\"Submit\">" +
+            "<input type=\"reset\" value=\"Reset\">" + "</font>"+
+        "</form>");
+
+        String username = request.getParameter("username");
+        
+
+        if ((username != null) && (username.length() > 0)) {
+            RequestDispatcher dispatcher =
+                getServletContext()
+                    .getRequestDispatcher("/personal");
+// wrapper for the servlet 
+            if (dispatcher != null) {
+                dispatcher.include(request, response);
+            }
+        }
+
+        out.println("</body></html>");
+        out.close();
+    }
+
+    public String getServletInfo() {
+        return "The College Fest servlet welcomes you!";
+    }
+}

Propchange: geronimo/samples/branches/1.0/migration-servlets/src/servlets/WelcomeServlet.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/branches/1.0/migration-servlets/src/servlets/WelcomeServlet.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/branches/1.0/migration-servlets/src/servlets/WelcomeServlet.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain