<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-203</id>
	<title>Nabble - Struts</title>
	<updated>2008-07-23T21:50:16Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/Struts-f203.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Struts-f203.html" />
	<subtitle type="html">Apache Structs is to provide an open source framework for building Java web applications. Struts home is &lt;a href=&quot;http://struts.apache.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:www.nabble.com,2006:post-18625361</id>
	<title>how to fix Validation isses in a wizard application + Train</title>
	<published>2008-07-23T21:50:16Z</published>
	<updated>2008-07-23T21:50:16Z</updated>
	<author>
		<name>ravi_eze</name>
	</author>
	<content type="html">hi,
&lt;br&gt;&lt;br&gt;&lt;b&gt;The issue:&lt;/b&gt;&lt;br&gt;&lt;br&gt;1. We have implemented a wizard application (with 4 Steps) with action variables maintained in session.
&lt;br&gt;2. The pages also have train in the top, i.e. from any step &lt;b&gt;he can jump to any of the other steps&lt;/b&gt;.
&lt;br&gt;3. The &lt;b&gt;Step1, 2,3,4&lt;/b&gt;&amp;nbsp;(mentioned above )&lt;b&gt;&amp;nbsp;are&lt;/b&gt;&amp;nbsp;&lt;b&gt;interdependent&lt;/b&gt;&amp;nbsp;i.e. based on selection in step 1 step 2 is influenced; based on selection in step 2 step 3 is influenced and so on
&lt;br&gt;&lt;br&gt;4. &lt;b&gt;Now:&lt;/b&gt;&amp;nbsp;In step 1 user entered wrong value (10000 say) for integer field which is not allowed by validations. He clicks &amp;nbsp;on save and page throws validation exceptions (Expected)
&lt;br&gt;5. He then clicks on train 2 i.e. he is jumping to page 2
&lt;br&gt;6. The page is being displayed based on the incorrect value (100000) which was rejected by validation of first page. If i use the train again and go back to the 1st step i still see 10000 there
&lt;br&gt;&lt;br&gt;7.&lt;b&gt;&amp;nbsp;Question:&lt;/b&gt;&amp;nbsp;When validation error happens aren't the action variable values restored to the previous once?(say the prev once &amp;nbsp;is 10 or 0 i think they should be reset to 10 or 0 when system throws error at 10000). Is there any way &amp;nbsp;in which this can &amp;nbsp;happen? 
&lt;br&gt;&lt;br&gt;is there any way to call an interceptor/ execute a method after the JSP is rendered? so that i can restore variables back incase of validation errors.
&lt;br&gt;&lt;br&gt;Please help.
&lt;br&gt;&lt;br&gt;cheers,
&lt;br&gt;ravi 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Struts---User-f206.html&quot; embed=&quot;fixTarget[206]&quot; target=&quot;_top&quot; &gt;Struts - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/how-to-fix-Validation-isses-in-a-wizard-application-%2B-Train-tp18625361p18625361.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18624621</id>
	<title>Re: S2 REST plugin</title>
	<published>2008-07-23T20:00:31Z</published>
	<updated>2008-07-23T20:00:31Z</updated>
	<author>
		<name>Jeromy Evans - Blue Sky Minds</name>
	</author>
	<content type="html">Mike Watson wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi folks,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; As mentioned in previous posts I'm using the REST plugin to serve
&lt;br&gt;&amp;gt; images and everything seems to work fine when the content exists.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; However if I return an empty inputstream to StreamResult with a 404
&lt;br&gt;&amp;gt; response code I get the exception below.
&lt;br&gt;&amp;gt; Stepping through the code the getBufferSize() method on my controller
&lt;br&gt;&amp;gt; is definitely called and returns a legitimate value...
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;Does this only occur when you return a null or 0 buffer size?
&lt;br&gt;&lt;br&gt;My guess is that it's a bug in the StreamResult or the result handler. &amp;nbsp;
&lt;br&gt;It probably evaluates &amp;quot;${bufferSize}&amp;quot; and deduces that the property 
&lt;br&gt;doesn't exist (because it's null/0) and uses it as a literal string 
&lt;br&gt;value instead. &amp;nbsp;That's just a guess.
&lt;br&gt;&lt;br&gt;Is it really valid to return a zero length stream result? &amp;nbsp;I would 
&lt;br&gt;instead return a http status result with 404 / NullResult for the error 
&lt;br&gt;case (ie. just headers, no content).
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18624621&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18624621&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Struts---User-f206.html&quot; embed=&quot;fixTarget[206]&quot; target=&quot;_top&quot; &gt;Struts - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/S2-REST-plugin-tp18624255p18624621.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18624255</id>
	<title>S2 REST plugin</title>
	<published>2008-07-23T19:13:47Z</published>
	<updated>2008-07-23T19:13:47Z</updated>
	<author>
		<name>Mike Watson-2</name>
	</author>
	<content type="html">Hi folks,
