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/04/11 22:48:42 UTC

svn commit: r647303 [8/8] - in /geronimo/samples/branches/2.0: migration-ejb-bmp/ migration-ejb-bmp/config/ migration-ejb-bmp/config/geronimo/ migration-ejb-bmp/config/jboss/ migration-ejb-bmp/src/ migration-ejb-bmp/src/META-INF/ migration-ejb-bmp/src/...

Added: geronimo/samples/branches/2.0/migration-servlets/jsp/dc.jsp
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/2.0/migration-servlets/jsp/dc.jsp?rev=647303&view=auto
==============================================================================
--- geronimo/samples/branches/2.0/migration-servlets/jsp/dc.jsp (added)
+++ geronimo/samples/branches/2.0/migration-servlets/jsp/dc.jsp Fri Apr 11 13:48:31 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/2.0/migration-servlets/jsp/dc.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

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

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

Added: geronimo/samples/branches/2.0/migration-servlets/jsp/gq.jsp
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/2.0/migration-servlets/jsp/gq.jsp?rev=647303&view=auto
==============================================================================
--- geronimo/samples/branches/2.0/migration-servlets/jsp/gq.jsp (added)
+++ geronimo/samples/branches/2.0/migration-servlets/jsp/gq.jsp Fri Apr 11 13:48:31 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/2.0/migration-servlets/jsp/gq.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

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

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

Added: geronimo/samples/branches/2.0/migration-servlets/jsp/index.html
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/2.0/migration-servlets/jsp/index.html?rev=647303&view=auto
==============================================================================
--- geronimo/samples/branches/2.0/migration-servlets/jsp/index.html (added)
+++ geronimo/samples/branches/2.0/migration-servlets/jsp/index.html Fri Apr 11 13:48:31 2008
@@ -0,0 +1,32 @@
+<!--
+  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.
+-->
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<script type="text/javascript">
+<!--
+    window.location="http://localhost:8080/college_fest/welcome"
+//-->
+</script>
+
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>Insert title here</title>
+</head>
+<body>
+
+</body>
+</html>
\ No newline at end of file

Propchange: geronimo/samples/branches/2.0/migration-servlets/jsp/index.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/branches/2.0/migration-servlets/jsp/index.html
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/branches/2.0/migration-servlets/jsp/index.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: geronimo/samples/branches/2.0/migration-servlets/jsp/pp.jsp
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/2.0/migration-servlets/jsp/pp.jsp?rev=647303&view=auto
==============================================================================
--- geronimo/samples/branches/2.0/migration-servlets/jsp/pp.jsp (added)
+++ geronimo/samples/branches/2.0/migration-servlets/jsp/pp.jsp Fri Apr 11 13:48:31 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/2.0/migration-servlets/jsp/pp.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

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

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

Added: geronimo/samples/branches/2.0/migration-servlets/jsp/team_reg.jsp
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/2.0/migration-servlets/jsp/team_reg.jsp?rev=647303&view=auto
==============================================================================
--- geronimo/samples/branches/2.0/migration-servlets/jsp/team_reg.jsp (added)
+++ geronimo/samples/branches/2.0/migration-servlets/jsp/team_reg.jsp Fri Apr 11 13:48:31 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/2.0/migration-servlets/jsp/team_reg.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

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

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

Added: geronimo/samples/branches/2.0/migration-servlets/jsp/welcome.jsp
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/2.0/migration-servlets/jsp/welcome.jsp?rev=647303&view=auto
==============================================================================
--- geronimo/samples/branches/2.0/migration-servlets/jsp/welcome.jsp (added)
+++ geronimo/samples/branches/2.0/migration-servlets/jsp/welcome.jsp Fri Apr 11 13:48:31 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/2.0/migration-servlets/jsp/welcome.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

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

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

Added: geronimo/samples/branches/2.0/migration-servlets/jsp/wtgw.jsp
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/2.0/migration-servlets/jsp/wtgw.jsp?rev=647303&view=auto
==============================================================================
--- geronimo/samples/branches/2.0/migration-servlets/jsp/wtgw.jsp (added)
+++ geronimo/samples/branches/2.0/migration-servlets/jsp/wtgw.jsp Fri Apr 11 13:48:31 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/2.0/migration-servlets/jsp/wtgw.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

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

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

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

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

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

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

Added: geronimo/samples/branches/2.0/migration-servlets/src/servlets/PersonalServlet.java
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/2.0/migration-servlets/src/servlets/PersonalServlet.java?rev=647303&view=auto
==============================================================================
--- geronimo/samples/branches/2.0/migration-servlets/src/servlets/PersonalServlet.java (added)
+++ geronimo/samples/branches/2.0/migration-servlets/src/servlets/PersonalServlet.java Fri Apr 11 13:48:31 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/2.0/migration-servlets/src/servlets/PersonalServlet.java
------------------------------------------------------------------------------
    svn:eol-style = native

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

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

Added: geronimo/samples/branches/2.0/migration-servlets/src/servlets/WelcomeServlet.java
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/2.0/migration-servlets/src/servlets/WelcomeServlet.java?rev=647303&view=auto
==============================================================================
--- geronimo/samples/branches/2.0/migration-servlets/src/servlets/WelcomeServlet.java (added)
+++ geronimo/samples/branches/2.0/migration-servlets/src/servlets/WelcomeServlet.java Fri Apr 11 13:48:31 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/2.0/migration-servlets/src/servlets/WelcomeServlet.java
------------------------------------------------------------------------------
    svn:eol-style = native

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

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