This is really a struts question, but I'll have a go...

> In a form element,
> <form method="post" name="Form0" action="/Foo">
>
> should the action value have a preceeding "/" as I have written here.
> It appears, that if the "/" is there, Jetty does not pick up any of the
> request parameters submitted by the form.  If it is not there, then the
> request parameters are picked up.   By picked up, I mean
> HttpServletRequest.getParameter (<param name>) returns the correct value.

the action should correspond to the _name_ of the action in
struts-config.xml (in this case, I'm guessing "Foo").  Its not a path value,
and so shouldn't have the '/'

> Or is this a bug with my web browser that is submitting the form,
> Netscape 7.0 on Win2000?

the behaviour seems reasonable to me.

cheers
dim



-------------------------------------------------------
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to