&lt;br&gt;&lt;br&gt;As mentioned in previous posts I'm using the REST plugin to serve
&lt;br&gt;images and everything seems to work fine when the content exists.
&lt;br&gt;&lt;br&gt;However if I return an empty inputstream to StreamResult with a 404
&lt;br&gt;response code I get the exception below.
&lt;br&gt;Stepping through the code the getBufferSize() method on my controller
&lt;br&gt;is definitely called and returns a legitimate value...
&lt;br&gt;&lt;br&gt;My struts.xml is included below the stack trace. Does anyone have any
&lt;br&gt;suggestions why I'm getting this error (the calling client doesn't see
&lt;br&gt;it it's just messing up my logs).
&lt;br&gt;&lt;br&gt;[24/07/08 14:03:40:390 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R
&lt;br&gt;java.lang.NumberFormatException: For input string: &amp;quot;${bufferSize}&amp;quot;
&lt;br&gt;[24/07/08 14:03:40:390 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;java.lang.NumberFormatException.forInputString(NumberFormatException.java:63)
&lt;br&gt;[24/07/08 14:03:40:390 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;java.lang.Long.parseLong(Long.java:418)
&lt;br&gt;[24/07/08 14:03:40:390 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;java.lang.Long.parseLong(Long.java:476)
&lt;br&gt;[24/07/08 14:03:40:390 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.conversion.impl.DefaultTypeConverter.longValue(DefaultTypeConverter.java:209)
&lt;br&gt;[24/07/08 14:03:40:390 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.conversion.impl.DefaultTypeConverter.convertValue(DefaultTypeConverter.java:122)
&lt;br&gt;[24/07/08 14:03:40:390 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.conversion.impl.DefaultTypeConverter.convertValue(DefaultTypeConverter.java:72)
&lt;br&gt;[24/07/08 14:03:40:390 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.conversion.impl.XWorkBasicConverter.doConvertToNumber(XWorkBasicConverter.java:382)
&lt;br&gt;[24/07/08 14:03:40:390 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.conversion.impl.XWorkBasicConverter.convertValue(XWorkBasicConverter.java:118)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.conversion.impl.XWorkConverter.convertValue(XWorkConverter.java:295)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.ognl.OgnlTypeConverterWrapper.convertValue(OgnlTypeConverterWrapper.java:28)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;ognl.OgnlRuntime.getConvertedType(OgnlRuntime.java:701)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;ognl.OgnlRuntime.getConvertedTypes(OgnlRuntime.java:717)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;ognl.OgnlRuntime.getConvertedMethodAndArgs(OgnlRuntime.java:740)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;ognl.OgnlRuntime.getAppropriateMethod(OgnlRuntime.java:797)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:808)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;ognl.OgnlRuntime.setMethodValue(OgnlRuntime.java:978)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;ognl.ObjectPropertyAccessor.setPossibleProperty(ObjectPropertyAccessor.java:75)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;ognl.ObjectPropertyAccessor.setProperty(ObjectPropertyAccessor.java:131)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.ognl.accessor.ObjectAccessor.setProperty(ObjectAccessor.java:28)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;ognl.OgnlRuntime.setProperty(OgnlRuntime.java:1670)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;ognl.ASTProperty.setValueBody(ASTProperty.java:101)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;ognl.SimpleNode.evaluateSetValueBody(SimpleNode.java:177)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;ognl.SimpleNode.setValue(SimpleNode.java:246)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;ognl.Ognl.setValue(Ognl.java:476)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.ognl.OgnlUtil.setValue(OgnlUtil.java:192)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.ognl.OgnlUtil.internalSetProperty(OgnlUtil.java:385)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.ognl.OgnlUtil.setProperties(OgnlUtil.java:84)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.ognl.OgnlReflectionProvider.setProperties(OgnlReflectionProvider.java:54)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.ObjectFactory.buildResult(ObjectFactory.java:218)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.DefaultActionInvocation.createResult(DefaultActionInvocation.java:201)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:348)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:258)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;org.apache.struts2.rest.RestWorkflowInterceptor.doIntercept(RestWorkflowInterceptor.java:221)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:229)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:249)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:229)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:122)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:229)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;org.apache.struts2.rest.ContentTypeInterceptor.intercept(ContentTypeInterceptor.java:67)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:229)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:179)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:229)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:140)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:229)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:93)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:229)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:225)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:229)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:89)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:229)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:128)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:229)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:179)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:229)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;org.apache.struts2.interceptor.ProfilingActivationInterceptor.intercept(ProfilingActivationInterceptor.java:104)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:229)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:267)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:229)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:126)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:229)
&lt;br&gt;[24/07/08 14:03:40:406 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:148)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:229)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:138)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:229)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;org.apache.struts2.interceptor.MessageStoreInterceptor.intercept(MessageStoreInterceptor.java:204)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:229)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:229)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:128)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:229)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:229)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.opensymphony.xwork2.DefaultActionProxy.execute(DefaultActionProxy.java:129)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:449)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:395)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:768)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:676)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:691)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.ibm.ws.wswebcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:118)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.invokeFilters(DefaultExtensionProcessor.java:791)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:741)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.ibm.ws.wswebcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:113)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3276)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:113)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:263)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
&lt;br&gt;[24/07/08 14:03:40:421 NZST] 0000001c SystemErr &amp;nbsp; &amp;nbsp; R 	at
&lt;br&gt;com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;
&lt;br&gt;&amp;lt;!DOCTYPE struts PUBLIC &amp;quot;-//Apache Software Foundation//DTD Struts
&lt;br&gt;Configuration 2.0//EN&amp;quot;
&lt;br&gt;&amp;quot;&lt;a href=&quot;http://jakarta.apache.org/struts/dtds/struts-2.0.dtd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jakarta.apache.org/struts/dtds/struts-2.0.dtd&lt;/a&gt;&amp;quot; &amp;gt;
&lt;br&gt;&amp;lt;struts&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;constant name=&amp;quot;struts.action.extension&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; value=&amp;quot;xhtml,,xml,json,img,png&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;!-- TODO: set devMode false before releasing product!!! --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;constant name=&amp;quot;struts.devMode&amp;quot; value=&amp;quot;true&amp;quot; /&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;bean type=&amp;quot;org.apache.struts2.dispatcher.mapper.ActionMapper&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; name=&amp;quot;hierarchical&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; class=&amp;quot;net.somecompany.rest.actionmapper.HierarchicalRestActionMapper&amp;quot;
&lt;br&gt;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;constant name=&amp;quot;struts.mapper.class&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; value=&amp;quot;hierarchical&amp;quot;/&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;!-- location in the webapp/classpath of default results --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;constant name=&amp;quot;struts.codebehind.pathPrefix&amp;quot; value=&amp;quot;/WEB-INF/results/&amp;quot;/&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;bean name=&amp;quot;namedVariablePatternMatcher&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; type=&amp;quot;com.opensymphony.xwork2.util.PatternMatcher&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; class=&amp;quot;com.opensymphony.xwork2.util.NamedVariablePatternMatcher&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;constant name=&amp;quot;struts.patternMatcher&amp;quot; value=&amp;quot;namedVariablePatternMatcher&amp;quot;/&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;constant name=&amp;quot;struts.codebehind.defaultPackage&amp;quot; value=&amp;quot;rest-h&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;constant name=&amp;quot;struts.configuration.classpath.defaultParentPackage&amp;quot;
&lt;br&gt;value=&amp;quot;rest-h&amp;quot; /&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;!-- Our custom XML handler, based on JiBX --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;bean name=&amp;quot;myXML&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; type=&amp;quot;org.apache.struts2.rest.handler.ContentTypeHandler&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; class=&amp;quot;net.somecompany.domain.struts.StrutsXMLHandler&amp;quot; /&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;!-- Our custom image handler --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;bean name=&amp;quot;myImg&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; type=&amp;quot;org.apache.struts2.rest.handler.ContentTypeHandler&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; class=&amp;quot;net.somecompany.domain.struts.ImgHandler&amp;quot; /&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;package name=&amp;quot;rest-h&amp;quot; extends=&amp;quot;rest-default&amp;quot; namespace=&amp;quot;/&amp;quot;&amp;gt;
&lt;br&gt;&amp;lt;!--
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;!- Global results for error and exception handling. -&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;global-results&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;result name=&amp;quot;exception&amp;quot; type=&amp;quot;redirect&amp;quot;&amp;gt;/error.jsp&amp;lt;/result&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/global-results&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;global-exception-mappings&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;exception-mapping exception=&amp;quot;java.lang.Throwable&amp;quot; result=&amp;quot;exception&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/global-exception-mappings&amp;gt;
&lt;br&gt;&amp;nbsp;--&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/package&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;package name=&amp;quot;imagePackage&amp;quot; extends=&amp;quot;rest-h&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;action name=&amp;quot;image&amp;quot; class=&amp;quot;net.somecompany.rest.action.ImageController&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;result name=&amp;quot;image&amp;quot; type=&amp;quot;stream&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param name=&amp;quot;contentType&amp;quot;&amp;gt;${contentType}&amp;lt;/param&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param name=&amp;quot;inputName&amp;quot;&amp;gt;image&amp;lt;/param&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param name=&amp;quot;bufferSize&amp;quot;&amp;gt;${bufferSize}&amp;lt;/param&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/result&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/action&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/package&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;/struts&amp;gt;
&lt;br&gt;&lt;br&gt;Cheers Mike
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18624255&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18624255&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Struts---User-f206.html&quot; embed=&quot;fixTarget[206]&quot; target=&quot;_top&quot; &gt;Struts - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/S2-REST-plugin-tp18624255p18624255.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18624149</id>
	<title>Re: What is the best way to handle cancel, Update, Back Buttons in Struts2</title>
	<published>2008-07-23T19:04:22Z</published>
	<updated>2008-07-23T19:04:22Z</updated>
	<author>
		<name>Gabriel Belingueres-2</name>
	</author>
	<content type="html">The defaultStack interceptor stack provides you with convenient method
&lt;br&gt;name defaults which will not run validations. When you call an action
&lt;br&gt;executing any of these method names: &amp;quot;input&amp;quot;, &amp;quot;back&amp;quot;, &amp;quot;cancel&amp;quot; or
&lt;br&gt;&amp;quot;browse&amp;quot;, the validations will not execute.
&lt;br&gt;&lt;br&gt;2008/7/23 hisameer &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18624149&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cool_sameer_for_u@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hello Everyone
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I know this might be very easy for you guys but it is being difficult for
&lt;br&gt;&amp;gt; me.:working:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am developing an updateUser.jsp page and it has three buttons those are:
&lt;br&gt;&amp;gt; Update, Cancel, Back
&lt;br&gt;&amp;gt; Now if I press update it should invoke the updateUser action mapping also I
&lt;br&gt;&amp;gt; need to do the validation first before I do something else. If Cancel is
&lt;br&gt;&amp;gt; pressed the previous values which was already there in the field should be
&lt;br&gt;&amp;gt; displayed and when I press Back button it should not do anything just go to
&lt;br&gt;&amp;gt; my userList page.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So I am not able to understand how should I handle the struts.xml and the
&lt;br&gt;&amp;gt; jsp code. I know I can use built in validator framework and by defining the
&lt;br&gt;&amp;gt; validation.xml file for those fields but whenever I cancel or go Back the
&lt;br&gt;&amp;gt; error message appears in the page so I don't know how should I handle this
&lt;br&gt;&amp;gt; thing.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Please tell me the best way from your experience how should I handle this
&lt;br&gt;&amp;gt; kind of situation.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks for the help in advance!
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context: &lt;a href=&quot;http://www.nabble.com/What-is-the-best-way-to-handle-cancel%2C-Update%2C-Back-Buttons-in-Struts2-tp18621308p18621308.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/What-is-the-best-way-to-handle-cancel%2C-Update%2C-Back-Buttons-in-Struts2-tp18621308p18621308.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the Struts - User mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18624149&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18624149&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18624149&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18624149&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Struts---User-f206.html&quot; embed=&quot;fixTarget[206]&quot; target=&quot;_top&quot; &gt;Struts - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/What-is-the-best-way-to-handle-cancel%2C-Update%2C-Back-Buttons-in-Struts2-tp18621308p18624149.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18623775</id>
	<title>Re: Adding &lt;Linstener&gt;&quot; tag in web.xml results in Resource not found error on browser</title>
	<published>2008-07-23T18:14:33Z</published>
	<updated>2008-07-23T18:14:33Z</updated>
	<author>
		<name>Jeromy Evans - Blue Sky Minds</name>
	</author>
	<content type="html">anaeem wrote:
