geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmcma...@apache.org
Subject svn commit: r518746 - in /geronimo/server/trunk/testsuite/web-testsuite/test-2.1-jsps/src/main/java/org: ./ apache/ apache/geronimo/ apache/geronimo/testsuite/ apache/geronimo/testsuite/jsps/ apache/geronimo/testsuite/jsps/HelloTag.java
Date Thu, 15 Mar 2007 20:29:01 GMT
Author: pmcmahan
Date: Thu Mar 15 13:28:59 2007
New Revision: 518746

URL: http://svn.apache.org/viewvc?view=rev&rev=518746
Log:
check in src file missing from 501716

Added:
    geronimo/server/trunk/testsuite/web-testsuite/test-2.1-jsps/src/main/java/org/
    geronimo/server/trunk/testsuite/web-testsuite/test-2.1-jsps/src/main/java/org/apache/
    geronimo/server/trunk/testsuite/web-testsuite/test-2.1-jsps/src/main/java/org/apache/geronimo/
    geronimo/server/trunk/testsuite/web-testsuite/test-2.1-jsps/src/main/java/org/apache/geronimo/testsuite/
    geronimo/server/trunk/testsuite/web-testsuite/test-2.1-jsps/src/main/java/org/apache/geronimo/testsuite/jsps/
    geronimo/server/trunk/testsuite/web-testsuite/test-2.1-jsps/src/main/java/org/apache/geronimo/testsuite/jsps/HelloTag.java
  (with props)

Added: geronimo/server/trunk/testsuite/web-testsuite/test-2.1-jsps/src/main/java/org/apache/geronimo/testsuite/jsps/HelloTag.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/web-testsuite/test-2.1-jsps/src/main/java/org/apache/geronimo/testsuite/jsps/HelloTag.java?view=auto&rev=518746
==============================================================================
--- geronimo/server/trunk/testsuite/web-testsuite/test-2.1-jsps/src/main/java/org/apache/geronimo/testsuite/jsps/HelloTag.java
(added)
+++ geronimo/server/trunk/testsuite/web-testsuite/test-2.1-jsps/src/main/java/org/apache/geronimo/testsuite/jsps/HelloTag.java
Thu Mar 15 13:28:59 2007
@@ -0,0 +1,37 @@
+/**
+ *  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 org.apache.geronimo.testsuite.jsps;
+
+import java.io.IOException;
+import javax.servlet.jsp.JspException;
+import javax.servlet.jsp.JspTagException;
+import javax.servlet.jsp.tagext.TagSupport;
+
+public class HelloTag extends TagSupport {
+   public int doStartTag() throws JspException {
+      try {
+          pageContext.getOut().print("Hello");
+      } catch (Exception e) {
+          throw new JspTagException(e.getMessage());
+      }
+      return SKIP_BODY;
+   }
+   public int doEndTag() {
+      return EVAL_PAGE;
+   }
+}

Propchange: geronimo/server/trunk/testsuite/web-testsuite/test-2.1-jsps/src/main/java/org/apache/geronimo/testsuite/jsps/HelloTag.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/web-testsuite/test-2.1-jsps/src/main/java/org/apache/geronimo/testsuite/jsps/HelloTag.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/server/trunk/testsuite/web-testsuite/test-2.1-jsps/src/main/java/org/apache/geronimo/testsuite/jsps/HelloTag.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message