You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by ho...@apache.org on 2006/04/25 22:33:25 UTC
svn commit: r396977 - in /geronimo/daytrader/trunk/modules/web: pom.xml
src/main/webapp/WEB-INF/web.xml src/main/webapp/sample.jsp
Author: hogstrom
Date: Tue Apr 25 13:33:22 2006
New Revision: 396977
URL: http://svn.apache.org/viewcvs?rev=396977&view=rev
Log:
DAYTRADER-3 Patch to pre-compile JSPs
Modified:
geronimo/daytrader/trunk/modules/web/pom.xml
geronimo/daytrader/trunk/modules/web/src/main/webapp/WEB-INF/web.xml
geronimo/daytrader/trunk/modules/web/src/main/webapp/sample.jsp
Modified: geronimo/daytrader/trunk/modules/web/pom.xml
URL: http://svn.apache.org/viewcvs/geronimo/daytrader/trunk/modules/web/pom.xml?rev=396977&r1=396976&r2=396977&view=diff
==============================================================================
--- geronimo/daytrader/trunk/modules/web/pom.xml (original)
+++ geronimo/daytrader/trunk/modules/web/pom.xml Tue Apr 25 13:33:22 2006
@@ -46,13 +46,39 @@
<artifactId>geronimo-j2ee_1.4_spec</artifactId>
<scope>provided</scope>
</dependency>
+ <dependency>
+ <groupId>taglibs</groupId>
+ <artifactId>standard</artifactId>
+ <version>1.1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>jspc-maven-plugin</artifactId>
+ <version>1.4.4</version>
+ <scope>provided</scope>
+ </dependency>
</dependencies>
<build>
<plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>jspc-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>jspc</id>
+ <goals>
+ <goal>compile</goal>
+ </goals>
+ <configuration>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
+ <webXml>${basedir}/target/jspweb.xml</webXml>
<filters>
<filter>
${basedir}/src/main/webapp/WEB-INF/classes/build.properties
Modified: geronimo/daytrader/trunk/modules/web/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewcvs/geronimo/daytrader/trunk/modules/web/src/main/webapp/WEB-INF/web.xml?rev=396977&r1=396976&r2=396977&view=diff
==============================================================================
--- geronimo/daytrader/trunk/modules/web/src/main/webapp/WEB-INF/web.xml (original)
+++ geronimo/daytrader/trunk/modules/web/src/main/webapp/WEB-INF/web.xml Tue Apr 25 13:33:22 2006
@@ -243,6 +243,9 @@
<servlet-name>org_apache_geronimo_samples_daytrader_TradeWSAction</servlet-name>
<servlet-class>org.apache.geronimo.samples.daytrader.TradeWSAction</servlet-class>
</servlet>
+
+ <!-- [INSERT FRAGMENT HERE] -->
+
<servlet-mapping>
<servlet-name>TradeAppServlet</servlet-name>
<url-pattern>/app</url-pattern>
Modified: geronimo/daytrader/trunk/modules/web/src/main/webapp/sample.jsp
URL: http://svn.apache.org/viewcvs/geronimo/daytrader/trunk/modules/web/src/main/webapp/sample.jsp?rev=396977&r1=396976&r2=396977&view=diff
==============================================================================
--- geronimo/daytrader/trunk/modules/web/src/main/webapp/sample.jsp (original)
+++ geronimo/daytrader/trunk/modules/web/src/main/webapp/sample.jsp Tue Apr 25 13:33:22 2006
@@ -1,7 +1,7 @@
-<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
-<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
-<%@ taglib prefix="x" uri="http://java.sun.com/jstl/xml" %>
-<%@ taglib prefix="sql" uri="http://java.sun.com/jstl/sql" %>
+<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
+<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
+<%@ taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml" %>
+<%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql" %>
<jsp:useBean id="now" class="java.util.Date" />
<html>
<body>