<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-203</id>
	<title>Nabble - Struts</title>
	<updated>2009-12-14T14:50:06Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Struts-f203.xml;" />
	<link rel="alternate" type="text/html" href="http://old.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:old.nabble.com,2006:post-26780218</id>
	<title>Re: unicode character is in wrong format</title>
	<published>2009-12-14T14:50:06Z</published>
	<updated>2009-12-14T14:50:06Z</updated>
	<author>
		<name>Alex Siman</name>
	</author>
	<content type="html">Here is the best checklist for Java webdev + UTF-8 
&lt;br&gt;&lt;a href=&quot;http://stackoverflow.com/questions/138948/how-to-get-utf-8-working-in-java-webapps&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://stackoverflow.com/questions/138948/how-to-get-utf-8-working-in-java-webapps&lt;/a&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;Nguyen Xuan Son-2 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;dear all
&lt;br&gt;im using PreparedStatement.setNString(int, String)
&lt;br&gt;to insert the japanese characters into my MySQL database
&lt;br&gt;but the result is all in &amp;quot;?????????&amp;quot; characters
&lt;br&gt;&lt;br&gt;PreparedStatement pstmt = conn.prepareStatement(sql5);
&lt;br&gt;pstmt.setNString(3, item.getTitle());
&lt;br&gt;rs = pstmt.executeUpdate();
&lt;br&gt;&lt;br&gt;do you have any suggestion?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;=======================================================================
&lt;br&gt;Ritsumeikan University, Asia JinZai Project
&lt;br&gt;Master of Information Science
&lt;br&gt;Nguyen Xuan Son
&lt;br&gt;&lt;br&gt;Add &amp;nbsp; &amp;nbsp; &amp;nbsp; : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18 ShiteiHaimu
&lt;br&gt;Rien, Room 103
&lt;br&gt;Tel/Fax &amp;nbsp;: 81-(0)90-3976 2246
&lt;br&gt;Email &amp;nbsp; &amp;nbsp;: nr0003xx@ed.ritsumei.ac.jp
&lt;br&gt;Mobile &amp;nbsp; : 81-(0)90-3976 2246 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL &amp;nbsp;: &lt;a href=&quot;http://www.ritsumei.jp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ritsumei.jp&lt;/a&gt;&lt;br&gt;=======================================================================
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.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://old.nabble.com/unicode-character-is-in-wrong-format-tp26773061p26780218.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26779909</id>
	<title>File I/O in Struts 1.2.x</title>
	<published>2009-12-14T08:33:02Z</published>
	<updated>2009-12-14T08:33:02Z</updated>
	<author>
		<name>davargas123</name>
	</author>
	<content type="html">Is it possible to upload a file to a server, process the data as it needs to be, and then write the file back to the local machine from which it originally was uploaded all in a single execute method of a single action class? Or, am I required to have an action for uploading it to the server, and another for processing, and another for downloading, or something in between?&lt;p&gt;From forum: &lt;a href=&quot;http://old.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://old.nabble.com/File-I-O-in-Struts-1.2.x-tp26779909p26779909.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26779724</id>
	<title>Essential Dependencies Only</title>
	<published>2009-12-14T07:36:16Z</published>
	<updated>2009-12-14T07:36:16Z</updated>
	<author>
		<name>stanlick</name>
	</author>
	<content type="html">Greetings and Happy Holidays -- 
&lt;br&gt;&lt;br&gt;I am sitting down to unwind the Essential Dependencies Only jar (struts-2.1.8.1-lib.zip) in preparation for the litany of questions the lawyers are going to ask before accepting the Struts 2.1.8.1 upgrade in house. &amp;nbsp;Now either I have a different understanding of the word essential, or this version of our new Struts has really spread her arms. &amp;nbsp;There are seventy-one jars in the lib folder of the *essential dependencies only jar* and a quick glance suggests they are *not* all essential. &amp;nbsp;So does essential != core or required? &amp;nbsp;Is there a resource where an analysis can be made to determine compile, testing, run-time dependencies? &amp;nbsp;Untangling this ball of yarn by hand is going to burn up hours and lead an analyst down many rabbit holes. &amp;nbsp;Is there a POM that could save the man hours?
&lt;br&gt;&lt;br&gt;Peace,
&lt;br&gt;Scott&lt;p&gt;From forum: &lt;a href=&quot;http://old.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://old.nabble.com/Essential-Dependencies-Only-tp26779724p26779724.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26776864</id>
	<title>Re: unicode character is in wrong format</title>
	<published>2009-12-14T04:14:51Z</published>
	<updated>2009-12-14T04:14:51Z</updated>
	<author>
		<name>Paul Benedict-2</name>
	</author>
	<content type="html">Nguyen,
&lt;br&gt;&lt;br&gt;On 12/13/2009 11:04 PM, Nguyen Xuan Son wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; dear all
&lt;br&gt;&amp;gt; im using PreparedStatement.setNString(int, String)
&lt;br&gt;&amp;gt; to insert the japanese characters into my MySQL database
&lt;br&gt;&amp;gt; but the result is all in &amp;quot;?????????&amp;quot; characters
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; PreparedStatement pstmt = conn.prepareStatement(sql5);
&lt;br&gt;&amp;gt; pstmt.setNString(3, item.getTitle());
&lt;br&gt;&amp;gt; rs = pstmt.executeUpdate();
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; do you have any suggestion?
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Most likely your (1) tables/columns are not using UTF-8 to store data 
&lt;br&gt;and (2) neither is your MySQL database connection.
&lt;br&gt;&lt;br&gt;Do a google search to learn how to store international characters in 
&lt;br&gt;MySQL and JDBC.
&lt;br&gt;&lt;br&gt;Paul
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26776864&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26776864&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://old.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://old.nabble.com/unicode-character-is-in-wrong-format-tp26773061p26776864.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26776678</id>
	<title>Questions about struts dev mode.</title>
	<published>2009-12-14T03:59:48Z</published>
	<updated>2009-12-14T03:59:48Z</updated>
	<author>
		<name>Gustavo Felisberto-3</name>
	</author>
	<content type="html">I have added devmode to my struts.xml:
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;lt;struts&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &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;.
&lt;br&gt;&lt;br&gt;&amp;lt;/struts&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;If I go to a action that is not maped I get a very detailed error message.
&lt;br&gt;But that is about it.
&lt;br&gt;&lt;br&gt;For example in a jsp I have:
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;lt;s:form action=&amp;quot;ActsAdd&amp;quot; theme=&amp;quot;simple&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;s:actionerror/&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;s:actionmessage/&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;s:radio list=&amp;quot;denunceOtherId&amp;quot; name=&amp;quot;denunceOtheIdTypes&amp;quot;/&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;s:textfield name=&amp;quot;name&amp;quot;/&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;/s:form&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;But the action does not have any getter for the list. If I run the code in
&lt;br&gt;the debugger I see some sort of error being generated, but nothing in the
&lt;br&gt;page.
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;The other thing is that there is also no setName(String name) in the action.
&lt;br&gt;And I get no information about the missing setter.
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Am I missing something?
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;br&gt;Gustavo Felisberto.
&lt;br&gt;&lt;br&gt;WIT-Software, Lda
&lt;br&gt;&lt;br&gt;Coimbra (Portugal), San Jose (California)
&lt;br&gt;&lt;br&gt;Phone: +351239801030
&lt;br&gt;&lt;br&gt;Web: &amp;nbsp;&amp;lt;&lt;a href=&quot;http://www.wit-software.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.wit-software.com&lt;/a&gt;&amp;gt; &lt;a href=&quot;http://www.wit-software.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.wit-software.com&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.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://old.nabble.com/Questions-about-struts-dev-mode.-tp26776678p26776678.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26774733</id>
	<title>Re: Resource import on individual pages</title>
	<published>2009-12-14T01:03:19Z</published>
	<updated>2009-12-14T01:03:19Z</updated>
	<author>
		<name>Antonio Petrelli-3</name>
	</author>
	<content type="html">&amp;gt; Although all tag libraries are included in baseLayout.jsp but in login.jsp i
&lt;br&gt;&amp;gt; have to redeclare these like &amp;lt;%@ taglib prefix=&amp;quot;c&amp;quot; uri=&amp;quot;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://java.sun.com/jsp/jstl/core&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/jsp/jstl/core&lt;/a&gt;&amp;quot; %&amp;gt;. SHouldn't login.jsp take it from
&lt;br&gt;&amp;gt; baseLayout.jsp?
&lt;br&gt;&lt;br&gt;No, Tiles does not replicate the functionality of &amp;lt;%@include %&amp;gt;
&lt;br&gt;directive, Tiles includes content at runtime.
&lt;br&gt;&lt;br&gt;Antonio
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/tiles-users-f18446.html&quot; embed=&quot;fixTarget[18446]&quot; target=&quot;_top&quot; &gt;tiles users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Resource-import-on-individual-pages-tp26748495p26774733.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26774376</id>
	<title>Re: Resource import on individual pages</title>
	<published>2009-12-14T00:28:47Z</published>
	<updated>2009-12-14T00:28:47Z</updated>
	<author>
		<name>anyz-2</name>
	</author>
	<content type="html">Here is how i'm trying to do it for java imports:
