The 'xxx' was just an attempt to remove a directory name from my post. It
is not a context. Making the path and the actions match exactly gives the
same result. The name attribute of HTML forms is used alot in javascript.

_________________________________
Dave Kershaw
Lead Programmer Specialist, e-Business/Technology
VWR International, http://www.vwr.com
Phone: 610.429.5558
Fax: 610.431.8429


                                                                                
                                                       
                      "Wendy Smoak"                                             
                                                       
                      <[EMAIL PROTECTED]        To:       "Struts Users Mailing 
List" <user@struts.apache.org>                          
                      com>                     cc:                              
                                                       
                                               Subject:  Re: strutshtml:form 
name issue                                                
                      07/01/2005 01:03                                          
                                                       
                      AM                                                        
                                                       
                      Please respond to                                         
                                                       
                      "Struts Users                                             
                                                       
                      Mailing List"                                             
                                                       
                                                                                
                                                       
                                                                                
                                                       




From: <[EMAIL PROTECTED]>

> the mapping looks like this
>        <action    path="/xxx/enter"

> I have the following in the jsp
> <strutshtml:form action="/xxx/enter.do">

In my projects, those two match exactly.  For example:
  <action    path="/editContact"
  <html-el:form action="/editContact">

I've never paid any attention to what 'name' attribute is used in the
<form>
tag, nor do I have more than one form per page, but try taking the ".do"
out
of the <html:form> tags and see if anything changes.

Also, is the 'xxx' a module name, or is it the context name?  If it's the
name of the context, AFAIK you can leave it out.

--
Wendy Smoak



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







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

Reply via email to