struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Wilson <>
Subject Re: Peculiar error with <html:form>....
Date Wed, 02 Nov 2005 20:12:48 GMT
Hi Dave -
Even without the name attribute it is the same !!!
<html:form method="post" action="myPage"> 
Here is my struts-config
    <form-bean name="RoleForm" type="com.ui.forms.FormnnName" />
    <forward name="error" path="/iam_error.jsp" />
    <forward name="invalidUser" path="/iam_invalid_user.jsp" />
     <action input="/iam_admin_role_my_roles.jsp" name="FormName" path="/" scope="request"
  <!-- Message Resources -->
  <message-resources parameter="ApplicationResources" null="false"/>
  <plug-in className="org.apache.struts.tiles.TilesPlugin">
    <set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml" />
  <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
    <set-property property="pathnames" value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"
Any clues???

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.
>When I use the struts-html taglib like below, the jsp that shows up on the browser is
totally empty....
>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 configuration.

But you didn't include any struts config info, so who knows.


To unsubscribe, e-mail:
For additional commands, e-mail:

 Yahoo! FareChase - Search multiple travel sites in one click.  
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message