&lt;br&gt;&amp;gt; Can any one who has used ServletContextListener class, share their build.xml.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks much
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;It's not a build.xml issue.
&lt;br&gt;&lt;br&gt;The Resource Not Found error implies your Container failed to start.
&lt;br&gt;&lt;br&gt;The log for the Container will contain an error message. &amp;nbsp;In Tomcat this 
&lt;br&gt;may look like:
&lt;br&gt;&amp;nbsp;SEVERE: filterStart
&lt;br&gt;or
&lt;br&gt;&amp;nbsp;SEVERE: listenerStart
&lt;br&gt;&lt;br&gt;The former means it failed to start a filter, the latter that it failed 
&lt;br&gt;to start a listener.
&lt;br&gt;&lt;br&gt;There's many things that can go wrong. &amp;nbsp;You can find more information by 
&lt;br&gt;increasing the logging by your container.
&lt;br&gt;I think it's reasonable to assume it's a classpath error (you're missing 
&lt;br&gt;libraries) or a configuration error (you haven't setup your datasource, 
&lt;br&gt;you haven an error in a configuration file).
&lt;br&gt;&lt;br&gt;*If your listener is throwing an exception you'll see this error too.
&lt;br&gt;&lt;br&gt;Whatever the case, you need to learn how to isolate the problem 
&lt;br&gt;further. &amp;nbsp;If it's struts 2 related you'll be able to receive more help 
&lt;br&gt;here, but I don't think it is.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18623775&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18623775&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Struts---User-f206.html&quot; embed=&quot;fixTarget[206]&quot; target=&quot;_top&quot; &gt;Struts - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Adding-%3CLinstener%3E%22-tag-in-web.xml-results-in-Resource-not-found-error-on-browser-tp18614799p18623775.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18621308</id>
	<title>What is the best way to handle cancel, Update, Back Buttons in Struts2</title>
	<published>2008-07-23T15:24:18Z</published>
	<updated>2008-07-23T15:24:18Z</updated>
	<author>
		<name>hisameer</name>
	</author>
	<content type="html">Hello Everyone
&lt;br&gt;&lt;br&gt;I know this might be very easy for you guys but it is being difficult for me.&lt;img class='smiley' src='http://www.nabble.com/images/smiley/anim_working.gif' /&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;I am developing an updateUser.jsp page and it has three buttons those are: &lt;b&gt;Update&lt;/b&gt;, &lt;b&gt;Cancel&lt;/b&gt;, &lt;b&gt;Back&lt;/b&gt;&lt;br&gt;Now if I press update it should invoke the updateUser action mapping also I need to do the validation first before I do something else. If &lt;b&gt;Cancel&lt;/b&gt;&amp;nbsp;is pressed the previous values which was already there in the field should be displayed and when I press &lt;b&gt;Back&lt;/b&gt;&amp;nbsp;button it should not do anything just go to &amp;nbsp;my userList page.
&lt;br&gt;&lt;br&gt;So I am not able to understand how should I handle the struts.xml and the jsp code. I know I can use built in validator framework and by defining the validation.xml file for those fields but whenever I cancel or go Back the error message appears in the page so I don't know how should I handle this thing.
&lt;br&gt;&lt;br&gt;Please tell me the best way from your experience how should I handle this kind of situation.
&lt;br&gt;&lt;br&gt;Thanks for the help in advance!&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Struts---User-f206.html&quot; embed=&quot;fixTarget[206]&quot; target=&quot;_top&quot; &gt;Struts - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/What-is-the-best-way-to-handle-cancel%2C-Update%2C-Back-Buttons-in-Struts2-tp18621308p18621308.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18620824</id>
	<title>Re: [S2] i18n messages, Tiles2 l10n, &quot;default&quot; locale, and browser preferences.</title>
	<published>2008-07-23T14:16:24Z</published>
	<updated>2008-07-23T14:16:24Z</updated>
	<author>
		<name>Chris Pratt</name>
	</author>
	<content type="html">I don't know why that's happening, but I've seen it as well. &amp;nbsp;Have you
&lt;br&gt;tried using an essentially empty tiles_en.xml? &amp;nbsp;It might have the same
&lt;br&gt;effect as the ApplicationResources_en.properties. &amp;nbsp;I would assume it
&lt;br&gt;would need to be a well formed, but empty xml document.
&lt;br&gt;&amp;nbsp; (*Chris*)
&lt;br&gt;&lt;br&gt;On Wed, Jul 23, 2008 at 1:07 PM, Pierre Thibaudeau
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18620824&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pierre.thibaudeau@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Using Struts 2.1.2
&lt;br&gt;&amp;gt; My browser (Firefox 3) has a prefered locale (and only one): &amp;nbsp;fr_CA
&lt;br&gt;&amp;gt; Struts2 constant: struts.locale=en_US
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I use i18n throughout the software.
&lt;br&gt;&amp;gt; There is a &amp;quot;default&amp;quot; resource (whose content happens to be in
&lt;br&gt;&amp;gt; English): ApplicationResource.properties.
&lt;br&gt;&amp;gt; There are also resource bundles in 4 languages:
&lt;br&gt;&amp;gt; &amp;nbsp; ApplicationResources_fr.properties,
&lt;br&gt;&amp;gt; &amp;nbsp; ApplicationResources_it.properties,
&lt;br&gt;&amp;gt; &amp;nbsp; ApplicationResources_de.properties,
&lt;br&gt;&amp;gt; &amp;nbsp; ApplicationResources_es.properties.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Until last week, there was no English resource file (since the default
&lt;br&gt;&amp;gt; one was taking care of it).
&lt;br&gt;&amp;gt; That strategy worked perfectly in Struts1, but it seems that in
&lt;br&gt;&amp;gt; Struts2, the system has a mind of its own:
&lt;br&gt;&amp;gt; given my browser's preference, the default bundle (on my system) seems
&lt;br&gt;&amp;gt; to be ApplicationResources_fr.properties insteand of
&lt;br&gt;&amp;gt; ApplicationResources.properties...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I solved that by creating an empty ApplicationResources_en.properties,
&lt;br&gt;&amp;gt; and everything fell back into place: &amp;nbsp;English pages display in
&lt;br&gt;&amp;gt; English, while German pages display in German (when German is
&lt;br&gt;&amp;gt; available) and in English (when not available). &amp;nbsp;Great. &amp;nbsp;(I don't
&lt;br&gt;&amp;gt; understand why creating an empty ApplicationResources_en.properties
&lt;br&gt;&amp;gt; would ensure missing German resources to be displayed in English
&lt;br&gt;&amp;gt; rather than in French, but what matters is that it now works.)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; A new problem arises when I wish to localize an entire page using
&lt;br&gt;&amp;gt; Tiles2. For the pages containing paragraphs and paragraphs of static
&lt;br&gt;&amp;gt; text, it is easier to maintain localized tiles, than localized
&lt;br&gt;&amp;gt; resource messages. &amp;nbsp;Therefore:
&lt;br&gt;&amp;gt; I have one general Tile definition file: &amp;nbsp;tiles.xml
&lt;br&gt;&amp;gt; and four localized ones: &amp;nbsp;tiles_fr.xml, tiles_it.xml, tiles_de.xml, tiles_es.xml
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; And this is where a new version of the earlier problem surfaces...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Since I have not yet had time to translate every single static page in
&lt;br&gt;&amp;gt; every single available language, I would like to revert to some
&lt;br&gt;&amp;gt; default English when the localized version is unavailable. &amp;nbsp;That's
&lt;br&gt;&amp;gt; what tiles.xml is for, yet I presently get served the French version
&lt;br&gt;&amp;gt; by default. &amp;nbsp;I understand the logic: &amp;nbsp;if my browser gives French as
&lt;br&gt;&amp;gt; the preferred language, it's reasonable to assume that I would be
&lt;br&gt;&amp;gt; happy to cope with that language. &amp;nbsp;Indeed I would. &amp;nbsp;But looking at the
&lt;br&gt;&amp;gt; Italian version of my site may now give me a Neapolitan-combo with
&lt;br&gt;&amp;gt; three languages:
&lt;br&gt;&amp;gt; * Italian for the bits that have been translated,
&lt;br&gt;&amp;gt; * English for the _messages_ that have not been translated in Italian,
&lt;br&gt;&amp;gt; * and French for the _static tiles_ (according to tiles_fr.xml).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; That's a little Byzantine.
&lt;br&gt;&amp;gt; A Russian salad, as we'd say in French.
&lt;br&gt;&amp;gt; A smörgåsbord, if you will.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Have I, as the developer, got control over what &amp;quot;default&amp;quot; version the
&lt;br&gt;&amp;gt; user is going to see?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18620824&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18620824&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18620824&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18620824&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Struts---User-f206.html&quot; embed=&quot;fixTarget[206]&quot; target=&quot;_top&quot; &gt;Struts - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-S2--i18n-messages%2C-Tiles2-l10n%2C-%22default%22-locale%2C-and-browser-preferences.-tp18619351p18620824.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18619351</id>
	<title>[S2] i18n messages, Tiles2 l10n, &quot;default&quot; locale, and browser preferences.</title>
	<published>2008-07-23T13:07:52Z</published>
	<updated>2008-07-23T13:07:52Z</updated>
	<author>
		<name>Pierre Thibaudeau-4</name>
	</author>
	<content type="html">Using Struts 2.1.2