&lt;br&gt;tiles definitions are:
&lt;br&gt;&amp;nbsp; &amp;lt;definition name=&amp;quot;.baseLayout&amp;quot; template=&amp;quot;/WEB-INF/tiles/baseLayout.jsp&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;put-attribute name=&amp;quot;pageName&amp;quot; &amp;nbsp;value=&amp;quot;baseLayout&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;put-attribute name=&amp;quot;title&amp;quot; &amp;nbsp;value=&amp;quot;Template&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp;&amp;lt;!-- more goes here --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/definition&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;definition name=&amp;quot;.login&amp;quot; extends=&amp;quot;.baseLayout&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;put-attribute name=&amp;quot;pageName&amp;quot; &amp;nbsp;value=&amp;quot;login&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;put-attribute name=&amp;quot;title&amp;quot; &amp;nbsp;value=&amp;quot;Login&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;put-attribute name=&amp;quot;body&amp;quot;
&lt;br&gt;value=&amp;quot;/WEB-INF/jsp/publicpages/login.jsp&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/definition&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;baeLayout.jsp:
&lt;br&gt;&lt;br&gt;&amp;lt;%@ taglib prefix=&amp;quot;tiles&amp;quot; uri=&amp;quot;&lt;a href=&quot;http://tiles.apache.org/tags-tiles&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tiles.apache.org/tags-tiles&lt;/a&gt;&amp;quot; %&amp;gt;
&lt;br&gt;&amp;lt;%@ taglib prefix=&amp;quot;c&amp;quot; uri=&amp;quot;&lt;a href=&quot;http://java.sun.com/jsp/jstl/core&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/jsp/jstl/core&lt;/a&gt;&amp;quot; %&amp;gt;
&lt;br&gt;&amp;lt;%@ include file=&amp;quot;/WEB-INF/jsp/common/javaimport.jsp&amp;quot; %&amp;gt;
&lt;br&gt;&amp;lt;html&amp;gt;
&lt;br&gt;&amp;nbsp;&amp;lt;head&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/head&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;body&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;table width=&amp;quot;75%&amp;quot; align=&amp;quot;center&amp;quot; cellpadding=&amp;quot;3&amp;quot; cellspacing=&amp;quot;0&amp;quot;
&lt;br&gt;border=&amp;quot;0&amp;quot; class=&amp;quot;mainOuterTable&amp;quot;&amp;gt;
&lt;br&gt;&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;lt;td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;tiles:insertAttribute name=&amp;quot;header&amp;quot; /&amp;gt;
&lt;br&gt;&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;lt;/tr&amp;gt;
&lt;br&gt;&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;lt;td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;table cellpadding=&amp;quot;3&amp;quot; cellspacing=&amp;quot;0&amp;quot; border=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot;
&lt;br&gt;class=&amp;quot;tableBorderMain&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &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;br/&amp;gt;&amp;lt;br/&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;lt;tiles:insertAttribute name=&amp;quot;body&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;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;nbsp; &amp;nbsp; &amp;lt;/table&amp;gt;
&lt;br&gt;&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;lt;/tr&amp;gt;
&lt;br&gt;&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;lt;td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;tiles:insertAttribute name=&amp;quot;footer&amp;quot; /&amp;gt;
&lt;br&gt;&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;lt;/tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/table&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/body&amp;gt;
&lt;br&gt;&amp;lt;/html&amp;gt;
&lt;br&gt;&lt;br&gt;login.jsp:
&lt;br&gt;&lt;br&gt;&amp;lt;%@ taglib prefix=&amp;quot;c&amp;quot; uri=&amp;quot;&lt;a href=&quot;http://java.sun.com/jsp/jstl/core&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/jsp/jstl/core&lt;/a&gt;&amp;quot; %&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;form &amp;gt;
&lt;br&gt;User:&amp;lt;input type='text' name='username'/&amp;gt;
&lt;br&gt;Password:&amp;lt;input type='password' name='password'/&amp;gt;
&lt;br&gt;&amp;lt;input name=&amp;quot;submit&amp;quot; type=&amp;quot;submit&amp;quot; value=&amp;quot;Login&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/form&amp;gt;
&lt;br&gt;&lt;br&gt;javaimports.jsp
&lt;br&gt;&lt;br&gt;&amp;lt;c:choose&amp;gt;
&lt;br&gt;&amp;nbsp;&amp;lt;c:when test = &amp;quot;${pageName=='login'}&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;%@ page import=&amp;quot;java.util.*&amp;quot; %&amp;gt;
&lt;br&gt;&amp;nbsp;&amp;lt;/c:when&amp;gt;
&lt;br&gt;&amp;lt;/c:choose&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;Although all tag libraries are included in baseLayout.jsp but in login.jsp i
&lt;br&gt;have to redeclare these like &amp;lt;%@ taglib prefix=&amp;quot;c&amp;quot; uri=&amp;quot;
&lt;br&gt;&lt;a href=&quot;http://java.sun.com/jsp/jstl/core&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/jsp/jstl/core&lt;/a&gt;&amp;quot; %&amp;gt;. SHouldn't login.jsp take it from
&lt;br&gt;baseLayout.jsp?
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On Sat, Dec 12, 2009 at 4:49 PM, Antonio Petrelli &amp;lt;
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26774376&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;antonio.petrelli@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 2009/12/11 anyz &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26774376&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;anyz111@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; I have a base tile definition and various tiles extend it. The static
&lt;br&gt;&amp;gt; &amp;gt; resource like css, js are imported throuhg &amp;lt;link&amp;gt; and &amp;lt;Script&amp;gt; tags in
&lt;br&gt;&amp;gt; base
&lt;br&gt;&amp;gt; &amp;gt; tile. Similalry various java files are imported though import directive
&lt;br&gt;&amp;gt; in
&lt;br&gt;&amp;gt; &amp;gt; base tile jsp page. However each child type has its own js, css and java
&lt;br&gt;&amp;gt; &amp;gt; import file. How can i import resources for individual pages instead of
&lt;br&gt;&amp;gt; &amp;gt; putting everything in base tile. Also html &amp;lt;body&amp;gt; and &amp;lt;head&amp;gt; tags are
&lt;br&gt;&amp;gt; &amp;gt; present only in base tile so is it good practice to import resource in
&lt;br&gt;&amp;gt; child
&lt;br&gt;&amp;gt; &amp;gt; tiles even then.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; As Brian anticipated, I have another suggestion :-D
&lt;br&gt;&amp;gt; You can make use of list attributes. I suppose that you have *several*
&lt;br&gt;&amp;gt; js and css files to point to, so in your template page you can do this
&lt;br&gt;&amp;gt; way:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;head&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;tiles:importAttribute name=&amp;quot;javascripts&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;c:forEach var=&amp;quot;jsfile&amp;quot; items=&amp;quot;${javascripts}&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;&amp;lt;tiles:getAsString
&lt;br&gt;&amp;gt; value='${jsfile}' /&amp;gt;&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/c:forEach&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;!-- The same for css --&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/head&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Your definition becomes:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;definition name=&amp;quot;my.definitio&amp;quot; template=&amp;quot;/my/template.jsp&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;lt;put-list-attribute name=&amp;quot;javascripts&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;&amp;lt;add-attribute value=&amp;quot;/js/script1.js&amp;quot; type=&amp;quot;string&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;&amp;lt;add-attribute value=&amp;quot;/js/script2.js&amp;quot; type=&amp;quot;string&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;lt;/put-list-attribute&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/definition&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; HTH
&lt;br&gt;&amp;gt; Antonio
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/tiles-users-f18446.html&quot; embed=&quot;fixTarget[18446]&quot; target=&quot;_top&quot; &gt;tiles users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Resource-import-on-individual-pages-tp26748495p26774376.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26774198</id>
	<title>Issues Opened: week of 2009-12-14</title>
	<published>2009-12-14T00:08:01Z</published>
	<updated>2009-12-14T00:08:01Z</updated>
	<author>
		<name>dblevins-2</name>
	</author>
	<content type="html">&lt;br&gt;Struts2 - Monday, December 14, 2009
&lt;br&gt;&lt;br&gt;&amp;nbsp; 4 opened in last 7 days
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; [WW-3354] Update pom.xml for struts2-gxp-plugin to use latest versions of Struts 2 and GXP
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; - Type: Improvement
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; - Reporter: Benjamin McCann
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; - Components: []
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; - Affects Versions: []
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; - &lt;a href=&quot;http://issues.apache.org/struts/browse/WW-3354&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://issues.apache.org/struts/browse/WW-3354&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; [WW-3355] s:form tag render action URL with query string incorrectly
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; - Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; - Reporter: Iwasa Kazmi
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; - Components: [Plugin - Tags]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; - Affects Versions: []
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; - &lt;a href=&quot;http://issues.apache.org/struts/browse/WW-3355&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://issues.apache.org/struts/browse/WW-3355&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; [WW-3352] sometimes can't get the properties in the resource file
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; - Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; - Reporter: hamal lin
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; - Components: []
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; - Affects Versions: []
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; - &lt;a href=&quot;http://issues.apache.org/struts/browse/WW-3352&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://issues.apache.org/struts/browse/WW-3352&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; [WW-3353] StrutsTestCase doesn't work with rest-plugin
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; - Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; - Reporter: Bill Stilwell
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; - Components: [Plugin - REST]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; - Affects Versions: []
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; - &lt;a href=&quot;http://issues.apache.org/struts/browse/WW-3353&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://issues.apache.org/struts/browse/WW-3353&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.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://old.nabble.com/Issues-Opened%3A-week-of-2009-12-14-tp26774198p26774198.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26773333</id>
	<title>RE: MySQL + JDBC</title>
	<published>2009-12-13T21:52:14Z</published>
	<updated>2009-12-13T21:52:14Z</updated>
	<author>
		<name>Neil Aggarwal</name>
	</author>
	<content type="html">&amp;gt; Let me simplify the question: Has anyone out there managed to 
&lt;br&gt;&amp;gt; create a 
&lt;br&gt;&amp;gt; working connection to the latest version of MySQL 64-bit via 
&lt;br&gt;&amp;gt; JDBC from 
&lt;br&gt;&amp;gt; Struts 2?
&lt;br&gt;&lt;br&gt;I am sure many people have. &amp;nbsp;I run 64 bit servers with MySQL
&lt;br&gt;and Struts 2.
&lt;br&gt;&lt;br&gt;What are you seeing?
&lt;br&gt;&lt;br&gt;Neil
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Neil Aggarwal, (281)846-8957, &lt;a href=&quot;http://UnmeteredVPS.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://UnmeteredVPS.net&lt;/a&gt;&lt;br&gt;Host your Struts app on a CentOS VPS for only $25/month!
&lt;br&gt;Unmetered bandwidth = no overage charges, 7 day free trial
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26773333&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26773333&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://old.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://old.nabble.com/MySQL-%2B-JDBC-tp26769862p26773333.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26773100</id>
	<title>Re: unicode character is in wrong format</title>
	<published>2009-12-13T21:10:46Z</published>
	<updated>2009-12-13T21:10:46Z</updated>
	<author>
		<name>Nguyen Xuan Son-3</name>
	</author>
	<content type="html">here is the detail of the error's message
&lt;br&gt;java.lang.reflect.InvocationTargetException
&lt;br&gt;sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&lt;br&gt;sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
&lt;br&gt;sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
&lt;br&gt;java.lang.reflect.Method.invoke(Unknown Source)
&lt;br&gt;com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:441)
&lt;br&gt;com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:280)
&lt;br&gt;com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:243)
&lt;br&gt;com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:165)
&lt;br&gt;com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
&lt;br&gt;com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
&lt;br&gt;com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:252)
&lt;br&gt;org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)
&lt;br&gt;com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
&lt;br&gt;com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
&lt;br&gt;&lt;br&gt;2009/12/14 Nguyen Xuan Son &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26773100&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yamacom@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; dear all
&lt;br&gt;&amp;gt; im using PreparedStatement.setNString(int, String)
&lt;br&gt;&amp;gt; to insert the japanese characters into my MySQL database
&lt;br&gt;&amp;gt; but the result is all in &amp;quot;?????????&amp;quot; characters
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; PreparedStatement pstmt = conn.prepareStatement(sql5);
&lt;br&gt;&amp;gt; pstmt.setNString(3, item.getTitle());
&lt;br&gt;&amp;gt; rs = pstmt.executeUpdate();
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; do you have any suggestion?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; =======================================================================
&lt;br&gt;&amp;gt; Ritsumeikan University, Asia JinZai Project
&lt;br&gt;&amp;gt; Master of Information Science
&lt;br&gt;&amp;gt; Nguyen Xuan Son
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Add &amp;nbsp; &amp;nbsp; &amp;nbsp; : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18
&lt;br&gt;&amp;gt; ShiteiHaimu Rien, Room 103
&lt;br&gt;&amp;gt; Tel/Fax &amp;nbsp;: 81-(0)90-3976 2246
&lt;br&gt;&amp;gt; Email &amp;nbsp; &amp;nbsp;: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26773100&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nr0003xx@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Mobile &amp;nbsp; : 81-(0)90-3976 2246 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL &amp;nbsp;: &lt;a href=&quot;http://www.ritsumei.jp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ritsumei.jp&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;-- 
&lt;br&gt;=======================================================================
&lt;br&gt;Ritsumeikan University, Asia JinZai Project
&lt;br&gt;Master of Information Science
&lt;br&gt;Nguyen Xuan Son
&lt;br&gt;&lt;br&gt;Add &amp;nbsp; &amp;nbsp; &amp;nbsp; : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18 ShiteiHaimu
&lt;br&gt;Rien, Room 103
&lt;br&gt;Tel/Fax &amp;nbsp;: 81-(0)90-3976 2246
&lt;br&gt;Email &amp;nbsp; &amp;nbsp;: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26773100&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nr0003xx@...&lt;/a&gt;
&lt;br&gt;Mobile &amp;nbsp; : 81-(0)90-3976 2246 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL &amp;nbsp;: &lt;a href=&quot;http://www.ritsumei.jp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ritsumei.jp&lt;/a&gt;&lt;br&gt;=======================================================================
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.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://old.nabble.com/unicode-character-is-in-wrong-format-tp26773062p26773100.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26773062</id>
	<title>unicode character is in wrong format</title>
	<published>2009-12-13T21:04:36Z</published>
	<updated>2009-12-13T21:04:36Z</updated>
	<author>
		<name>Nguyen Xuan Son-3</name>
	</author>
	<content type="html">dear all
&lt;br&gt;im using PreparedStatement.setNString(int, String)
&lt;br&gt;to insert the japanese characters into my MySQL database
&lt;br&gt;but the result is all in &amp;quot;?????????&amp;quot; characters
&lt;br&gt;&lt;br&gt;PreparedStatement pstmt = conn.prepareStatement(sql5);
&lt;br&gt;pstmt.setNString(3, item.getTitle());
&lt;br&gt;rs = pstmt.executeUpdate();
&lt;br&gt;&lt;br&gt;do you have any suggestion?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;=======================================================================
&lt;br&gt;Ritsumeikan University, Asia JinZai Project
&lt;br&gt;Master of Information Science
&lt;br&gt;Nguyen Xuan Son
&lt;br&gt;&lt;br&gt;Add &amp;nbsp; &amp;nbsp; &amp;nbsp; : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18 ShiteiHaimu
&lt;br&gt;Rien, Room 103
&lt;br&gt;Tel/Fax &amp;nbsp;: 81-(0)90-3976 2246
&lt;br&gt;Email &amp;nbsp; &amp;nbsp;: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26773062&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nr0003xx@...&lt;/a&gt;
&lt;br&gt;Mobile &amp;nbsp; : 81-(0)90-3976 2246 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL &amp;nbsp;: &lt;a href=&quot;http://www.ritsumei.jp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ritsumei.jp&lt;/a&gt;&lt;br&gt;=======================================================================
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.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://old.nabble.com/unicode-character-is-in-wrong-format-tp26773062p26773062.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26773061</id>
	<title>unicode character is in wrong format</title>
	<published>2009-12-13T21:04:07Z</published>
	<updated>2009-12-13T21:04:07Z</updated>
	<author>
		<name>Nguyen Xuan Son-2</name>
	</author>
	<content type="html">dear all
