Here you go:
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="t" tagdir="/WEB-INF/tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<t:MinimalHeader pageTitle="Assign locations to Correctors and Controllers"
pageName="Assign locations to Correctors and Controllers" />
<s:form action="struts/locationAssign">
<s:select name="locationAssignForm.userRole"
label="Please Select Role"
list="locationAssignForm.userRoles"
onChange="this.form.submit()"/>
<s:select name="locationAssignForm.currentUser"
label="Please Select User"
list="locationAssignForm.usersInRole"
listKey="email" listValue="fullName" headerKey="1"
headerValue="-- Please Select --"
onChange="this.form.submit()" />
<s:textarea name="locationAssignForm.usersLocations"
label="User Locations" rows="6"/>
<s:submit formFilter="formFilter" value="Save"/>
</s:form>
<t:MinimalFooter/>
-----Original Message-----
From: Biesbrock, Kevin [mailto:[email protected]]
Sent: Tuesday, December 14, 2010 2:28 PM
To: Struts Users Mailing List
Subject: RE: Help... My url grows...
Let's see your location assign jsp as well.
Beez
> From: Ellson, Jared L
> Sent: Tuesday, December 14, 2010 4:24 PM
>
> Hey anybody have a quick idea what would cause my URL to grow.
>
> First time I hit the page:
>
> http://localhost:8080/XXXX/struts/locationAssign
>
> submit the page then:
>
> http://localhost:8080/XXXX/struts/struts/locationAssign
>
> then submit again:
>
> http://localhost:8080/XXXX/struts/struts/struts/locationAssign
>
> Here is my struts.xml:
>
> <struts>
>
> <constant name="struts.devMode" value="true" />
>
> <package name="etasstruts2" extends="struts-default">
>
> <action name="test"
class="gov.usbr.etas.web.struts.StrutsTestAction" method="execute">
> <result name="success">/struts/test.jsp</result>
> <result name="input">/struts/test.jsp</result>
> </action>
> <action name="locationAssign"
class="gov.usbr.etas.web.struts.LocationAssignAction" method="execute">
> <result
name="success">/struts/locationAssign.jsp</result>
> <result
name="input">/struts/locationAssign.jsp</result>
> </action>
> </package>
>
> </struts>
>
> And my web.xml:
>
> <filter>
> <filter-name>struts2</filter-name>
>
<filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndEx
ecuteFilter</filter-class>
> </filter>
>
> <filter-mapping>
> <filter-name>struts2</filter-name>
> <url-pattern>/struts/*</url-pattern>
> </filter-mapping>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]