&lt;br&gt;My browser (Firefox 3) has a prefered locale (and only one): &amp;nbsp;fr_CA
&lt;br&gt;Struts2 constant: struts.locale=en_US
&lt;br&gt;&lt;br&gt;I use i18n throughout the software.
&lt;br&gt;There is a &amp;quot;default&amp;quot; resource (whose content happens to be in
&lt;br&gt;English): ApplicationResource.properties.
&lt;br&gt;There are also resource bundles in 4 languages:
&lt;br&gt;&amp;nbsp; &amp;nbsp;ApplicationResources_fr.properties,
&lt;br&gt;&amp;nbsp; &amp;nbsp;ApplicationResources_it.properties,
&lt;br&gt;&amp;nbsp; &amp;nbsp;ApplicationResources_de.properties,
&lt;br&gt;&amp;nbsp; &amp;nbsp;ApplicationResources_es.properties.
&lt;br&gt;&lt;br&gt;Until last week, there was no English resource file (since the default
&lt;br&gt;one was taking care of it).
&lt;br&gt;That strategy worked perfectly in Struts1, but it seems that in
&lt;br&gt;Struts2, the system has a mind of its own:
&lt;br&gt;given my browser's preference, the default bundle (on my system) seems
&lt;br&gt;to be ApplicationResources_fr.properties insteand of
&lt;br&gt;ApplicationResources.properties...
&lt;br&gt;&lt;br&gt;I solved that by creating an empty ApplicationResources_en.properties,
&lt;br&gt;and everything fell back into place: &amp;nbsp;English pages display in
&lt;br&gt;English, while German pages display in German (when German is
&lt;br&gt;available) and in English (when not available). &amp;nbsp;Great. &amp;nbsp;(I don't
&lt;br&gt;understand why creating an empty ApplicationResources_en.properties
&lt;br&gt;would ensure missing German resources to be displayed in English
&lt;br&gt;rather than in French, but what matters is that it now works.)
&lt;br&gt;&lt;br&gt;A new problem arises when I wish to localize an entire page using
&lt;br&gt;Tiles2. For the pages containing paragraphs and paragraphs of static
&lt;br&gt;text, it is easier to maintain localized tiles, than localized
&lt;br&gt;resource messages. &amp;nbsp;Therefore:
&lt;br&gt;I have one general Tile definition file: &amp;nbsp;tiles.xml
&lt;br&gt;and four localized ones: &amp;nbsp;tiles_fr.xml, tiles_it.xml, tiles_de.xml, tiles_es.xml
&lt;br&gt;&lt;br&gt;And this is where a new version of the earlier problem surfaces...
&lt;br&gt;&lt;br&gt;Since I have not yet had time to translate every single static page in
&lt;br&gt;every single available language, I would like to revert to some
&lt;br&gt;default English when the localized version is unavailable. &amp;nbsp;That's
&lt;br&gt;what tiles.xml is for, yet I presently get served the French version
&lt;br&gt;by default. &amp;nbsp;I understand the logic: &amp;nbsp;if my browser gives French as
&lt;br&gt;the preferred language, it's reasonable to assume that I would be
&lt;br&gt;happy to cope with that language. &amp;nbsp;Indeed I would. &amp;nbsp;But looking at the
&lt;br&gt;Italian version of my site may now give me a Neapolitan-combo with
&lt;br&gt;three languages:
&lt;br&gt;* Italian for the bits that have been translated,
&lt;br&gt;* English for the _messages_ that have not been translated in Italian,
&lt;br&gt;* and French for the _static tiles_ (according to tiles_fr.xml).
&lt;br&gt;&lt;br&gt;That's a little Byzantine.
&lt;br&gt;A Russian salad, as we'd say in French.
&lt;br&gt;A smörgåsbord, if you will.
&lt;br&gt;&lt;br&gt;Have I, as the developer, got control over what &amp;quot;default&amp;quot; version the
&lt;br&gt;user is going to see?
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18619351&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18619351&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Struts---User-f206.html&quot; embed=&quot;fixTarget[206]&quot; target=&quot;_top&quot; &gt;Struts - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-S2--i18n-messages%2C-Tiles2-l10n%2C-%22default%22-locale%2C-and-browser-preferences.-tp18619351p18619351.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18616610</id>
	<title>Re: Firefox 3 and &lt;s:head theme=ajax/&gt; render issues</title>
	<published>2008-07-23T10:48:33Z</published>
	<updated>2008-07-23T10:48:33Z</updated>
	<author>
		<name>secondsun</name>
	</author>
	<content type="html">I am not sure what the exact problem is, but it has to do with the way that browser_debug.js gets processed. &amp;nbsp;One would think that this file would only get pulled in when the head tag attribute debug=true, but one would be wrong in that situation.
&lt;br&gt;&lt;br&gt;The &amp;quot;correct&amp;quot; way to fix this bug is to supply your own template for the head tag which will make the dojo attribute debugAtAllCosts respect the head debug flag.
&lt;br&gt;&lt;br&gt;To do this,
&lt;br&gt;&lt;br&gt;1. create a file named head.ftl in your simple templates directory. &amp;nbsp; ( ie $classpath/template/simple/head.ftl)
&lt;br&gt;&lt;br&gt;2. Paste this text into it:
&lt;br&gt;&lt;br&gt;&amp;lt;script language=&amp;quot;JavaScript&amp;quot; type=&amp;quot;text/javascript&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; // Dojo configuration
&lt;br&gt;&amp;nbsp; &amp;nbsp; djConfig = {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; baseRelativePath: &amp;quot;&amp;lt;@s.url includeParams='none' value='/struts/dojo' includeParams=&amp;quot;none&amp;quot; encode='false'/&amp;gt;&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; isDebug: ${parameters.debug?default(false)},
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bindEncoding: &amp;quot;${parameters.encoding}&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; debugAtAllCosts: ${parameters.debug?default(false)}, // not needed, but allows the Venkman debugger to work with the includes
&lt;br&gt;&amp;nbsp; &amp;nbsp; };
&lt;br&gt;&amp;lt;/script&amp;gt;
&lt;br&gt;&amp;lt;script language=&amp;quot;JavaScript&amp;quot; type=&amp;quot;text/javascript&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; src=&amp;quot;&amp;lt;@s.url includeParams='none' value='/struts/dojo/dojo.js' includeParams=&amp;quot;none&amp;quot; encode='false'/&amp;gt;&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;
&lt;br&gt;&amp;lt;script language=&amp;quot;JavaScript&amp;quot; type=&amp;quot;text/javascript&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; src=&amp;quot;&amp;lt;@s.url includeParams='none' value='/struts/simple/dojoRequire.js' includeParams=&amp;quot;none&amp;quot; encode='false'/&amp;gt;&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;3. Refresh your page, the bug should be gone as long as the struts head tag does not have debug set to true.
&lt;br&gt;&lt;br&gt;Of course, you will have to turn debugging on to get firebug happy, but I believe that that is an acceptable compromise.
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Struts---User-f206.html&quot; embed=&quot;fixTarget[206]&quot; target=&quot;_top&quot; &gt;Struts - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Firefox-3-and-%3Cs%3Ahead-theme%3Dajax-%3E-render-issues-tp18260192p18616610.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18616268</id>
	<title>Re: Adding &lt;Linstener&gt;&quot; tag in web.xml results in Resource not found error on browser</title>
	<published>2008-07-23T10:30:56Z</published>
	<updated>2008-07-23T10:30:56Z</updated>
	<author>
		<name>Gabriel Belingueres-2</name>
	</author>
	<content type="html">that could be a sign that your context listener is not initializing
&lt;br&gt;correctly. Take a look at your server log.
&lt;br&gt;&lt;br&gt;2008/7/23 anaeem &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18616268&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;anaeem@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Can any one who has used ServletContextListener class, share their build.xml.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks much
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; newton.dave wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; --- On Wed, 7/23/08, anaeem &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18616268&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;anaeem@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; When I insert &amp;quot;&amp;lt;Listener&amp;gt;&amp;quot; tag to my web descriptor file,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; application gives 404 error &amp;quot;Resource not Found&amp;quot;. When I
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; remove listener tag it works fine. Please advice some solution.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ...
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Leave the listener element out?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; But seriously--that's like saying &amp;quot;I put this tag in my JSP and now my JSP
&lt;br&gt;&amp;gt;&amp;gt; won't render. Why not?&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; See the issue?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Dave
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18616268&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18616268&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context: &lt;a href=&quot;http://www.nabble.com/Adding-%3CLinstener%3E%22-tag-in-web.xml-results-in-Resource-not-found-error-on-browser-tp18614799p18615682.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/Adding-%3CLinstener%3E%22-tag-in-web.xml-results-in-Resource-not-found-error-on-browser-tp18614799p18615682.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the Struts - User mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18616268&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18616268&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18616268&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18616268&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Struts---User-f206.html&quot; embed=&quot;fixTarget[206]&quot; target=&quot;_top&quot; &gt;Struts - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Adding-%3CLinstener%3E%22-tag-in-web.xml-results-in-Resource-not-found-error-on-browser-tp18614799p18616268.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18615736</id>
	<title>Build.xml</title>
	<published>2008-07-23T10:05:11Z</published>
	<updated>2008-07-23T10:05:11Z</updated>
	<author>
		<name>anaeem</name>
	</author>
	<content type="html">Can any one who has used ServletContextListener class in a project, share their Build.xml file?&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Struts---User-f206.html&quot; embed=&quot;fixTarget[206]&quot; target=&quot;_top&quot; &gt;Struts - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Build.xml-tp18615736p18615736.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18615682</id>
	<title>Re: Adding &lt;Linstener&gt;&quot; tag in web.xml results in Resource not found error on browser</title>
	<published>2008-07-23T10:02:35Z</published>
	<updated>2008-07-23T10:02:35Z</updated>
	<author>
		<name>anaeem</name>
	</author>
	<content type="html">Can any one who has used ServletContextListener class, share their build.xml.
