struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Murray Collingwood" <mur...@focus-computing.com.au>
Subject Re: Peculiar error with <html:form>....
Date Wed, 02 Nov 2005 20:00:13 GMT
The NAME attribute doesn't work in html:form, it is replaced by the ID attribute.

Cheers
mc

On 2 Nov 2005 at 14:32, Dave Newton wrote:

> Jacob Wilson wrote:
> 
> >I have a problem with my jsps after migrating my application from tomcat to 
Websphere. I use the struts-html taglibs in my jsps. When I use the normal html form 
tag like below, everything looks fine and the page gets displayed without problems.
> > 
> ><form method="post" action="myPage.do" name="FormName"> 
> > 
> >When I use the struts-html taglib like below, the jsp that shows up on the browser
is 
totally empty....
> > 
> ><html:form method="post" action="myPage.do" name="FormName"> 
> > 
> >I had made sure that the action is present in struts-config.xml. Also, when I say

action="myPage" in the form tag does not work.
> >  
> >
> I am suspicious of the "name" attribute. Or at least I am now that I 
> figured out what the difference between the two JSP chunks actually was.
> 
> I've never used "name" in html:form (I didn't even know you could); 
> "name" is created by html:form using the "action" attribute and the 
> "name" attribute in the action's <action...> configuration.
> 
> But you didn't include any struts config info, so who knows.
> 
> Dave
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.362 / Virus Database: 267.12.7/154 - Release Date: 1/11/2005
> 



FOCUS Computing - web design
Mob: 0415 24 26 24
murray@focus-computing.com.au
http://www.focus-computing.com.au




-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.12.7/154 - Release Date: 1/11/2005


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message