struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose A. Corbacho" <>
Subject Form submit always redirects to the action page instead of the target div
Date Fri, 05 Mar 2010 06:17:58 GMT
Hi all,
All the forms in my application redirect to the the action associated
instead of the target div.

I'm using Struts 2.1.6

Here is the code:

<s:form id="loginForm" namespace="/" action="Login" method="post" >
   <s:textfield name="name"  />
    <s:submit targets="contentDiv"/>

I also try with
<s:submit targets="contentDiv" notifyTopics="show_contentDiv_topic"/>


<sx:div id="contentDiv" listenTopics="show_contenDiv_topic">

Doing it using  <sx:a> works but it's not what I'm looking for.

<sx:head/> is defined in the pages


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message