&lt;br&gt;&lt;br&gt;Thanks much
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;newton.dave wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;--- On Wed, 7/23/08, anaeem &amp;lt;anaeem@novaresearch.com&amp;gt; wrote:
&lt;br&gt;&amp;gt; When I insert &amp;quot;&amp;lt;Listener&amp;gt;&amp;quot; tag to my web descriptor file, 
&lt;br&gt;&amp;gt; application gives 404 error &amp;quot;Resource not Found&amp;quot;. When I 
&lt;br&gt;&amp;gt; remove listener tag it works fine. Please advice some solution.
&lt;br&gt;&lt;br&gt;...
&lt;br&gt;&lt;br&gt;Leave the listener element out?
&lt;br&gt;&lt;br&gt;But seriously--that's like saying &amp;quot;I put this tag in my JSP and now my JSP won't render. Why not?&amp;quot;
&lt;br&gt;&lt;br&gt;See the issue?
&lt;br&gt;&lt;br&gt;Dave
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
&lt;br&gt;For additional commands, e-mail: user-help@struts.apache.org
&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Struts---User-f206.html&quot; embed=&quot;fixTarget[206]&quot; target=&quot;_top&quot; &gt;Struts - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Adding-%3CLinstener%3E%22-tag-in-web.xml-results-in-Resource-not-found-error-on-browser-tp18614799p18615682.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18615264</id>
	<title>Re: Adding &lt;Linstener&gt;&quot; tag in web.xml results in Resource not found error on browser</title>
	<published>2008-07-23T09:40:46Z</published>
	<updated>2008-07-23T09:40:46Z</updated>
	<author>
		<name>newton.dave</name>
	</author>
	<content type="html">--- On Wed, 7/23/08, anaeem &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18615264&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;anaeem@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; When I insert &amp;quot;&amp;lt;Listener&amp;gt;&amp;quot; tag to my web descriptor file, 
&lt;br&gt;&amp;gt; application gives 404 error &amp;quot;Resource not Found&amp;quot;. When I 
&lt;br&gt;&amp;gt; remove listener tag it works fine. Please advice some solution.
&lt;br&gt;&lt;br&gt;...
&lt;br&gt;&lt;br&gt;Leave the listener element out?
&lt;br&gt;&lt;br&gt;But seriously--that's like saying &amp;quot;I put this tag in my JSP and now my JSP won't render. Why not?&amp;quot;
&lt;br&gt;&lt;br&gt;See the issue?
&lt;br&gt;&lt;br&gt;Dave
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18615264&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18615264&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Struts---User-f206.html&quot; embed=&quot;fixTarget[206]&quot; target=&quot;_top&quot; &gt;Struts - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Adding-%3CLinstener%3E%22-tag-in-web.xml-results-in-Resource-not-found-error-on-browser-tp18614799p18615264.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18615142</id>
	<title>Re: Adding &lt;Linstener&gt;&quot; tag in web.xml results in Resource not found error on browser</title>
	<published>2008-07-23T09:37:45Z</published>
	<updated>2008-07-23T09:37:45Z</updated>
	<author>
		<name>anaeem</name>
	</author>
	<content type="html">Here are some more details: -
