I am trying to develop a web application using Struts, Tiles, and JavaServer Faces, connected by the Struts-Faces integration library. I can't seem to make the <s:form> tag work.

The code I wrote looks like:
<s:form action="/search">

The /search action is configured in struts-config.xml to forward to a search results tile.

The code renders like this:

<form id="navbar:_id19" 
action="/WebInterface/faces/start.jsp;jsessionid=B61380A7B5F7372ABE0CA4D8FF109123" method="post">

where start.jsp is the page the form is on. This happens with other forms too; when the <s:form> tag is rendered, the action attribute is directed back on the current page.

I read the following article, which proposed sort of a hack to solve this problem:
--> http://www-106.ibm.com/developerworks/library/j-integrate/
except this was written last September for an older version of Struts-Faces, and some of the code it tells you to change is different now. I couldn't get this to work.


How do I get around this problem? It seems like something pretty basic, so I apologize if this is something that's been well covered already, but I couldn't find information about it anywhere.

-- Josh

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to