&lt;br&gt;im using PreparedStatement.setNString(int, String)
&lt;br&gt;to insert the japanese characters into my MySQL database
&lt;br&gt;but the result is all in &amp;quot;?????????&amp;quot; characters
&lt;br&gt;&lt;br&gt;PreparedStatement pstmt = conn.prepareStatement(sql5);
&lt;br&gt;pstmt.setNString(3, item.getTitle());
&lt;br&gt;rs = pstmt.executeUpdate();
&lt;br&gt;&lt;br&gt;do you have any suggestion?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;=======================================================================
&lt;br&gt;Ritsumeikan University, Asia JinZai Project
&lt;br&gt;Master of Information Science
&lt;br&gt;Nguyen Xuan Son
&lt;br&gt;&lt;br&gt;Add &amp;nbsp; &amp;nbsp; &amp;nbsp; : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18 ShiteiHaimu
&lt;br&gt;Rien, Room 103
&lt;br&gt;Tel/Fax &amp;nbsp;: 81-(0)90-3976 2246
&lt;br&gt;Email &amp;nbsp; &amp;nbsp;: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26773061&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nr0003xx@...&lt;/a&gt;
&lt;br&gt;Mobile &amp;nbsp; : 81-(0)90-3976 2246 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL &amp;nbsp;: &lt;a href=&quot;http://www.ritsumei.jp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ritsumei.jp&lt;/a&gt;&lt;br&gt;=======================================================================
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.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://old.nabble.com/unicode-character-is-in-wrong-format-tp26773061p26773061.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26771178</id>
	<title>[CONF] Confluence Changes in the last 24 hours</title>
	<published>2009-12-13T16:01:00Z</published>
	<updated>2009-12-13T16:01:00Z</updated>
	<author>
		<name>confluence-2</name>
	</author>
	<content type="html">This is a daily summary of all recent changes in Confluence.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;Updated Spaces:
&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&lt;br&gt;Apache Camel (&lt;a href=&quot;http://cwiki.apache.org/confluence/display/CAMEL&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/CAMEL&lt;/a&gt;)
&lt;br&gt;&lt;br&gt;Pages
&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;Camel 2.2.0 Release edited by &amp;nbsp;mrt1nz &amp;nbsp;(10:06 AM)
&lt;br&gt;&lt;a href=&quot;http://cwiki.apache.org/confluence/display/CAMEL/Camel+2.2.0+Release&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/CAMEL/Camel+2.2.0+Release&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Apache Geronimo Project Management (&lt;a href=&quot;http://cwiki.apache.org/confluence/display/GMOxPMGT&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/GMOxPMGT&lt;/a&gt;)
&lt;br&gt;&lt;br&gt;Pages
&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;Geronimo Release Process edited by &amp;nbsp;djencks &amp;nbsp;(08:06 PM)
&lt;br&gt;&lt;a href=&quot;http://cwiki.apache.org/confluence/display/GMOxPMGT/Geronimo+Release+Process&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/GMOxPMGT/Geronimo+Release+Process&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;OFBiz Project Administration Workspace (&lt;a href=&quot;http://cwiki.apache.org/confluence/display/OFBADMIN&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/OFBADMIN&lt;/a&gt;)
&lt;br&gt;&lt;br&gt;Comments
&lt;br&gt;&lt;a href=&quot;http://cwiki.apache.org/confluence/display/OFBADMIN/Component+and+Component+Set+Dependencies&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/OFBADMIN/Component+and+Component+Set+Dependencies&lt;/a&gt;&amp;nbsp;(1)
&lt;br&gt;&lt;br&gt;OFBiz (Open For Business) Project Open Wiki (&lt;a href=&quot;http://cwiki.apache.org/confluence/display/OFBIZ&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/OFBIZ&lt;/a&gt;)
&lt;br&gt;&lt;br&gt;Pages
&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;Sync Setup Notes and Example edited by &amp;nbsp;jacques.le.roux &amp;nbsp;(11:09 AM)
&lt;br&gt;&lt;a href=&quot;http://cwiki.apache.org/confluence/display/OFBIZ/Sync+Setup+Notes+and+Example&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/OFBIZ/Sync+Setup+Notes+and+Example&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;OFBiz Requirements and Designs (&lt;a href=&quot;http://cwiki.apache.org/confluence/display/OFBREQDES&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/OFBREQDES&lt;/a&gt;)
&lt;br&gt;&lt;br&gt;Pages
&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;Universal Business Process Library Index edited by &amp;nbsp;anilpatel &amp;nbsp;(09:12 PM)
&lt;br&gt;&lt;a href=&quot;http://cwiki.apache.org/confluence/display/OFBREQDES/Universal+Business+Process+Library+Index&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/OFBREQDES/Universal+Business+Process+Library+Index&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Apache Wicket (&lt;a href=&quot;http://cwiki.apache.org/confluence/display/WICKET&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/WICKET&lt;/a&gt;)
&lt;br&gt;&lt;br&gt;Pages
&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;Wicket 1.5 Wish List edited by &amp;nbsp;jdonnerstag &amp;nbsp;(05:57 PM)
&lt;br&gt;&lt;a href=&quot;http://cwiki.apache.org/confluence/display/WICKET/Wicket+1.5+Wish+List&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/WICKET/Wicket+1.5+Wish+List&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Change your notification preferences: &lt;a href=&quot;http://cwiki.apache.org/confluence/users/viewnotifications.action&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/users/viewnotifications.action&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.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://old.nabble.com/-CONF--Confluence-Changes-in-the-last-24-hours-tp26771178p26771178.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26769862</id>
	<title>MySQL + JDBC</title>
	<published>2009-12-13T13:23:03Z</published>
	<updated>2009-12-13T13:23:03Z</updated>
	<author>
		<name>Todd Grigsby</name>
	</author>
	<content type="html">&lt;br&gt;Let me simplify the question: Has anyone out there managed to create a 
&lt;br&gt;working connection to the latest version of MySQL 64-bit via JDBC from 
&lt;br&gt;Struts 2?
&lt;br&gt;&lt;br&gt;TG
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26769862&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26769862&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://old.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://old.nabble.com/MySQL-%2B-JDBC-tp26769862p26769862.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26769830</id>
	<title>Re: ognl method lookup failure</title>
	<published>2009-12-13T13:19:06Z</published>
	<updated>2009-12-13T13:19:06Z</updated>
	<author>
		<name>DNewfield</name>
	</author>
	<content type="html">Musachy Barroso wrote:
&lt;br&gt;&amp;gt; I would suggest to put a breakpoint in XWorkMethodAccessor.callMethod
&lt;br&gt;&amp;gt; and see why it is not finding it.
&lt;br&gt;&lt;br&gt;Thanks for the nudge. &amp;nbsp;I finally got a more detailed message (&amp;quot;Method 
&lt;br&gt;&amp;quot;isUserSubscribedViaBulletin&amp;quot; failed for object 
&lt;br&gt;mumble.model.CommunityClassified) which has as it's cause a 
&lt;br&gt;LazyInitializationException. &amp;nbsp;Since I use the OpenSessionInViewFilter, 
&lt;br&gt;this must mean that there's something earlier in this action/view that's 
&lt;br&gt;breaking the session. &amp;nbsp;I'm not sure of an obvious way to find this 
&lt;br&gt;earlier error, but at least now I know that this polymorphic code is not 
&lt;br&gt;breaking for one concrete class and not another, but rather simply 
&lt;br&gt;breaks for any concrete class if the hibernate session is no longer valid.
&lt;br&gt;&lt;br&gt;-Dale
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26769830&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26769830&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://old.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://old.nabble.com/ognl-method-lookup-failure-tp26761411p26769830.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26769773</id>
	<title>Re: &quot;specified DSN contains an architecture mismatch&quot;</title>
	<published>2009-12-13T13:13:00Z</published>
	<updated>2009-12-13T13:13:00Z</updated>
	<author>
		<name>Todd Grigsby</name>
	</author>
	<content type="html">&lt;br&gt;The application runs on Oracle, MySQL, or SQL Server, depending on the 
&lt;br&gt;distro, and on various versions of these depending on the version and 
&lt;br&gt;type of OS. &amp;nbsp;MySQL is our preferred database. &amp;nbsp;We use JDBC to simplify 
&lt;br&gt;the connection process.
&lt;br&gt;&lt;br&gt;TG
&lt;br&gt;&lt;br&gt;Wes Wannemacher wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Why use odbc? Mysql has a top notch jdbc driver.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On 12/11/09, Todd Grigsby &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26769773&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;strutsuser@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; Yes, thank you, I know that. &amp;nbsp;My question has to do with the
&lt;br&gt;&amp;gt;&amp;gt; architecture mismatch. &amp;nbsp;All the documentation I've seen on this
&lt;br&gt;&amp;gt;&amp;gt; indicates that there is a 32-bit/64-bit issue, but I'll be darned if I
&lt;br&gt;&amp;gt;&amp;gt; know which piece is at fault. &amp;nbsp;Given the versions of the various parts,
&lt;br&gt;&amp;gt;&amp;gt; does anyone have any idea what I need to do to be able to talk to MySQL?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; TG
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Martin Gainty wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; you're using InitialContext to lookup a DataSource registered to JNDI
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; registry
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Martin Gainty
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; Context context = new InitialContext();
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; DataSource ds =
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; (DataSource)context.lookup(&amp;quot;java:/comp/env/jdbc/odbc/tgecorp&amp;quot;);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; Connection conn = datasource.getConnection();
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; ...
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; The last line throws an exception with the following message: &amp;nbsp;&amp;quot;The
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; specified DSN contains an architecture mismatch between the Driver and
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Application.&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26769773&amp;i=1&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26769773&amp;i=2&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; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.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://old.nabble.com/%22specified-DSN-contains-an-architecture-mismatch%22-tp26752793p26769773.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26768567</id>
	<title>[jira] Commented: (WW-2754) Source code for GXP result</title>
	<published>2009-12-13T10:45:43Z</published>
	<updated>2009-12-13T10:45:43Z</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-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=47156#action_47156&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/struts/browse/WW-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=47156#action_47156&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Benjamin McCann commented on WW-2754:
&lt;br&gt;-------------------------------------
&lt;br&gt;&lt;br&gt;So I guess the problem is that I need to inject the ValueStackFactory instead of just creating a new one or else it won't have its dependencies available. &amp;nbsp;I don't really know much about Guice though and even less about how Struts does dependency injection which appears to be based off of Guice. &amp;nbsp;I can add an @Inject setValueStackFactory method on Abstract GXP, but then I don't know how to make the magic happens that calls that method.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Source code for GXP result 
&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-2754
&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-2754&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/struts/browse/WW-2754&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: Temp
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Musachy Barroso
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: Future
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: gxp.webwork.tar.gz, struts-gxp-plugin.zip, struts-gxp-plugin.zip
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks to the google and the GXP guys for sending us the code
&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://old.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://old.nabble.com/-jira--Created%3A-%28WW-2754%29-Source-code-for-GXP-result-tp18878459p26768567.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26766642</id>
	<title>[jira] Created: (WW-3355) s:form tag render action URL with query string incorrectly</title>
	<published>2009-12-13T06:37:42Z</published>
	<updated>2009-12-13T06:37:42Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">s:form tag render action URL with query string incorrectly
&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-3355
&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-3355&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/struts/browse/WW-3355&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
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 2.1.8
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Iwasa Kazmi
&lt;br&gt;&lt;br&gt;&lt;br&gt;Normally,
&lt;br&gt;&lt;br&gt;&amp;lt;s:form action=&amp;quot;%{'Simple?a=123&amp;b=234'}&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;would be rendered as:
&lt;br&gt;&lt;br&gt;&amp;lt;form action=&amp;quot;/mysite/Simple.action?a=123&amp;amp;b=234&amp;quot; ... &amp;gt;
&lt;br&gt;&lt;br&gt;But if the &amp;quot;.action&amp;quot; suffix is omitted in the request URL,
&lt;br&gt;(e.g. &lt;a href=&quot;http://localhost/mysite/Simple&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/mysite/Simple&lt;/a&gt;&amp;nbsp;)
&lt;br&gt;it will be rendered as:
&lt;br&gt;&lt;br&gt;&amp;lt;form action=&amp;quot;/mysite/Simple&amp;quot; ... &amp;gt;
&lt;br&gt;&lt;br&gt;The query string is not appended.
&lt;br&gt;&lt;br&gt;&lt;br&gt;In org.apache.struts2.dispatcher.mapper.DefaultActionMapper#getUriFromActionMapping(),
&lt;br&gt;query string is appended only in case that the extension is provided.
&lt;br&gt;&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://old.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://old.nabble.com/-jira--Created%3A-%28WW-3355%29-s%3Aform-tag-render-action-URL-with-query-string-incorrectly-tp26766642p26766642.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26764594</id>
	<title>Re: Usage of Tiles 2 Velocity tags for attribute lists</title>
	<published>2009-12-13T01:28:19Z</published>
	<updated>2009-12-13T01:28:19Z</updated>
	<author>
		<name>Antonio Petrelli-3</name>
	</author>
	<content type="html">2009/12/13 Xabier Burgos Gimeno &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26764594&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xabier.burgos@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; &amp;lt;meta name=&amp;quot;keywords&amp;quot; content=&amp;quot;#foreach($keyword in $metaKeywords)$tiles.getAsString({&amp;quot;name&amp;quot;:&amp;quot;$keyword&amp;quot;}),#end&amp;quot;/&amp;gt;
&lt;br&gt;&lt;br&gt;The $tiles.getAsString call, as all the methods in Tiles2Tool, has the
&lt;br&gt;same meaning as the &amp;lt;tiles:getAsString&amp;gt; tag in JSP: it writes an
&lt;br&gt;attribute as a string. It does not return a string.
&lt;br&gt;In your case you have only one named attribute, &amp;quot;metaKeywords&amp;quot;, that
&lt;br&gt;is a list attribute. You have two options:
&lt;br&gt;&lt;br&gt;1) Using Tiles2Tool in a tag-style, using $tiles.importAttribute to
&lt;br&gt;get the list attribute and then iterate this attribute and use:
&lt;br&gt;$tiles.getAsString({&amp;quot;value&amp;quot;: $myIteratedAttribute}
&lt;br&gt;&lt;br&gt;2) Using VelocityStyleTilesTool:
&lt;br&gt;&lt;a href=&quot;http://tiles.apache.org/framework/apidocs/org/apache/tiles/velocity/template/VelocityStyleTilesTool.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tiles.apache.org/framework/apidocs/org/apache/tiles/velocity/template/VelocityStyleTilesTool.html&lt;/a&gt;&lt;br&gt;this way:
&lt;br&gt;&lt;br&gt;#foreach($attribute in $tiles.getAttribute(&amp;quot;metaKeywords&amp;quot;).value)
&lt;br&gt;$attribute.value ,
&lt;br&gt;#end
&lt;br&gt;&lt;br&gt;(I am not completely sure about the syntax :-S )
&lt;br&gt;&lt;br&gt;HTH
&lt;br&gt;Antonio
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/tiles-users-f18446.html&quot; embed=&quot;fixTarget[18446]&quot; target=&quot;_top&quot; &gt;tiles users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Usage-of-Tiles-2-Velocity-tags-for-attribute-lists-tp26763237p26764594.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26764457</id>
	<title>[jira] Updated: (WW-2754) Source code for GXP result</title>
	<published>2009-12-13T00:53:42Z</published>
	<updated>2009-12-13T00:53:42Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/struts/browse/WW-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/struts/browse/WW-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Benjamin McCann updated WW-2754:
&lt;br&gt;--------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Attachment: struts-gxp-plugin.zip
&lt;br&gt;&lt;br&gt;Just about got this working. &amp;nbsp;I removed all the references to code that wasn't included so that it compiles now. &amp;nbsp;I think I did something wrong upgrading to Struts 2 though because I get the stack trace below when I try to visit my action that has a gxp result type. &amp;nbsp;There was some code in the original submission that did something along the lines of &amp;quot;new OgnlValueStack(ActionContext.getValueStack())&amp;quot; and that constructor wasn't available anymore, so I switched it to use the OgnlValueStackFactory. &amp;nbsp;Maybe someone more familiar with Struts can take a look at section of AbstractGxp and see what I did wrong.
&lt;br&gt;&lt;br&gt;java.lang.IllegalArgumentException: Wrapped type converter cannot be null
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.opensymphony.xwork2.ognl.OgnlTypeConverterWrapper.&amp;lt;init&amp;gt;(OgnlTypeConverterWrapper.java:21)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.opensymphony.xwork2.ognl.OgnlValueStack.setRoot(OgnlValueStack.java:88)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.opensymphony.xwork2.ognl.OgnlValueStack.&amp;lt;init&amp;gt;(OgnlValueStack.java:76)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.opensymphony.xwork2.ognl.OgnlValueStackFactory.createValueStack(OgnlValueStackFactory.java:58)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.google.webwork.gxp.AbstractGxp.getArgListFromValueStack(AbstractGxp.java:153)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.google.webwork.gxp.AbstractGxp.getArgs(AbstractGxp.java:83)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.google.webwork.gxp.AbstractGxp.write(AbstractGxp.java:70)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.google.webwork.gxp.AbstractGxp.write(AbstractGxp.java:61)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.google.webwork.gxp.GxpResult$1.write(GxpResult.java:77)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.google.webwork.gxp.GxpResult.execute(GxpResult.java:89)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:362)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:266)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:165)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:252)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Source code for GXP result 
&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-2754
&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-2754&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/struts/browse/WW-2754&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: Temp
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Musachy Barroso
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: Future
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: gxp.webwork.tar.gz, struts-gxp-plugin.zip, struts-gxp-plugin.zip
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks to the google and the GXP guys for sending us the code
&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://old.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://old.nabble.com/-jira--Created%3A-%28WW-2754%29-Source-code-for-GXP-result-tp18878459p26764457.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26763385</id>
	<title>RE: ognl method lookup failure</title>
	<published>2009-12-12T19:38:39Z</published>
	<updated>2009-12-12T19:38:39Z</updated>
	<author>
		<name>mgainty</name>
	</author>
	<content type="html">&lt;br&gt;yeah..the problem starts here