&lt;br&gt;&lt;br&gt;I like to use context listener class to save datasource information. I have implemented a ServletContextListener named AppListener.
&lt;br&gt;&lt;br&gt;Following is the code for Web.xml: -
&lt;br&gt;&lt;br&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;
&lt;br&gt;&amp;lt;web-app xmlns=&amp;quot;&lt;a href=&quot;http://java.sun.com/xml/ns/javaee&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/xml/ns/javaee&lt;/a&gt;&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; xmlns:xsi=&amp;quot;&lt;a href=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/a&gt;&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; xsi:schemaLocation=&amp;quot;&lt;a href=&quot;http://java.sun.com/xml/ns/javaee&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/xml/ns/javaee&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd&lt;/a&gt;&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; version=&amp;quot;2.5&amp;quot;&amp;gt; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;context-param&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;dataSourceJndiName&amp;lt;/param-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;java:/comp/env/jdbc/myDataSource&amp;lt;/param-value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/context-param&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;context-param&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;dbType&amp;lt;/param-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;mysql&amp;lt;/param-value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/context-param&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;filter&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-name&amp;gt;struts2&amp;lt;/filter-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-class&amp;gt;org.apache.struts2.dispatcher.FilterDispatcher&amp;lt;/filter-class&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/filter&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;filter-mapping&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-name&amp;gt;struts2&amp;lt;/filter-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;url-pattern&amp;gt;/*&amp;lt;/url-pattern&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/filter-mapping&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;listener&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;listener-class&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; QDSweb.AppListener
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/listener-class&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/listener&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;!-- Restrict direct access to JSPs. 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;For the security constraint to work, the auth-constraint
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;and login-config elements must be present --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;security-constraint&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;web-resource-collection&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;web-resource-name&amp;gt;JSPs&amp;lt;/web-resource-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;url-pattern&amp;gt;/jsp/*&amp;lt;/url-pattern&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/web-resource-collection&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;auth-constraint/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/security-constraint&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;login-config&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;auth-method&amp;gt;BASIC&amp;lt;/auth-method&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/login-config&amp;gt;
&lt;br&gt;&amp;lt;/web-app&amp;gt; 
&lt;br&gt;&lt;br&gt;Application compiles successfully, but gives runtime error that &amp;quot;Resource not found&amp;quot;. When I remove &amp;lt;listener&amp;gt; tag from my web.xml, it runs smootly. But I would like to use ServletContextListener Class.
&lt;br&gt;I have seen same problem reported in some other forums but didn't find the solution. In one forum I found out that this problem has to do with some mapping files and fix it with build.xml. 
&lt;br&gt;Any help would be appreciated. &amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;anaeem wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;When I insert &amp;quot;&amp;lt;Listener&amp;gt;&amp;quot; tag to my web descriptor file, application gives 404 error
&lt;br&gt;&amp;quot;Resource not Found&amp;quot;. When I remove listener tag it works fine. Please
&lt;br&gt;advice some solution.
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Struts---User-f206.html&quot; embed=&quot;fixTarget[206]&quot; target=&quot;_top&quot; &gt;Struts - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Adding-%3CLinstener%3E%22-tag-in-web.xml-results-in-Resource-not-found-error-on-browser-tp18614799p18615142.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18615004</id>
	<title>Re: [S2] &lt;s:text&gt;, resource key and OgnlValueStack</title>
	<published>2008-07-23T09:30:57Z</published>
	<updated>2008-07-23T09:30:57Z</updated>
	<author>
		<name>Pierre Thibaudeau-4</name>
	</author>
	<content type="html">2008/7/23 Jeromy Evans &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18615004&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jeromy.evans@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; Can you please raise this in JIRA?
&lt;br&gt;&lt;br&gt;Here ya go, Jeromy:
&lt;br&gt;&lt;a href=&quot;https://issues.apache.org/struts/browse/WW-2732&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/struts/browse/WW-2732&lt;/a&gt;&lt;br&gt;&lt;br&gt;(I hesitated on the &amp;quot;Type&amp;quot; to give to this issue...)
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18615004&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18615004&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Struts---User-f206.html&quot; embed=&quot;fixTarget[206]&quot; target=&quot;_top&quot; &gt;Struts - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-S2--%3Cs%3Atext%3E%2C-resource-key-and-OgnlValueStack-tp18604728p18615004.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18614912</id>
	<title>Re: Adding &lt;Linstener&gt;&quot; tag in web.xml results in Resource not found error on browser</title>
	<published>2008-07-23T09:27:14Z</published>
	<updated>2008-07-23T09:27:14Z</updated>
	<author>
		<name>Lukasz Lenart</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;Maybe some more details?
&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;-- 
&lt;br&gt;Lukasz
&lt;br&gt;&lt;a href=&quot;http://www.lenart.org.pl/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.lenart.org.pl/&lt;/a&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18614912&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18614912&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Struts---User-f206.html&quot; embed=&quot;fixTarget[206]&quot; target=&quot;_top&quot; &gt;Struts - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Adding-%3CLinstener%3E%22-tag-in-web.xml-results-in-Resource-not-found-error-on-browser-tp18614799p18614912.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18614799</id>
	<title>Adding &lt;Linstener&gt;&quot; tag in web.xml results in Resource not found error on browser</title>
	<published>2008-07-23T09:23:24Z</published>
	<updated>2008-07-23T09:23:24Z</updated>
	<author>
		<name>anaeem</name>
	</author>
	<content type="html">When I insert &amp;quot;&amp;lt;Listener&amp;gt;&amp;quot; tag to my web descriptor file, application gives 404 error
&lt;br&gt;&amp;quot;Resource not Found&amp;quot;. When I remove listener tag it works fine. Please
&lt;br&gt;advice some solution.&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Struts---User-f206.html&quot; embed=&quot;fixTarget[206]&quot; target=&quot;_top&quot; &gt;Struts - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Adding-%3CLinstener%3E%22-tag-in-web.xml-results-in-Resource-not-found-error-on-browser-tp18614799p18614799.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18614738</id>
	<title>Re: Problem accessing iterated object (&lt;s:iterator)</title>
	<published>2008-07-23T09:20:05Z</published>
	<updated>2008-07-23T09:20:05Z</updated>
	<author>
		<name>Lukasz Lenart</name>
	</author>
	<content type="html">&amp;gt; I don't think the var will work always, ie I am using struts 2.0.6
&lt;br&gt;&amp;gt; The webworl.tld does not contain the var.
&lt;br&gt;&lt;br&gt;var was introduced with Struts 2.1 and id was depreacted
&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;-- 
&lt;br&gt;Lukasz
&lt;br&gt;&lt;a href=&quot;http://www.lenart.org.pl/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.lenart.org.pl/&lt;/a&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18614738&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18614738&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Struts---User-f206.html&quot; embed=&quot;fixTarget[206]&quot; target=&quot;_top&quot; &gt;Struts - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Problem-accessing-iterated-object-%28%3Cs%3Aiterator%29-tp18614028p18614738.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18614641</id>
	<title>Adding &lt;Linstener&gt; in web.xml results in Resource not found error on browser</title>
	<published>2008-07-23T09:19:06Z</published>
	<updated>2008-07-23T09:19:06Z</updated>
	<author>
		<name>anaeem</name>
	</author>
	<content type="html">Hi,

When I insert &quot;&lt;Listener&gt;&quot; tag to my web descriptor file, application gives 404 error &quot;Resource not Found&quot;. When I remove listener tag it works fine. Please advice some solution. &lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Struts---User-f206.html&quot; embed=&quot;fixTarget[206]&quot; target=&quot;_top&quot; &gt;Struts - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Adding-%3CLinstener%3E-in-web.xml-results-in-Resource-not-found-error-on-browser-tp18614641p18614641.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18614565</id>
	<title>RE: Problem accessing iterated object (&lt;s:iterator)</title>
	<published>2008-07-23T09:12:52Z</published>
	<updated>2008-07-23T09:12:52Z</updated>
	<author>
		<name>Jishnu Viswanath</name>
	</author>
	<content type="html">I don't think the var will work always, ie I am using struts 2.0.6 
&lt;br&gt;The webworl.tld does not contain the var.
&lt;br&gt;&lt;br&gt;I expect lawDraft.docs contains a title then
&lt;br&gt;&amp;lt;s:iterator value=&amp;quot; lawDraft.docs&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;s:property value=&amp;quot;title&amp;quot;/&amp;gt;
&lt;br&gt;&amp;lt;/s:iterator&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;Jishnu Viswanath
&lt;br&gt;&lt;br&gt;Software Engineer
&lt;br&gt;&lt;br&gt;*(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll
&lt;br&gt;&lt;br&gt;Tavant Technologies Inc.,
&lt;br&gt;&lt;br&gt;www.tavant.com
&lt;br&gt;&lt;br&gt;PEOPLE :: PASSION :: EXCELLENCE
&lt;br&gt;&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Jim Kiley [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18614565&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jhkiley@...&lt;/a&gt;] 
&lt;br&gt;Sent: Wednesday, July 23, 2008 9:26 PM
&lt;br&gt;To: Struts Users Mailing List
&lt;br&gt;Subject: Re: Problem accessing iterated object (&amp;lt;s:iterator)
&lt;br&gt;&lt;br&gt;The 'status' variable does not hold the individual instance. &amp;nbsp;It holds
&lt;br&gt;an
&lt;br&gt;IteratorStatus object, which does things like tell you whether this row
&lt;br&gt;is
&lt;br&gt;odd or even. &amp;nbsp;You want to do var=&amp;quot;document&amp;quot; instead.
&lt;br&gt;&lt;br&gt;On Wed, Jul 23, 2008 at 11:53 AM, holod &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18614565&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;serega.sheypak@...&lt;/a&gt;&amp;gt;
&lt;br&gt;wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Plsease, see my code:
&lt;br&gt;&amp;gt; &amp;lt;table&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;s:iterator value=&amp;quot;%{lawDraft.docs}&amp;quot; status=&amp;quot;document&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;tr&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;td&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;s:url id=&amp;quot;downloadLink&amp;quot;
&lt;br&gt;&amp;gt; value=&amp;quot;downloadLawDraftDocument.action&amp;quot;
&lt;br&gt;&amp;gt; namespace=&amp;quot;/admin&amp;quot; &amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;s:param name=&amp;quot;lawDraftId&amp;quot;
&lt;/div&gt;value=&amp;quot;#
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; document.lawDraft.id&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;s:param name=&amp;quot;documentTitle&amp;quot;
&lt;br&gt;&amp;gt; value=&amp;quot;#document.title&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/s:url&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;a_ href=&amp;quot;#downloadLink&amp;quot; &amp;gt;&amp;lt;s:property
&lt;br&gt;&amp;gt; value=&amp;quot;#document.title&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/td&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;td&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;delete document &amp;lt;img_ align=&amp;quot;left&amp;quot; src=&amp;quot;&amp;lt;s:url
&lt;br&gt;&amp;gt; value=&amp;quot;/images/admin/delete.gif&amp;quot;/&amp;gt;&amp;quot; onclick=&amp;quot;&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/td&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/tr&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/s:iterator&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/table&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; previous action has method getLawdraft();
&lt;br&gt;&amp;gt; LawDraft has method getDocs();
&lt;br&gt;&amp;gt; getDocs() returns a List
&lt;br&gt;&amp;gt; List consists of Document objects, the have methods
&lt;/div&gt;getLawDraft().getId()
&lt;br&gt;&amp;gt; and others.
&lt;br&gt;&amp;gt; Iterator repeat 5 times (correct), but output doesn't have values
&lt;br&gt;(they
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; are!
&lt;br&gt;&amp;gt; previous action prints them using logger)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Please, see the output:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;tr&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;td&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;a_ href=&amp;quot;#downloadLink&amp;quot; &amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/td&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;td&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;delete document &amp;lt;img_ align=&amp;quot;left&amp;quot;
&lt;br&gt;&amp;gt; src=&amp;quot;/CLIAccess/images/admin/delete.gif&amp;quot; onclick=&amp;quot;&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/td&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/tr&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; *Sorry for &amp;lt;a_ and &amp;lt;img_, Nabble doesn't escape html (
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context:
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;a href=&quot;http://www.nabble.com/Problem-accessing-iterated-object-%28%3Cs%3Aiterat&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/Problem-accessing-iterated-object-%28%3Cs%3Aiterat&lt;/a&gt;&lt;br&gt;or%29-tp18614028p18614028.html
&lt;br&gt;&amp;gt; Sent from the Struts - User mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18614565&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18614565&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Jim Kiley
&lt;br&gt;Technical Consultant | Summa
&lt;br&gt;[p] 412.258.3346 [m] 412.445.1729
&lt;br&gt;&lt;a href=&quot;http://www.summa-tech.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.summa-tech.com&lt;/a&gt;&lt;br&gt;Any comments or statements made in this email are not necessarily those of Tavant Technologies.
&lt;br&gt;The information transmitted is intended only for the person or entity to which it is addressed and may 
&lt;br&gt;contain confidential and/or privileged material. If you have received this in error, please contact the 
&lt;br&gt;sender and delete the material from any computer. All e-mails sent from or to Tavant Technologies 
&lt;br&gt;may be subject to our monitoring procedures.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18614565&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18614565&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Struts---User-f206.html&quot; embed=&quot;fixTarget[206]&quot; target=&quot;_top&quot; &gt;Struts - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Problem-accessing-iterated-object-%28%3Cs%3Aiterator%29-tp18614028p18614565.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18614454</id>
	<title>[jira] Created: (WW-2732) &lt;s:text name=&quot;key&quot;/&gt; OGNL-evaluates &quot;key&quot; when it is not found in resource bundle</title>
	<published>2008-07-23T09:08:06Z</published>
	<updated>2008-07-23T09:08:06Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&amp;lt;s:text name=&amp;quot;key&amp;quot;/&amp;gt; OGNL-evaluates &amp;quot;key&amp;quot; when it is not found in resource bundle
&lt;br&gt;---------------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: WW-2732
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;https://issues.apache.org/struts/browse/WW-2732&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/struts/browse/WW-2732&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: Struts 2
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: Plugin - Tags, Value Stack
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 2.1.2
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Environment: Tested with 2.1.2, but the issue could have existed earlier.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Pierre Thibaudeau
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Priority: Minor
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;lt;s:text name=&amp;quot;key&amp;quot;/&amp;gt; outputs the resource message designated by &amp;quot;key&amp;quot;.
&lt;br&gt;&lt;br&gt;If no such message exists (and the body of the tag is empty), it reverts to outputting the name of the key itself, as an unevaluated string. &amp;nbsp;At least, that's the behaviour of the tag, as described in the documentation.
&lt;br&gt;&lt;br&gt;In fact, however, the name of the key is now being evaluated as an OGNL expression, and if that turns out to be valid, that is what's printed.
&lt;br&gt;&lt;br&gt;This, in my view, is counter-intuitive and probably counter-productive. &amp;nbsp;Consider the case of a ModelDriven&amp;lt;Book&amp;gt; action exposing a Book-object to the View.
&lt;br&gt;Normally,
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;s:text name=&amp;quot;title&amp;quot;/&amp;gt;: ${title}
&lt;br&gt;&lt;br&gt;would have yielded:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; title: The Great Gatsby
&lt;br&gt;&lt;br&gt;if the resource message &amp;quot;title&amp;quot; was missing from the resource bundle. &amp;nbsp;That's not too bad an outcome. &amp;nbsp;However, with the key being OGNL-evaluated, we would get the following output:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; The Great Gatsby: The Great Gatsby
&lt;br&gt;&lt;br&gt;which I find a little puzzling...
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Struts---Dev-f205.html&quot; embed=&quot;fixTarget[205]&quot; target=&quot;_top&quot; &gt;Struts - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-jira--Created%3A-%28WW-2732%29-%3Cs%3Atext-name%3D%22key%22-%3E-OGNL-evaluates-%22key%22-when-it-is-not-found-in-resource-bundle-tp18614454p18614454.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18614196</id>
	<title>[jira] Commented: (WW-2731) 运行s:if抛出异常，不支持EL表达式</title>
	<published>2008-07-23T08:58:05Z</published>
	<updated>2008-07-23T08:58:05Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;https://issues.apache.org/struts/browse/WW-2731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=44469#action_44469&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/struts/browse/WW-2731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=44469#action_44469&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Dave Newton commented on WW-2731:
&lt;br&gt;---------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt; so i think this is a bug in the version 2.1.2.
&lt;br&gt;to
&lt;br&gt;&amp;gt; I am not sure wether a bug or not.
&lt;br&gt;&lt;br&gt;It's not; &amp;nbsp;your edit is closer to the truth.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 运行s:if抛出异常，不支持EL表达式
&lt;br&gt;&amp;gt; -------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: WW-2731
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/struts/browse/WW-2731&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/struts/browse/WW-2731&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Struts 2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Plugin - Tags
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.1.2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Environment: windowxp sp2 tomcat-6.0.16 struts2.1.2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: liqi
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; jsp页面内容如下：
&lt;br&gt;&amp;gt; &amp;lt;s:set name=&amp;quot;age&amp;quot; value=&amp;quot;29&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;s:if test=&amp;quot;${age &amp;gt; 60}&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; 老年人
&lt;br&gt;&amp;gt; &amp;lt;/s:if&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;s:elseif test=&amp;quot;${age &amp;gt; 35}&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; 中年人
&lt;br&gt;&amp;gt; &amp;lt;/s:elseif&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;s:elseif test=&amp;quot;${age &amp;gt; 15}&amp;quot; id=&amp;quot;wawa&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; 	青年人
&lt;br&gt;&amp;gt; &amp;lt;/s:elseif&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;s:else&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; 少年
&lt;br&gt;&amp;gt; &amp;lt;/s:else&amp;gt;
&lt;br&gt;&amp;gt; 抛出异常信息如下：
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;org.apache.jasper.JasperException: /s-if.jsp(18,0) According to TLD or attribute directive in tag file, attribute test does not accept any expressions
&lt;br&gt;&amp;gt; 	org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
&lt;br&gt;&amp;gt; 	org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
&lt;br&gt;&amp;gt; 	org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:148)
&lt;br&gt;&amp;gt; 	org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1172)
&lt;br&gt;&amp;gt; 	org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:819)
&lt;br&gt;&amp;gt; 	org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512)
&lt;br&gt;&amp;gt; 	org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
&lt;br&gt;&amp;gt; 	org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393)
&lt;br&gt;&amp;gt; 	org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2399)
&lt;br&gt;&amp;gt; 	org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
&lt;br&gt;&amp;gt; 	org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
&lt;br&gt;&amp;gt; 	org.apache.jasper.compiler.Validator.validate(Validator.java:1737)
&lt;br&gt;&amp;gt; 	org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:165)
&lt;br&gt;&amp;gt; 	org.apache.jasper.compiler.Compiler.compile(Compiler.java:314)
&lt;br&gt;&amp;gt; 	org.apache.jasper.compiler.Compiler.compile(Compiler.java:294)
&lt;br&gt;&amp;gt; 	org.apache.jasper.compiler.Compiler.compile(Compiler.java:281)
&lt;br&gt;&amp;gt; 	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
&lt;br&gt;&amp;gt; 	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
&lt;br&gt;&amp;gt; 	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
&lt;br&gt;&amp;gt; 	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
&lt;br&gt;&amp;gt; 	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
&lt;br&gt;&amp;gt; 	org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:140)
&lt;br&gt;&amp;gt; 	org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:186)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:355)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:259)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:141)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:248)
&lt;br&gt;&amp;gt; 	org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:49)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:124)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:170)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:170)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:104)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227)
&lt;br&gt;&amp;gt; 	org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:84)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227)
&lt;br&gt;&amp;gt; 	org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:208)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:88)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:127)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227)
&lt;br&gt;&amp;gt; 	org.apache.struts2.interceptor.ProfilingActivationInterceptor.intercept(ProfilingActivationInterceptor.java:104)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227)
&lt;br&gt;&amp;gt; 	org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:267)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:130)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:143)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:137)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227)
&lt;br&gt;&amp;gt; 	org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:130)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456)
&lt;br&gt;&amp;gt; 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227)
&lt;br&gt;&amp;gt; 	org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)
&lt;br&gt;&amp;gt; 	org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:477)
&lt;br&gt;&amp;gt; 	org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:467)
&lt;br&gt;&amp;gt; 分析原因：
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;struts2-core-2.1.2.jar中的struts-tags.tld中内容，
&lt;br&gt;&amp;gt; &amp;lt;tag&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;name&amp;gt;if&amp;lt;/name&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;tag-class&amp;gt;org.apache.struts2.views.jsp.IfTag&amp;lt;/tag-class&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;body-content&amp;gt;JSP&amp;lt;/body-content&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;description&amp;gt;&amp;lt;![CDATA[If tag]]&amp;gt;&amp;lt;/description&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;attribute&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;name&amp;gt;test&amp;lt;/name&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;required&amp;gt;true&amp;lt;/required&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;rtexprvalue&amp;gt;false&amp;lt;/rtexprvalue&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;description&amp;gt;&amp;lt;![CDATA[Expression to determine if body of tag is to be displayed]]&amp;gt;&amp;lt;/description&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;/attribute&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;dynamic-attributes&amp;gt;false&amp;lt;/dynamic-attributes&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;/tag&amp;gt;
&lt;br&gt;&amp;gt; 其中属性test的rtextpvalue为false，应当改为true支持EL表达式。
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Struts---Dev-f205.html&quot; embed=&quot;fixTarget[205]&quot; target=&quot;_top&quot; &gt;Struts - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-jira--Created%3A-%28WW-2731%29-%E8%BF%90%E8%A1%8Cs%3Aif%E6%8A%9B%E5%87%BA%E5%BC%82%E5%B8%B8%EF%BC%8C%E4%B8%8D%E6%94%AF%E6%8C%81EL%E8%A1%A8%E8%BE%BE%E5%BC%8F-tp18589393p18614196.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18614168</id>
	<title>Re: Problem accessing iterated object (&lt;s:iterator)</title>
	<published>2008-07-23T08:56:15Z</published>
	<updated>2008-07-23T08:56:15Z</updated>
	<author>
		<name>Jim Kiley</name>
	</author>
	<content type="html">The 'status' variable does not hold the individual instance. &amp;nbsp;It holds an
&lt;br&gt;IteratorStatus object, which does things like tell you whether this row is
&lt;br&gt;odd or even. &amp;nbsp;You want to do var=&amp;quot;document&amp;quot; instead.
&lt;br&gt;&lt;br&gt;On Wed, Jul 23, 2008 at 11:53 AM, holod &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18614168&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;serega.sheypak@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Plsease, see my code:
&lt;br&gt;&amp;gt; &amp;lt;table&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;s:iterator value=&amp;quot;%{lawDraft.docs}&amp;quot; status=&amp;quot;document&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;tr&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;td&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;s:url id=&amp;quot;downloadLink&amp;quot;
&lt;br&gt;&amp;gt; value=&amp;quot;downloadLawDraftDocument.action&amp;quot;
&lt;br&gt;&amp;gt; namespace=&amp;quot;/admin&amp;quot; &amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;s:param name=&amp;quot;lawDraftId&amp;quot; value=&amp;quot;#
&lt;br&gt;&amp;gt; document.lawDraft.id&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;s:param name=&amp;quot;documentTitle&amp;quot;
&lt;br&gt;&amp;gt; value=&amp;quot;#document.title&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/s:url&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;a_ href=&amp;quot;#downloadLink&amp;quot; &amp;gt;&amp;lt;s:property
&lt;br&gt;&amp;gt; value=&amp;quot;#document.title&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/td&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;td&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;delete document &amp;lt;img_ align=&amp;quot;left&amp;quot; src=&amp;quot;&amp;lt;s:url
&lt;br&gt;&amp;gt; value=&amp;quot;/images/admin/delete.gif&amp;quot;/&amp;gt;&amp;quot; onclick=&amp;quot;&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/td&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/tr&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/s:iterator&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/table&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; previous action has method getLawdraft();
&lt;br&gt;&amp;gt; LawDraft has method getDocs();
&lt;br&gt;&amp;gt; getDocs() returns a List
&lt;br&gt;&amp;gt; List consists of Document objects, the have methods getLawDraft().getId()
&lt;br&gt;&amp;gt; and others.
&lt;br&gt;&amp;gt; Iterator repeat 5 times (correct), but output doesn't have values (they
&lt;br&gt;&amp;gt; are!
&lt;br&gt;&amp;gt; previous action prints them using logger)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Please, see the output:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;tr&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;td&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;a_ href=&amp;quot;#downloadLink&amp;quot; &amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/td&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;td&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;delete document &amp;lt;img_ align=&amp;quot;left&amp;quot;
&lt;br&gt;&amp;gt; src=&amp;quot;/CLIAccess/images/admin/delete.gif&amp;quot; onclick=&amp;quot;&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/td&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/tr&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; *Sorry for &amp;lt;a_ and &amp;lt;img_, Nabble doesn't escape html (
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/Problem-accessing-iterated-object-%28%3Cs%3Aiterator%29-tp18614028p18614028.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/Problem-accessing-iterated-object-%28%3Cs%3Aiterator%29-tp18614028p18614028.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the Struts - User mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18614168&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18614168&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Jim Kiley
&lt;br&gt;Technical Consultant | Summa
&lt;br&gt;[p] 412.258.3346 [m] 412.445.1729
&lt;br&gt;&lt;a href=&quot;http://www.summa-tech.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.summa-tech.com&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Struts---User-f206.html&quot; embed=&quot;fixTarget[206]&quot; target=&quot;_top&quot; &gt;Struts - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Problem-accessing-iterated-object-%28%3Cs%3Aiterator%29-tp18614028p18614168.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18614028</id>
	<title>Problem accessing iterated object (&lt;s:iterator)</title>
	<published>2008-07-23T08:53:30Z</published>
	<updated>2008-07-23T08:53:30Z</updated>
	<author>
		<name>holod</name>
	</author>
	<content type="html">Plsease, see my code:
&lt;br&gt;&amp;lt;table&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;s:iterator value=&amp;quot;%{lawDraft.docs}&amp;quot; status=&amp;quot;document&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;s:url id=&amp;quot;downloadLink&amp;quot; value=&amp;quot;downloadLawDraftDocument.action&amp;quot; namespace=&amp;quot;/admin&amp;quot; &amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; 					&amp;lt;s:param name=&amp;quot;lawDraftId&amp;quot; value=&amp;quot;#document.lawDraft.id&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; 					&amp;lt;s:param name=&amp;quot;documentTitle&amp;quot; value=&amp;quot;#document.title&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/s:url&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;a_ href=&amp;quot;#downloadLink&amp;quot; &amp;gt;&amp;lt;s:property value=&amp;quot;#document.title&amp;quot;/&amp;gt; &lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; delete document &amp;lt;img_ align=&amp;quot;left&amp;quot; src=&amp;quot;&amp;lt;s:url value=&amp;quot;/images/admin/delete.gif&amp;quot;/&amp;gt;&amp;quot; onclick=&amp;quot;&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/s:iterator&amp;gt;
&lt;br&gt;&amp;lt;/table&amp;gt;
&lt;br&gt;&lt;br&gt;previous action has method getLawdraft();
&lt;br&gt;LawDraft has method getDocs();
&lt;br&gt;getDocs() returns a List
&lt;br&gt;List consists of Document objects, the have methods getLawDraft().getId() and others.
&lt;br&gt;Iterator repeat 5 times (correct), but output doesn't have values (they are! previous action prints them using logger)
&lt;br&gt;&lt;br&gt;Please, see the output:
&lt;br&gt;&lt;br&gt;&amp;lt;tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;a_ href=&amp;quot;#downloadLink&amp;quot; &amp;gt; &lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; delete document &amp;lt;img_ align=&amp;quot;left&amp;quot; src=&amp;quot;/CLIAccess/images/admin/delete.gif&amp;quot; onclick=&amp;quot;&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/td&amp;gt;
&lt;br&gt;&amp;lt;/tr&amp;gt;
&lt;br&gt;&lt;br&gt;*Sorry for &amp;lt;a_ and &amp;lt;img_, Nabble doesn't escape html (&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Struts---User-f206.html&quot; embed=&quot;fixTarget[206]&quot; target=&quot;_top&quot; &gt;Struts - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Problem-accessing-iterated-object-%28%3Cs%3Aiterator%29-tp18614028p18614028.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18613862</id>
	<title>Re: namespace headpain</title>
	<published>2008-07-23T08:36:28Z</published>
	<updated>2008-07-23T08:36:28Z</updated>
	<author>
		<name>Lyallex</name>
	</author>
	<content type="html">Wow, something has started to work, I think .. it's a bit difficult to
&lt;br&gt;tell really but this is the first time I have ever managed to give an
&lt;br&gt;imported struts file a namespace and actually managed to get access to
&lt;br&gt;the actions
&lt;br&gt;Now I just gotta understand the ramifications
&lt;br&gt;&lt;br&gt;Thanks for taking the time to reply
&lt;br&gt;&lt;br&gt;lyallex
&lt;br&gt;&lt;br&gt;On Wed, Jul 23, 2008 at 4:14 PM, Dasgupta, Ranjan
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18613862&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Ranjan.Dasgupta@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; try setting:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;constant name=&amp;quot;struts.mapper.alwaysSelectFullNamespace&amp;quot; value=&amp;quot;true&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; in your struts.xml
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: mujoko mujoko [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18613862&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mujoko.mujoko@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; Sent: Wednesday, July 23, 2008 4:30 AM
&lt;br&gt;&amp;gt; To: Struts Users Mailing List
&lt;br&gt;&amp;gt; Subject: Re: namespace headpain
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It was happen to me also, then I just used annotation to replace struts
&lt;br&gt;&amp;gt; configuration and I used config-browser/index.action to list available
&lt;br&gt;&amp;gt; action and the detail.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; if my app is &lt;a href=&quot;http://localhost:8080/kopkar&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:8080/kopkar&lt;/a&gt;&amp;nbsp;then i will check to
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://localhost:8080/kopkar/config-browser/index.action&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:8080/kopkar/config-browser/index.action&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; but you need to add lib struts2-config-browser-plugin in your webb appp
&lt;br&gt;&amp;gt; lib
&lt;br&gt;&amp;gt; (WEB-INF/lib)
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://struts.apache.org/2.x/struts2-plugins/struts2-config-browser-plug&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://struts.apache.org/2.x/struts2-plugins/struts2-config-browser-plug&lt;/a&gt;&lt;br&gt;&amp;gt; in/
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Mujoko
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On 7/23/08, Lyallex &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18613862&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lyallex@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hi
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I'm having a problem getting my head around namespaces
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I have the folowing link
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;a href=&amp;quot;&amp;lt;s:url action=&amp;quot;passThroughToNewEstablishment&amp;quot;/&amp;gt;&amp;quot;&amp;gt;Create New
&lt;br&gt;&amp;gt;&amp;gt; Establishment&amp;lt;/a&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; in the main struts.xml I have the following
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;struts&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;package name=&amp;quot;dafault&amp;quot; extends=&amp;quot;struts-default&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;action name=&amp;quot;passThroughToNewEstablishment&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;result
&lt;br&gt;&amp;gt;&amp;gt; name=&amp;quot;success&amp;quot;&amp;gt;/establishment/getEstablishmentDetails.jsp&amp;lt;/result&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;/action&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; ...
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;/struts&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; This works fine
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Now I want to move the establishment stuff out of the main struts.xml
&lt;br&gt;&amp;gt;&amp;gt; file
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; So I create a new struts.xml file called estab.xml and place it in the
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; relevant class directory on the server
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;struts&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;package name=&amp;quot;estab&amp;quot; extends=&amp;quot;struts-default&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;action name=&amp;quot;passThroughToNewEstablishment&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;result
&lt;br&gt;&amp;gt;&amp;gt; name=&amp;quot;success&amp;quot;&amp;gt;/establishment/getEstablishmentDetails.jsp&amp;lt;/result&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/action&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;/struts&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&a