&lt;br&gt;&lt;a href=&quot;http://www.docjar.com/html/api/sun/reflect/DelegatingMethodAccessorImpl.java.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.docjar.com/html/api/sun/reflect/DelegatingMethodAccessorImpl.java.html&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;30 &amp;nbsp; /** Delegates its invocation to another MethodAccessorImpl and can
&lt;br&gt;&amp;nbsp; &amp;nbsp;31 &amp;nbsp; &amp;nbsp; &amp;nbsp; change its delegate at run time. */
&lt;br&gt;&amp;nbsp; &amp;nbsp;32 &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp;33 &amp;nbsp; class DelegatingMethodAccessorImpl extends MethodAccessorImpl {
&lt;br&gt;&amp;nbsp; &amp;nbsp;34 &amp;nbsp; &amp;nbsp; &amp;nbsp; private MethodAccessorImpl delegate;
&lt;br&gt;&amp;nbsp; &amp;nbsp;35 &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp;36 &amp;nbsp; &amp;nbsp; &amp;nbsp; DelegatingMethodAccessorImpl(MethodAccessorImpl delegate) {
&lt;br&gt;&amp;nbsp; &amp;nbsp;37 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; setDelegate(delegate);
&lt;br&gt;&amp;nbsp; &amp;nbsp;38 &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp;39 &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp;40 &amp;nbsp; &amp;nbsp; &amp;nbsp; public Object invoke(Object obj, Object[] args)
&lt;br&gt;&amp;nbsp; &amp;nbsp;41 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throws IllegalArgumentException, InvocationTargetException
&lt;br&gt;&amp;nbsp; &amp;nbsp;42 &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp;43 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return delegate.invoke(obj, args);
&lt;br&gt;&amp;nbsp; &amp;nbsp;44 &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;either the MethodAccessorImpl delegate is incorrect
&lt;br&gt;or the method is 'inaccessible' or is incorrect
&lt;br&gt;&lt;br&gt;to verify method if you have the context try this testcase from com.opensymphony.xwork2.util.reflection.ReflectionContext.java
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; public static boolean isDenyMethodExecution(Map&amp;lt;String, Object&amp;gt; context) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return getBooleanProperty(ReflectionContextState.DENY_METHOD_EXECUTION, context);
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;a simpler testcase would be 
&lt;br&gt;&amp;lt;% 
&lt;br&gt;try
&lt;br&gt;{commentInTag.getClass().getMethod(&amp;quot;isUserSubscribedViaEmail&amp;quot;,currentUserInTag.getClass());
&lt;br&gt;}
&lt;br&gt;catch(NoSuchMethodException nsme)
&lt;br&gt;{
&lt;br&gt;System.err.println(&amp;quot;NoSuchMethodException produced message = &amp;quot;+nsme.getMessage());
&lt;br&gt;}
&lt;br&gt;catch(SecurityException sec_exp)
&lt;br&gt;{
&lt;br&gt;System.err.println(&amp;quot;SecurityException produced message &amp;nbsp;&amp;quot;+sec_exp.getMessage());
&lt;br&gt;}
&lt;br&gt;&amp;nbsp;%&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html#getMethod%28java.lang.String,%20java.lang.Class&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html#getMethod%28java.lang.String,%20java.lang.Class&lt;/a&gt;&lt;br&gt;hth
&lt;br&gt;Martin Gainty 
&lt;br&gt;______________________________________________ 
&lt;br&gt;standard caveats apply
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Date: Sat, 12 Dec 2009 16:51:30 -0800
&lt;br&gt;&amp;gt; Subject: Re: ognl method lookup failure
&lt;br&gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26763385&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;musachy@...&lt;/a&gt;
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26763385&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I would suggest to put a breakpoint in XWorkMethodAccessor.callMethod
&lt;br&gt;&amp;gt; and see why it is not finding it.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; musachy
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Sat, Dec 12, 2009 at 1:44 PM, Dale Newfield &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26763385&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dale@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; Often when I'm stumped writing a detailed &amp;quot;help!&amp;quot; message leads me to the
&lt;br&gt;&amp;gt; &amp;gt; bug and I never have to send it. &amp;nbsp;This time I was not so lucky, and since
&lt;br&gt;&amp;gt; &amp;gt; I've already wasted two days on this I was hoping someone here might have an
&lt;br&gt;&amp;gt; &amp;gt; idea to get me out of the weeds.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I've got an abstract class &amp;quot;Comment&amp;quot; and a bunch of concrete subclasses
&lt;br&gt;&amp;gt; &amp;gt; thereof. &amp;nbsp;I've got a &amp;quot;displayComment.tag&amp;quot; file that calls itself recursively
&lt;br&gt;&amp;gt; &amp;gt; to display a tree of comments. &amp;nbsp;Among other things this checks the extant
&lt;br&gt;&amp;gt; &amp;gt; subscriptions on the comment in question and displays various
&lt;br&gt;&amp;gt; &amp;gt; subscribe/unsubscribe buttons as appropriate.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Mostly this works. &amp;nbsp;There are a couple concrete subclasses of Comment that
&lt;br&gt;&amp;gt; &amp;gt; break in a bizarre way, and I've been stuck on this for two days, so I'm
&lt;br&gt;&amp;gt; &amp;gt; hoping someone here might have a suggestion.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I go through the normal annoying dance to push ognl accessible objects into
&lt;br&gt;&amp;gt; &amp;gt; jstl-el accessible locations, passing those as attributes into the .tag file
&lt;br&gt;&amp;gt; &amp;gt; and then set them inside the tag into a namespace accessible from ognl:
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;(yes, I tried with #attr, too--same behavior)
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; inside the .tag:
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;%@ attribute name=&amp;quot;currentUser&amp;quot; required=&amp;quot;true&amp;quot; type=&amp;quot;mumble.model.User&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; rtexprvalue=&amp;quot;true&amp;quot;%&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;%@ attribute name=&amp;quot;commentToDisplay&amp;quot; required=&amp;quot;true&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; type=&amp;quot;mumble.model.Comment&amp;quot; rtexprvalue=&amp;quot;true&amp;quot;%&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;c:set var=&amp;quot;currentUserInTag&amp;quot; scope=&amp;quot;request&amp;quot; value=&amp;quot;${currentUser}&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;c:set var=&amp;quot;commentInTag&amp;quot; scope=&amp;quot;request&amp;quot; value=&amp;quot;${commentToDisplay}&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Simple tests: &amp;nbsp;&amp;lt;s:property value=&amp;quot;%{#request.currentUserInTag.class}&amp;quot;/&amp;gt; and
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;s:property value=&amp;quot;%{#request.commentInTag.class}&amp;quot;/&amp;gt; show the appropriate
&lt;br&gt;&amp;gt; &amp;gt; (concrete) classes.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Whereas in most instances this OGNL logic works:
&lt;br&gt;&amp;gt; &amp;gt; #request.commentInTag.isUserSubscribedViaEmail(#request.currentUserInTag)
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; for these two specific concrete classes (due I believe to
&lt;br&gt;&amp;gt; &amp;gt; struts.ognl.logMissingProperties=true) it results in a log entry:
&lt;br&gt;&amp;gt; &amp;gt; Could not find method
&lt;br&gt;&amp;gt; &amp;gt; [#request.commentInTag.isUserSubscribedViaEmail(#request.currentUserInTag)]
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I am able to interrogate the object and find the expected methods:
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;s:property value=&amp;quot;%{#request.commentInTag.class.methods.{?
&lt;br&gt;&amp;gt; &amp;gt; #this.name=='isUserSubscribedViaEmail'}[0]}&amp;quot;/&amp;gt; results in &amp;quot;public boolean
&lt;br&gt;&amp;gt; &amp;gt; mumble.model.CommunityFunItem.isUserSubscribedViaEmail(mumble.model.User)
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; but I'm also unable to get further with that: &amp;lt;s:property
&lt;br&gt;&amp;gt; &amp;gt; value=&amp;quot;%{#request.commentInTag.class.methods.{?
&lt;br&gt;&amp;gt; &amp;gt; #this.name=='isUserSubscribedViaEmail'}[0].invoke(#request.commentInTag,#request.currentUserInTag)}&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; results in the log entry: &amp;nbsp;Could not find method
&lt;br&gt;&amp;gt; &amp;gt; [#request.commentInTag.class.methods.{?
&lt;br&gt;&amp;gt; &amp;gt; #this.name=='isUserSubscribedViaEmail'}[0].invoke(#request.commentInTag,#request.currentUserInTag)]
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Maybe related: if I try to access the Class method &amp;quot;Method getMethod(String
&lt;br&gt;&amp;gt; &amp;gt; name, Class... parameterTypes)&amp;quot; directly to get the right one (instead of
&lt;br&gt;&amp;gt; &amp;gt; getting all of them and looking for one with the right name) I end up with
&lt;br&gt;&amp;gt; &amp;gt; this log message:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Caught an exception while evaluating expression
&lt;br&gt;&amp;gt; &amp;gt; '#request.commentInTag.class.getMethod('isUserSubscribedViaEmail',#request.currentUserInTag.class)'
&lt;br&gt;&amp;gt; &amp;gt; against value stack
&lt;br&gt;&amp;gt; &amp;gt; java.lang.IllegalArgumentException: java.lang.ClassCastException@ab1dea
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at sun.reflect.GeneratedMethodAccessor1387.invoke(Unknown Source)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at
&lt;br&gt;&amp;gt; &amp;gt; sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at java.lang.reflect.Method.invoke(Method.java:585)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:851)
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Again, this works with some concrete subclasses of Comment, but not others.
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;There are no substantial differences between them as far as I can tell.
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;Any ideas/leads/suggestions/suppositions welcome.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I'm using struts 2.1.8.1, ognl 2.7.3, yes I have javassist-3.8.1.jar in
&lt;br&gt;&amp;gt; &amp;gt; WEB-INF/lib. &amp;nbsp;Running under glassfish if that matters.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; -Dale
&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26763385&amp;i=3&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26763385&amp;i=4&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; 
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26763385&amp;i=5&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26763385&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&amp;nbsp;		 	 &amp;nbsp; 		 &amp;nbsp;
&lt;br&gt;_________________________________________________________________
&lt;br&gt;Hotmail: Powerful Free email with security by Microsoft.
&lt;br&gt;&lt;a href=&quot;http://clk.atdmt.com/GBL/go/171222986/direct/01/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://clk.atdmt.com/GBL/go/171222986/direct/01/&lt;/a&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.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://old.nabble.com/ognl-method-lookup-failure-tp26761411p26763385.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26763237</id>
	<title>Usage of Tiles 2 Velocity tags for attribute lists</title>
	<published>2009-12-12T19:00:05Z</published>
	<updated>2009-12-12T19:00:05Z</updated>
	<author>
		<name>Xabier Burgos Gimeno</name>
	</author>
	<content type="html">Hi Everyone!,
&lt;br&gt;&lt;br&gt;First of all let me express my most sincere gratitude to all the developers and contributors to the Tiles project, it's a great tool. Now the questions; I've been trying to use tiles attribute lists with velocity but so far no luck. I've looked for information on this particular topic and It seems the documentation on how to use the tiles 2 velocity tags is a bit scarce.
&lt;br&gt;&lt;br&gt;I have this declaration in the template definition file:
&lt;br&gt;&lt;br&gt;&amp;lt;put-list-attribute name=&amp;quot;metaKeywords&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;add-attribute value=&amp;quot;keyword1&amp;quot; type=&amp;quot;velocity&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;add-attribute value=&amp;quot;keyword2&amp;quot; type=&amp;quot;velocity&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;add-attribute value=&amp;quot;keyword3&amp;quot; type=&amp;quot;velocity&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;add-attribute value=&amp;quot;keyword4&amp;quot; type=&amp;quot;velocity&amp;quot;/&amp;gt;
&lt;br&gt;&amp;lt;/put-list-attribute&amp;gt;
&lt;br&gt;&lt;br&gt;And this code in the velocity template file:
&lt;br&gt;&lt;br&gt;&amp;lt;meta name=&amp;quot;keywords&amp;quot; content=&amp;quot;#foreach($keyword in $metaKeywords)$tiles.getAsString({&amp;quot;name&amp;quot;:&amp;quot;$keyword&amp;quot;}),#end&amp;quot;/&amp;gt;
&lt;br&gt;&lt;br&gt;But no keyword is printed, neither do I get an error, so, what am I doing wrong?
&lt;br&gt;&lt;br&gt;Thanks in advance,
&lt;br&gt;&lt;br&gt;Xabier Burgos.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/tiles-users-f18446.html&quot; embed=&quot;fixTarget[18446]&quot; target=&quot;_top&quot; &gt;tiles users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Usage-of-Tiles-2-Velocity-tags-for-attribute-lists-tp26763237p26763237.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26763159</id>
	<title>[jira] Commented: (WW-2754) Source code for GXP result</title>
	<published>2009-12-12T18:41:42Z</published>
	<updated>2009-12-12T18:41:42Z</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-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=47154#action_47154&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/struts/browse/WW-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=47154#action_47154&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Benjamin McCann commented on WW-2754:
&lt;br&gt;-------------------------------------
&lt;br&gt;&lt;br&gt;Thanks for the help. &amp;nbsp;I'm really close to getting this to compile. &amp;nbsp;OgnlValueStack used to take just a ValueStack as a constructor parameter, but now it takes 4 parameters (&lt;a href=&quot;http://struts.apache.org/2.1.8/struts2-core/apidocs/com/opensymphony/xwork2/ognl/OgnlValueStack.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://struts.apache.org/2.1.8/struts2-core/apidocs/com/opensymphony/xwork2/ognl/OgnlValueStack.html&lt;/a&gt;). &amp;nbsp;Do you know what I should pass in as the last 3 values?
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Source code for GXP result 
&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-2754
&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-2754&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/struts/browse/WW-2754&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: Temp
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Musachy Barroso
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: Future
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: gxp.webwork.tar.gz, struts-gxp-plugin.zip
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks to the google and the GXP guys for sending us the code
&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://old.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://old.nabble.com/-jira--Created%3A-%28WW-2754%29-Source-code-for-GXP-result-tp18878459p26763159.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26762605</id>
	<title>[jira] Commented: (WW-2754) Source code for GXP result</title>
	<published>2009-12-12T16:53:43Z</published>
	<updated>2009-12-12T16:53:43Z</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-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=47153#action_47153&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/struts/browse/WW-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=47153#action_47153&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Musachy Barroso commented on WW-2754:
&lt;br&gt;-------------------------------------
&lt;br&gt;&lt;br&gt;Yes, the code was sent to me by &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26762605&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;harryh@...&lt;/a&gt;, post in the gxp group, they are usually pretty responsive. 
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Source code for GXP result 
&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-2754
&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-2754&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/struts/browse/WW-2754&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: Temp
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Musachy Barroso
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: Future
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: gxp.webwork.tar.gz, struts-gxp-plugin.zip
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks to the google and the GXP guys for sending us the code
&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://old.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://old.nabble.com/-jira--Created%3A-%28WW-2754%29-Source-code-for-GXP-result-tp18878459p26762605.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26762600</id>
	<title>Re: ognl method lookup failure</title>
	<published>2009-12-12T16:51:30Z</published>
	<updated>2009-12-12T16:51:30Z</updated>
	<author>
		<name>Musachy Barroso</name>
	</author>
	<content type="html">I would suggest to put a breakpoint in XWorkMethodAccessor.callMethod
&lt;br&gt;and see why it is not finding it.
&lt;br&gt;&lt;br&gt;musachy
&lt;br&gt;&lt;br&gt;On Sat, Dec 12, 2009 at 1:44 PM, Dale Newfield &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26762600&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dale@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Often when I'm stumped writing a detailed &amp;quot;help!&amp;quot; message leads me to the
&lt;br&gt;&amp;gt; bug and I never have to send it.  This time I was not so lucky, and since
&lt;br&gt;&amp;gt; I've already wasted two days on this I was hoping someone here might have an
&lt;br&gt;&amp;gt; idea to get me out of the weeds.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I've got an abstract class &amp;quot;Comment&amp;quot; and a bunch of concrete subclasses
&lt;br&gt;&amp;gt; thereof.  I've got a &amp;quot;displayComment.tag&amp;quot; file that calls itself recursively
&lt;br&gt;&amp;gt; to display a tree of comments.  Among other things this checks the extant
&lt;br&gt;&amp;gt; subscriptions on the comment in question and displays various
&lt;br&gt;&amp;gt; subscribe/unsubscribe buttons as appropriate.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Mostly this works.  There are a couple concrete subclasses of Comment that
&lt;br&gt;&amp;gt; break in a bizarre way, and I've been stuck on this for two days, so I'm
&lt;br&gt;&amp;gt; hoping someone here might have a suggestion.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I go through the normal annoying dance to push ognl accessible objects into
&lt;br&gt;&amp;gt; jstl-el accessible locations, passing those as attributes into the .tag file
&lt;br&gt;&amp;gt; and then set them inside the tag into a namespace accessible from ognl:
&lt;br&gt;&amp;gt;  (yes, I tried with #attr, too--same behavior)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; inside the .tag:
&lt;br&gt;&amp;gt; &amp;lt;%@ attribute name=&amp;quot;currentUser&amp;quot; required=&amp;quot;true&amp;quot; type=&amp;quot;mumble.model.User&amp;quot;
&lt;br&gt;&amp;gt; rtexprvalue=&amp;quot;true&amp;quot;%&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;%@ attribute name=&amp;quot;commentToDisplay&amp;quot; required=&amp;quot;true&amp;quot;
&lt;br&gt;&amp;gt; type=&amp;quot;mumble.model.Comment&amp;quot; rtexprvalue=&amp;quot;true&amp;quot;%&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;c:set var=&amp;quot;currentUserInTag&amp;quot; scope=&amp;quot;request&amp;quot; value=&amp;quot;${currentUser}&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;c:set var=&amp;quot;commentInTag&amp;quot; scope=&amp;quot;request&amp;quot; value=&amp;quot;${commentToDisplay}&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Simple tests:  &amp;lt;s:property value=&amp;quot;%{#request.currentUserInTag.class}&amp;quot;/&amp;gt; and
&lt;br&gt;&amp;gt; &amp;lt;s:property value=&amp;quot;%{#request.commentInTag.class}&amp;quot;/&amp;gt; show the appropriate
&lt;br&gt;&amp;gt; (concrete) classes.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Whereas in most instances this OGNL logic works:
&lt;br&gt;&amp;gt; #request.commentInTag.isUserSubscribedViaEmail(#request.currentUserInTag)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; for these two specific concrete classes (due I believe to
&lt;br&gt;&amp;gt; struts.ognl.logMissingProperties=true) it results in a log entry:
&lt;br&gt;&amp;gt; Could not find method
&lt;br&gt;&amp;gt; [#request.commentInTag.isUserSubscribedViaEmail(#request.currentUserInTag)]
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am able to interrogate the object and find the expected methods:
&lt;br&gt;&amp;gt; &amp;lt;s:property value=&amp;quot;%{#request.commentInTag.class.methods.{?
&lt;br&gt;&amp;gt; #this.name=='isUserSubscribedViaEmail'}[0]}&amp;quot;/&amp;gt; results in &amp;quot;public boolean
&lt;br&gt;&amp;gt; mumble.model.CommunityFunItem.isUserSubscribedViaEmail(mumble.model.User)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; but I'm also unable to get further with that: &amp;lt;s:property
&lt;br&gt;&amp;gt; value=&amp;quot;%{#request.commentInTag.class.methods.{?
&lt;br&gt;&amp;gt; #this.name=='isUserSubscribedViaEmail'}[0].invoke(#request.commentInTag,#request.currentUserInTag)}&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; results in the log entry:  Could not find method
&lt;br&gt;&amp;gt; [#request.commentInTag.class.methods.{?
&lt;br&gt;&amp;gt; #this.name=='isUserSubscribedViaEmail'}[0].invoke(#request.commentInTag,#request.currentUserInTag)]
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Maybe related: if I try to access the Class method &amp;quot;Method getMethod(String
&lt;br&gt;&amp;gt; name, Class... parameterTypes)&amp;quot; directly to get the right one (instead of
&lt;br&gt;&amp;gt; getting all of them and looking for one with the right name) I end up with
&lt;br&gt;&amp;gt; this log message:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Caught an exception while evaluating expression
&lt;br&gt;&amp;gt; '#request.commentInTag.class.getMethod('isUserSubscribedViaEmail',#request.currentUserInTag.class)'
&lt;br&gt;&amp;gt; against value stack
&lt;br&gt;&amp;gt; java.lang.IllegalArgumentException: java.lang.ClassCastException@ab1dea
&lt;br&gt;&amp;gt;        at sun.reflect.GeneratedMethodAccessor1387.invoke(Unknown Source)
&lt;br&gt;&amp;gt;        at
&lt;br&gt;&amp;gt; sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&lt;br&gt;&amp;gt;        at java.lang.reflect.Method.invoke(Method.java:585)
&lt;br&gt;&amp;gt;        at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:851)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Again, this works with some concrete subclasses of Comment, but not others.
&lt;br&gt;&amp;gt;  There are no substantial differences between them as far as I can tell.
&lt;br&gt;&amp;gt;  Any ideas/leads/suggestions/suppositions welcome.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm using struts 2.1.8.1, ognl 2.7.3, yes I have javassist-3.8.1.jar in
&lt;br&gt;&amp;gt; WEB-INF/lib.  Running under glassfish if that matters.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -Dale
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26762600&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26762600&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26762600&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26762600&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://old.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://old.nabble.com/ognl-method-lookup-failure-tp26761411p26762600.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26762330</id>
	<title>[CONF] Confluence Changes in the last 24 hours</title>
	<published>2009-12-12T16:01:01Z</published>
	<updated>2009-12-12T16:01:01Z</updated>
	<author>
		<name>confluence-2</name>
	</author>
	<content type="html">This is a daily summary of all recent changes in Confluence.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;Updated Spaces:
&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&lt;br&gt;Apache Click (&lt;a href=&quot;http://cwiki.apache.org/confluence/display/CLICK&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/CLICK&lt;/a&gt;)
&lt;br&gt;&lt;br&gt;Pages
&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;December 2009 created by sabob (10:07 PM)
&lt;br&gt;&lt;a href=&quot;http://cwiki.apache.org/confluence/display/CLICK/December+2009&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/CLICK/December+2009&lt;/a&gt;&lt;br&gt;&lt;br&gt;Board Reports created by sabob (09:13 PM)
&lt;br&gt;&lt;a href=&quot;http://cwiki.apache.org/confluence/display/CLICK/Board+Reports&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/CLICK/Board+Reports&lt;/a&gt;&lt;br&gt;&lt;br&gt;Index edited by &amp;nbsp;sabob &amp;nbsp;(09:14 PM)
&lt;br&gt;&lt;a href=&quot;http://cwiki.apache.org/confluence/display/CLICK/Index&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/CLICK/Index&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Apache ESME (&lt;a href=&quot;http://cwiki.apache.org/confluence/display/ESME&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/ESME&lt;/a&gt;)
&lt;br&gt;&lt;br&gt;Comments
&lt;br&gt;&lt;a href=&quot;http://cwiki.apache.org/confluence/display/ESME/Collaboration+with+OFbiz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/ESME/Collaboration+with+OFbiz&lt;/a&gt;&amp;nbsp;(7)
&lt;br&gt;&lt;br&gt;Apache Jackrabbit (&lt;a href=&quot;http://cwiki.apache.org/confluence/display/JCR&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/JCR&lt;/a&gt;)
&lt;br&gt;&lt;br&gt;Pages
&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;Welcome to Apache Jackrabbit edited by &amp;nbsp;jukka &amp;nbsp;(04:47 PM)
&lt;br&gt;&lt;a href=&quot;http://cwiki.apache.org/confluence/display/JCR/Welcome+to+Apache+Jackrabbit&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/JCR/Welcome+to+Apache+Jackrabbit&lt;/a&gt;&lt;br&gt;&lt;br&gt;Downloads edited by &amp;nbsp;jukka &amp;nbsp;(04:46 PM)
&lt;br&gt;&lt;a href=&quot;http://cwiki.apache.org/confluence/display/JCR/Downloads&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/JCR/Downloads&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;OFBiz (Open For Business) Project Open Wiki (&lt;a href=&quot;http://cwiki.apache.org/confluence/display/OFBIZ&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/OFBIZ&lt;/a&gt;)
&lt;br&gt;&lt;br&gt;Pages
&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;Sync Setup Notes and Example edited by &amp;nbsp;jacques.le.roux &amp;nbsp;(03:51 PM)
&lt;br&gt;&lt;a href=&quot;http://cwiki.apache.org/confluence/display/OFBIZ/Sync+Setup+Notes+and+Example&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/OFBIZ/Sync+Setup+Notes+and+Example&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Apache Sling (&lt;a href=&quot;http://cwiki.apache.org/confluence/display/SLING&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/SLING&lt;/a&gt;)
&lt;br&gt;&lt;br&gt;Pages
&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;Status Report (December 2009) edited by &amp;nbsp;fmeschbe &amp;nbsp;(05:19 PM)
&lt;br&gt;&lt;a href=&quot;http://cwiki.apache.org/confluence/display/SLING/Status+Report+%28December+2009%29&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/SLING/Status+Report+%28December+2009%29&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Apache Sling Website (&lt;a href=&quot;http://cwiki.apache.org/confluence/display/SLINGxSITE&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/SLINGxSITE&lt;/a&gt;)
&lt;br&gt;&lt;br&gt;Pages
&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;Project Team edited by &amp;nbsp;fmeschbe &amp;nbsp;(03:40 PM)
&lt;br&gt;&lt;a href=&quot;http://cwiki.apache.org/confluence/display/SLINGxSITE/Project+Team&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/SLINGxSITE/Project+Team&lt;/a&gt;&lt;br&gt;&lt;br&gt;Project Information edited by &amp;nbsp;fmeschbe &amp;nbsp;(03:34 PM)
&lt;br&gt;&lt;a href=&quot;http://cwiki.apache.org/confluence/display/SLINGxSITE/Project+Information&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/SLINGxSITE/Project+Information&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Traffic Server (&lt;a href=&quot;http://cwiki.apache.org/confluence/display/TS&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/TS&lt;/a&gt;)
&lt;br&gt;&lt;br&gt;Pages
&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;Traffic Server edited by &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26762330&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ericb@...&lt;/a&gt; &amp;nbsp;(12:16 AM)
&lt;br&gt;&lt;a href=&quot;http://cwiki.apache.org/confluence/display/TS/Traffic+Server&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/TS/Traffic+Server&lt;/a&gt;&lt;br&gt;&lt;br&gt;FAQ created by &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26762330&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ericb@...&lt;/a&gt; (12:15 AM)
&lt;br&gt;&lt;a href=&quot;http://cwiki.apache.org/confluence/display/TS/FAQ&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/TS/FAQ&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Apache Wicket Website (&lt;a href=&quot;http://cwiki.apache.org/confluence/display/WICKETxSITE&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/WICKETxSITE&lt;/a&gt;)
&lt;br&gt;&lt;br&gt;Pages
&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;Index edited by &amp;nbsp;jdonnerstag &amp;nbsp;(10:24 AM)
&lt;br&gt;&lt;a href=&quot;http://cwiki.apache.org/confluence/display/WICKETxSITE/Index&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/WICKETxSITE/Index&lt;/a&gt;&lt;br&gt;&lt;br&gt;Books edited by &amp;nbsp;jdonnerstag &amp;nbsp;(10:20 AM)
&lt;br&gt;&lt;a href=&quot;http://cwiki.apache.org/confluence/display/WICKETxSITE/Books&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/WICKETxSITE/Books&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Apache Wookie (&lt;a href=&quot;http://cwiki.apache.org/confluence/display/WOOKIE&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/WOOKIE&lt;/a&gt;)
&lt;br&gt;&lt;br&gt;Pages
&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;Wookie REST API edited by &amp;nbsp;rgardler &amp;nbsp;(10:43 PM)
&lt;br&gt;&lt;a href=&quot;http://cwiki.apache.org/confluence/display/WOOKIE/Wookie+REST+API&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/WOOKIE/Wookie+REST+API&lt;/a&gt;&lt;br&gt;&lt;br&gt;Downloading and Installing Wookie edited by &amp;nbsp;rgardler &amp;nbsp;(01:12 AM)
&lt;br&gt;&lt;a href=&quot;http://cwiki.apache.org/confluence/display/WOOKIE/Downloading+and+Installing+Wookie&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/WOOKIE/Downloading+and+Installing+Wookie&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Change your notification preferences: &lt;a href=&quot;http://cwiki.apache.org/confluence/users/viewnotifications.action&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/users/viewnotifications.action&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.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://old.nabble.com/-CONF--Confluence-Changes-in-the-last-24-hours-tp26762330p26762330.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26761411</id>
	<title>ognl method lookup failure</title>
	<published>2009-12-12T13:44:49Z</published>
	<updated>2009-12-12T13:44:49Z</updated>
	<author>
		<name>DNewfield</name>
	</author>
	<content type="html">Often when I'm stumped writing a detailed &amp;quot;help!&amp;quot; message leads me to 
&lt;br&gt;the bug and I never have to send it. &amp;nbsp;This time I was not so lucky, and 
&lt;br&gt;since I've already wasted two days on this I was hoping someone here 
&lt;br&gt;might have an idea to get me out of the weeds.
&lt;br&gt;&lt;br&gt;I've got an abstract class &amp;quot;Comment&amp;quot; and a bunch of concrete subclasses 
&lt;br&gt;thereof. &amp;nbsp;I've got a &amp;quot;displayComment.tag&amp;quot; file that calls itself 
&lt;br&gt;recursively to display a tree of comments. &amp;nbsp;Among other things this 
&lt;br&gt;checks the extant subscriptions on the comment in question and displays 
&lt;br&gt;various subscribe/unsubscribe buttons as appropriate.
&lt;br&gt;&lt;br&gt;Mostly this works. &amp;nbsp;There are a couple concrete subclasses of Comment 
&lt;br&gt;that break in a bizarre way, and I've been stuck on this for two days, 
&lt;br&gt;so I'm hoping someone here might have a suggestion.
&lt;br&gt;&lt;br&gt;I go through the normal annoying dance to push ognl accessible objects 
&lt;br&gt;into jstl-el accessible locations, passing those as attributes into the 
&lt;br&gt;.tag file and then set them inside the tag into a namespace accessible 
&lt;br&gt;from ognl: &amp;nbsp;(yes, I tried with #attr, too--same behavior)
&lt;br&gt;&lt;br&gt;inside the .tag:
&lt;br&gt;&amp;lt;%@ attribute name=&amp;quot;currentUser&amp;quot; required=&amp;quot;true&amp;quot; 
&lt;br&gt;type=&amp;quot;mumble.model.User&amp;quot; rtexprvalue=&amp;quot;true&amp;quot;%&amp;gt;
&lt;br&gt;&amp;lt;%@ attribute name=&amp;quot;commentToDisplay&amp;quot; required=&amp;quot;true&amp;quot; 
&lt;br&gt;type=&amp;quot;mumble.model.Comment&amp;quot; rtexprvalue=&amp;quot;true&amp;quot;%&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;c:set var=&amp;quot;currentUserInTag&amp;quot; scope=&amp;quot;request&amp;quot; value=&amp;quot;${currentUser}&amp;quot;/&amp;gt;
&lt;br&gt;&amp;lt;c:set var=&amp;quot;commentInTag&amp;quot; scope=&amp;quot;request&amp;quot; value=&amp;quot;${commentToDisplay}&amp;quot;/&amp;gt;
&lt;br&gt;&lt;br&gt;Simple tests: &amp;nbsp;&amp;lt;s:property value=&amp;quot;%{#request.currentUserInTag.class}&amp;quot;/&amp;gt; 
&lt;br&gt;and &amp;lt;s:property value=&amp;quot;%{#request.commentInTag.class}&amp;quot;/&amp;gt; show the 
&lt;br&gt;appropriate (concrete) classes.
&lt;br&gt;&lt;br&gt;Whereas in most instances this OGNL logic works:
&lt;br&gt;#request.commentInTag.isUserSubscribedViaEmail(#request.currentUserInTag)
&lt;br&gt;&lt;br&gt;for these two specific concrete classes (due I believe to 
&lt;br&gt;struts.ognl.logMissingProperties=true) it results in a log entry:
&lt;br&gt;Could not find method 
&lt;br&gt;[#request.commentInTag.isUserSubscribedViaEmail(#request.currentUserInTag)]
&lt;br&gt;&lt;br&gt;I am able to interrogate the object and find the expected methods:
&lt;br&gt;&amp;lt;s:property value=&amp;quot;%{#request.commentInTag.class.methods.{? 
&lt;br&gt;#this.name=='isUserSubscribedViaEmail'}[0]}&amp;quot;/&amp;gt; results in &amp;quot;public 
&lt;br&gt;boolean 
&lt;br&gt;mumble.model.CommunityFunItem.isUserSubscribedViaEmail(mumble.model.User)
&lt;br&gt;&lt;br&gt;but I'm also unable to get further with that: &amp;lt;s:property 
&lt;br&gt;value=&amp;quot;%{#request.commentInTag.class.methods.{? 
&lt;br&gt;#this.name=='isUserSubscribedViaEmail'}[0].invoke(#request.commentInTag,#request.currentUserInTag)}&amp;quot;/&amp;gt; 
&lt;br&gt;results in the log entry: &amp;nbsp;Could not find method 
&lt;br&gt;[#request.commentInTag.class.methods.{? 
&lt;br&gt;#this.name=='isUserSubscribedViaEmail'}[0].invoke(#request.commentInTag,#request.currentUserInTag)]
&lt;br&gt;&lt;br&gt;Maybe related: if I try to access the Class method &amp;quot;Method 
&lt;br&gt;getMethod(String name, Class... parameterTypes)&amp;quot; directly to get the 
&lt;br&gt;right one (instead of getting all of them and looking for one with the 
&lt;br&gt;right name) I end up with this log message:
&lt;br&gt;&lt;br&gt;Caught an exception while evaluating expression 
&lt;br&gt;'#request.commentInTag.class.getMethod('isUserSubscribedViaEmail',#request.currentUserInTag.class)' 
&lt;br&gt;against value stack
&lt;br&gt;java.lang.IllegalArgumentException: java.lang.ClassCastException@ab1dea
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at sun.reflect.GeneratedMethodAccessor1387.invoke(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at 
&lt;br&gt;sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at java.lang.reflect.Method.invoke(Method.java:585)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:851)
&lt;br&gt;&lt;br&gt;&lt;br&gt;Again, this works with some concrete subclasses of Comment, but not 
&lt;br&gt;others. &amp;nbsp;There are no substantial differences between them as far as I 
&lt;br&gt;can tell. &amp;nbsp;Any ideas/leads/suggestions/suppositions welcome.
&lt;br&gt;&lt;br&gt;I'm using struts 2.1.8.1, ognl 2.7.3, yes I have javassist-3.8.1.jar in 
&lt;br&gt;WEB-INF/lib. &amp;nbsp;Running under glassfish if that matters.
&lt;br&gt;&lt;br&gt;-Dale
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26761411&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26761411&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://old.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://old.nabble.com/ognl-method-lookup-failure-tp26761411p26761411.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26761400</id>
	<title>[jira] Updated: (WW-2754) Source code for GXP result</title>
	<published>2009-12-12T13:43:42Z</published>
	<updated>2009-12-12T13:43:42Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/struts/browse/WW-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/struts/browse/WW-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Benjamin McCann updated WW-2754:
&lt;br&gt;--------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Attachment: struts-gxp-plugin.zip
&lt;br&gt;&lt;br&gt;I tried to get the code into a state where it could be checked in and noticed two problems. &amp;nbsp;The first is that it was written for WebWork instead of Struts 2. &amp;nbsp;I fixed that. &amp;nbsp;The second larger problem is that there are many references to code that's not included here. &amp;nbsp;Since Google already agreed to open sourcing this code I imagine it shouldn't be a problem to get the missing code. &amp;nbsp;And some amount of it should be able to be coded around or reimplemented. &amp;nbsp;I'll shoot off a couple emails and see what else can be open sourced. &amp;nbsp;Do you have the name of the person that submitted this code? &amp;nbsp;It might help me to be able to talk to them.
&lt;br&gt;(I've attached my progress so far for the curious)
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Source code for GXP result 
&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-2754
&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-2754&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/struts/browse/WW-2754&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: Temp
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Musachy Barroso
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: Future
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: gxp.webwork.tar.gz, struts-gxp-plugin.zip
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks to the google and the GXP guys for sending us the code
&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://old.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://old.nabble.com/-jira--Created%3A-%28WW-2754%29-Source-code-for-GXP-result-tp18878459p26761400.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26759311</id>
	<title>struts bug? session object bug? pls help</title>
	<published>2009-12-12T09:09:54Z</published>
	<updated>2009-12-12T09:09:54Z</updated>
	<author>
		<name>john lee-15</name>
	</author>
	<content type="html">I have the same serious problem that is similar to an old thread
&lt;br&gt;&lt;a href=&quot;http://marc.info/?l=struts-user&amp;m=121234554714110&amp;w=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://marc.info/?l=struts-user&amp;m=121234554714110&amp;w=2&lt;/a&gt;&lt;br&gt; 
&lt;br&gt;I use session object to manage user data for my company's e-commerce site, from time to time,specially when have high web access traffic, the session data could overlap, and from different user object. It is very frustrated, because it not happen always, but once a while, but serious problem, i do not know it is bug for strusts or not.
&lt;br&gt; 
&lt;br&gt;public ActionForward execute(ActionMapping mapping,
&lt;br&gt;                               ActionForm form,
&lt;br&gt;                               HttpServletRequest request,
&lt;br&gt;                               HttpServletResponse response
&lt;br&gt;                               ) throws Exception
&lt;br&gt;{
&lt;br&gt;HttpSession session=request.getSession();
&lt;br&gt;UserInfoForm uif, t_uif;
&lt;br&gt;Boolean check_cookie=false;
&lt;br&gt;String login=null;
&lt;br&gt;if (session==null) {
&lt;br&gt;        session=request.getSession(true);
&lt;br&gt;        check_cookie=true;
&lt;br&gt;   }
&lt;br&gt;else {
&lt;br&gt;          uif=(UserInfoForm) session.getAttribute(BeanNames.USERINFO);
&lt;br&gt;          if (uif==null || uif.getLogin_id()==null ||uif.getLogin_id().equals(&amp;quot;Visit&amp;quot;) )        
&lt;br&gt;             check_cookie=true;
&lt;br&gt;         }
&lt;br&gt; 
&lt;br&gt;if (check_cookie) {
&lt;br&gt;        t_uif=new UserInfoForm();
&lt;br&gt;        uif.setLogin_id(&amp;quot;Visit&amp;quot;);
&lt;br&gt;        session.setAttribute(BeanNames.USERINFO,uif);
&lt;br&gt;        Cookie theCookie=null;uif.setLogin_id(&amp;quot;Visit&amp;quot;);
&lt;br&gt;        Cookie cookieList[]=request.getCookies();
&lt;br&gt;        if (cookieList!=null) {
&lt;br&gt;           for (int i=0; i&amp;lt;cookieList.length;i++) {
&lt;br&gt;               theCookie=cookieList[i];
&lt;br&gt;               if ( theCookie.getName().equals(&amp;quot;XXX&amp;quot;) )           /* XXX=company name */
&lt;br&gt;                  login=theCookie.getValue();
&lt;br&gt;               }
&lt;br&gt;           if (login==null)
&lt;br&gt;             t_uif=null;
&lt;br&gt;           else
&lt;br&gt;             t_uif=security_service.ask(login);      /* to access db, to verify user info ...*/
&lt;br&gt;           if (t_uif==null)
&lt;br&gt;              t_uif.setLogin_id(&amp;quot;Visit&amp;quot;);
&lt;br&gt;           session.setAttribute(BeanNames.USERINFO,t_uif);
&lt;br&gt;           }
&lt;br&gt;    }
&lt;br&gt; 
&lt;br&gt;uif=(UserInfoForm) session.getAttribute(BeanNames.USERINFO);
&lt;br&gt; 
&lt;br&gt;....
&lt;br&gt; 
&lt;br&gt;average once a month or when have heavy web traffic, the 'USERINFO' session object could be overlap with wrong customer info.
&lt;br&gt; 
&lt;br&gt;please give me any clue, tks in advance
&lt;br&gt; 
&lt;br&gt;john
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.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://old.nabble.com/struts-bug--session-object-bug--pls-help-tp26759311p26759311.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26759233</id>
	<title>[jira] Commented: (WW-2754) Source code for GXP result</title>
	<published>2009-12-12T09:01:42Z</published>
	<updated>2009-12-12T09:01:42Z</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-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=47151#action_47151&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/struts/browse/WW-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=47151#action_47151&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Musachy Barroso commented on WW-2754:
&lt;br&gt;-------------------------------------
&lt;br&gt;&lt;br&gt;Yes Benjamin you are right, that plugin was/is an attempt to write the tags using GXP and provide support for GXP in general, just after it was released. A short time after that the GXP folks donated this code, which we need to test/clean up and make into a proper plugin, if you are up for the task I, feel free to attach a patch or zip here for it. 
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Source code for GXP result 
&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-2754
&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-2754&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/struts/browse/WW-2754&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: Temp
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Musachy Barroso
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: Future
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: gxp.webwork.tar.gz
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks to the google and the GXP guys for sending us the code
&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://old.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://old.nabble.com/-jira--Created%3A-%28WW-2754%29-Source-code-for-GXP-result-tp18878459p26759233.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26758926</id>
	<title>struts bug, session object bug? pls help</title>
	<published>2009-12-12T08:26:57Z</published>
	<updated>2009-12-12T08:26:57Z</updated>
	<author>
		<name>john lee-15</name>
	</author>
	<content type="html"> 
&lt;br&gt;I have the same serious problem that is similar to an old thread
&lt;br&gt;&lt;a href=&quot;http://marc.info/?l=struts-user&amp;m=121234554714110&amp;w=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://marc.info/?l=struts-user&amp;m=121234554714110&amp;w=2&lt;/a&gt;&lt;br&gt; 
&lt;br&gt;I use session object to manage user data for my company's e-commerce site, from time to time,specially when have high web access traffic, the session data could overlap, and from different user object. It is very frustrated, because it not happen always, but once a while, but serious problem, i do not know it is bug for strusts or not.
&lt;br&gt; 
&lt;br&gt;public ActionForward execute(ActionMapping mapping,
&lt;br&gt;                               ActionForm form,
&lt;br&gt;                               HttpServletRequest request,
&lt;br&gt;                               HttpServletResponse response
&lt;br&gt;                               ) throws Exception
&lt;br&gt;{
&lt;br&gt;HttpSession session=request.getSession();
&lt;br&gt;UserInfoForm uif, t_uif;
&lt;br&gt;Boolean check_cookie=false;
&lt;br&gt;String login=null;
&lt;br&gt;if (session==null) {
&lt;br&gt;        session=request.getSession(true);
&lt;br&gt;        check_cookie=true;
&lt;br&gt;   }
&lt;br&gt;else {
&lt;br&gt;          uif=(UserInfoForm) session.getAttribute(BeanNames.USERINFO);
&lt;br&gt;          if (uif==null || uif.getLogin_id()==null ||uif.getLogin_id().equals(&amp;quot;Visit&amp;quot;) )        
&lt;br&gt;             check_cookie=true;
&lt;br&gt;         }
&lt;br&gt; 
&lt;br&gt;if (check_cookie) {
&lt;br&gt;        t_uif=new UserInfoForm();
&lt;br&gt;        uif.setLogin_id(&amp;quot;Visit&amp;quot;);
&lt;br&gt;        session.setAttribute(BeanNames.USERINFO,uif);
&lt;br&gt;        Cookie theCookie=null;uif.setLogin_id(&amp;quot;Visit&amp;quot;);
&lt;br&gt;        Cookie cookieList[]=request.getCookies();
&lt;br&gt;        if (cookieList!=null) {
&lt;br&gt;           for (int i=0; i&amp;lt;cookieList.length;i++) {
&lt;br&gt;               theCookie=cookieList[i];
&lt;br&gt;               if ( theCookie.getName().equals(&amp;quot;XXX&amp;quot;) )           /* XXX=company name */
&lt;br&gt;                  login=theCookie.getValue();
&lt;br&gt;               }
&lt;br&gt;           if (login==null)
&lt;br&gt;             t_uif=null;
&lt;br&gt;           else
&lt;br&gt;             t_uif=security_service.ask(login);      /* to access db, to verify user info ...*/
&lt;br&gt;           if (t_uif==null)
&lt;br&gt;              t_uif.setLogin_id(&amp;quot;Visit&amp;quot;);
&lt;br&gt;           session.setAttribute(BeanNames.USERINFO,t_uif);
&lt;br&gt;           }
&lt;br&gt;    }
&lt;br&gt; 
&lt;br&gt;uif=(UserInfoForm) session.getAttribute(BeanNames.USERINFO);
&lt;br&gt; 
&lt;br&gt;.....
&lt;br&gt; 
&lt;br&gt;average once a month or when have heavy web traffic, the 'USERINFO' session object could be overlap with wrong customer info.
&lt;br&gt; 
&lt;br&gt;please give me any clue, tks in advance
&lt;br&gt; 
&lt;br&gt;john
&lt;br&gt; 
&lt;br&gt; 
&lt;br&gt; 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.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://old.nabble.com/struts-bug%2C-session-object-bug--pls-help-tp26758926p26758926.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26758892</id>
	<title>Re: &quot;specified DSN contains an architecture mismatch&quot;</title>
	<published>2009-12-12T08:23:34Z</published>
	<updated>2009-12-12T08:23:34Z</updated>
	<author>
		<name>Wes Wannemacher</name>
	</author>
	<content type="html">Why use odbc? Mysql has a top notch jdbc driver.
&lt;br&gt;&lt;br&gt;On 12/11/09, Todd Grigsby &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26758892&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;strutsuser@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yes, thank you, I know that. &amp;nbsp;My question has to do with the
&lt;br&gt;&amp;gt; architecture mismatch. &amp;nbsp;All the documentation I've seen on this
&lt;br&gt;&amp;gt; indicates that there is a 32-bit/64-bit issue, but I'll be darned if I
&lt;br&gt;&amp;gt; know which piece is at fault. &amp;nbsp;Given the versions of the various parts,
&lt;br&gt;&amp;gt; does anyone have any idea what I need to do to be able to talk to MySQL?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; TG
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Martin Gainty wrote:
&lt;br&gt;&amp;gt;&amp;gt; you're using InitialContext to lookup a DataSource registered to JNDI
&lt;br&gt;&amp;gt;&amp;gt; registry
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Martin Gainty
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; Context context = new InitialContext();
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; DataSource ds =
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; (DataSource)context.lookup(&amp;quot;java:/comp/env/jdbc/odbc/tgecorp&amp;quot;);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; Connection conn = datasource.getConnection();
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; ...
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; The last line throws an exception with the following message: &amp;nbsp;&amp;quot;The
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; specified DSN contains an architecture mismatch between the Driver and
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Application.&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26758892&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26758892&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;Wes Wannemacher
&lt;br&gt;&lt;br&gt;Head Engineer, WanTii, Inc.
&lt;br&gt;Need Training? Struts, Spring, Maven, Tomcat...
&lt;br&gt;Ask me for a quote!
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26758892&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26758892&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://old.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://old.nabble.com/%22specified-DSN-contains-an-architecture-mismatch%22-tp26752793p26758892.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26758142</id>
	<title>Re: Struts2 Architecture - 2.0.14 and 2.1.8</title>
	<published>2009-12-12T06:49:08Z</published>
	<updated>2009-12-12T06:49:08Z</updated>
	<author>
		<name>Donato Pirozzi</name>
	</author>
	<content type="html">Hi Jayson,
&lt;br&gt;&lt;br&gt;I have upgraded version of struts for my project (from 2.0.14 to 2.1.8), and
&lt;br&gt;for my personal experience I think that key concepts and base architecture
&lt;br&gt;aspects are the same. For my experience version 2.1.8 is more stable, better
&lt;br&gt;performance (first observations from users) ...
&lt;br&gt;&lt;br&gt;Into update there are a troubles, only if you use dojo intensely into your
&lt;br&gt;application, because dojo plugin is deprecated and not supported for future
&lt;br&gt;versions (infact dojo plugin is a wrapper of an old version dojo toolkit). I
&lt;br&gt;have decided to remove referance to dojo plugin and use directly dojo
&lt;br&gt;toolkit.
&lt;br&gt;&lt;br&gt;You can have information on differences between the versions at
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://struts.apache.org/2.1.8.1/docs/migration-guide.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://struts.apache.org/2.1.8.1/docs/migration-guide.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Donato
&lt;br&gt;&lt;br&gt;&lt;br&gt;2009/12/12 Jayson Joseph Chacko &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26758142&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jaysonjc@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is there any key architectural changes between 2.0.14 and 2.1.8? &amp;nbsp;Or does
&lt;br&gt;&amp;gt; the key concepts remain the same?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Jayson
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.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://old.nabble.com/Struts2-Architecture---2.0.14-and-2.1.8-tp26755149p26758142.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26756934</id>
	<title>Re: Resource import on individual pages</title>
	<published>2009-12-12T03:49:34Z</published>
	<updated>2009-12-12T03:49:34Z</updated>
	<author>
		<name>Antonio Petrelli-3</name>
	</author>
	<content type="html">2009/12/11 anyz &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26756934&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;anyz111@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; I have a base tile definition and various tiles extend it. The static
&lt;br&gt;&amp;gt; resource like css, js are imported throuhg &amp;lt;link&amp;gt; and &amp;lt;Script&amp;gt; tags in base
&lt;br&gt;&amp;gt; tile. Similalry various java files are imported though import directive in
&lt;br&gt;&amp;gt; base tile jsp page. However each child type has its own js, css and java
&lt;br&gt;&amp;gt; import file. How can i import resources for individual pages instead of
&lt;br&gt;&amp;gt; putting everything in base tile. Also html &amp;lt;body&amp;gt; and &amp;lt;head&amp;gt; tags are
&lt;br&gt;&amp;gt; present only in base tile so is it good practice to import resource in child
&lt;br&gt;&amp;gt; tiles even then.
&lt;br&gt;&lt;br&gt;As Brian anticipated, I have another suggestion :-D
&lt;br&gt;You can make use of list attributes. I suppose that you have *several*
&lt;br&gt;js and css files to point to, so in your template page you can do this
&lt;br&gt;way:
&lt;br&gt;&lt;br&gt;&amp;lt;head&amp;gt;
&lt;br&gt;&amp;lt;tiles:importAttribute name=&amp;quot;javascripts&amp;quot; /&amp;gt;
&lt;br&gt;&amp;lt;c:forEach var=&amp;quot;jsfile&amp;quot; items=&amp;quot;${javascripts}&amp;quot;&amp;gt;
&lt;br&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;&amp;lt;tiles:getAsString
&lt;br&gt;value='${jsfile}' /&amp;gt;&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;
&lt;br&gt;&amp;lt;/c:forEach&amp;gt;
&lt;br&gt;&amp;lt;!-- The same for css --&amp;gt;
&lt;br&gt;&amp;lt;/head&amp;gt;
&lt;br&gt;&lt;br&gt;Your definition becomes:
&lt;br&gt;&lt;br&gt;&amp;lt;definition name=&amp;quot;my.definitio&amp;quot; template=&amp;quot;/my/template.jsp&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;put-list-attribute name=&amp;quot;javascripts&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;add-attribute value=&amp;quot;/js/script1.js&amp;quot; type=&amp;quot;string&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;add-attribute value=&amp;quot;/js/script2.js&amp;quot; type=&amp;quot;string&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/put-list-attribute&amp;gt;
&lt;br&gt;&amp;lt;/definition&amp;gt;
&lt;br&gt;&lt;br&gt;HTH
&lt;br&gt;Antonio
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/tiles-users-f18446.html&quot; embed=&quot;fixTarget[18446]&quot; target=&quot;_top&quot; &gt;tiles users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Resource-import-on-individual-pages-tp26748495p26756934.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26755998</id>
	<title>[jira] Commented: (WW-2754) Source code for GXP result</title>
	<published>2009-12-12T01:07:42Z</published>
	<updated>2009-12-12T01:07:42Z</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-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=47150#action_47150&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/struts/browse/WW-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=47150#action_47150&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Benjamin McCann commented on WW-2754:
&lt;br&gt;-------------------------------------
&lt;br&gt;&lt;br&gt;Hi Wes, thanks for the quick response. &amp;nbsp;I checked out the code available at &lt;a href=&quot;http://svn.apache.org/viewvc/struts/sandbox/trunk/struts2-gxp-plugin/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.apache.org/viewvc/struts/sandbox/trunk/struts2-gxp-plugin/&lt;/a&gt;&lt;br&gt;Is that what you were referring to? &amp;nbsp;I'm not real sure what that code is. &amp;nbsp;It doesn't contain any of the files in the attachment on this issue. &amp;nbsp;It looks like it is the beginning of some sort of attempt to reimplement all the Struts tags using GXP as an intermediary? &amp;nbsp;Really I'd just like to be able to use the gxp result type provided here. &amp;nbsp;I can of course compile it on my own, but I'd like to help get it in a place that's more easily usable by others as well.
&lt;br&gt;Is there anything I can do to help get this checked in to SVN? &amp;nbsp;It looks like really the only thing that is needed is to put the code in a standard maven directory structure and add a pom.xml. &amp;nbsp;The code itself is solid as it's widely used within Google. &amp;nbsp;If you let me know in fast enough, I've got free time this weekend that I could use to do that. &amp;nbsp;My only question is what would you want me to name this plugin? &amp;nbsp;The code attached here is well tested and has been extensively used with Google, so I'd prefer not to mix it with what's in SVN since that code is only a partial implementation of an idea which is far away from being able to be released. &amp;nbsp;If we keep the code to just what's attached here then we have something that could be released. &amp;nbsp;Maybe we could rename the existing SVN code to something like struts2-gxp-experiment so as to free up struts2-gxp-plugin for the code attached here?
&lt;br&gt;I'll write up a blog post to explain how to use the plugin and promote it when we have it checked in (I have the #2 result on Google for struts 2 tutorial).
&lt;br&gt;Thanks!
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Source code for GXP result 
&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-2754
&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-2754&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/struts/browse/WW-2754&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: Temp
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Musachy Barroso
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: Future
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: gxp.webwork.tar.gz
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks to the google and the GXP guys for sending us the code
&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://old.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://old.nabble.com/-jira--Created%3A-%28WW-2754%29-Source-code-for-GXP-result-tp18878459p26755998.html" />
</entry>

</feed>
