You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by ajay brar <aj...@hotmail.com> on 2003/10/07 02:40:26 UTC
Multiple Choices
hi!
ihave a link as
<html:link page="/blah.jsp"> blah </html:link>
this adds a dynamic string to the link and so you have something like
blah.jsp;jsessionid=fjwdjkfh342lkjl3kj4
however on my webserver, this gives me a 300 Multiple Choices error.
ie i get an error like
Multiple Choices
The document name you requested
(/cinv3/agency.jsp;jsessionid=92A584A32AFDC25FEF6DB8554D5F4D12) could not be
found on this server. However, we found documents with names similar to the
one you requested.
Available documents:
/cinv3/agency.jsp (common basename)
Please consider informing the owner of the referring page about the broken
link.
is this something to do with my server setting.
similarly, if i have links that with *.do, these give the same error.
i thought that maybe the server isn't calling the ActionServlet, but my
forms work fine(on submit, the appropriate action is called), my view
components(i have an instance of ActionServlet mapped to *.view) also work
fine.
could someone please help.
thanks
ajay
>From: "Max Cooper" <ma...@maxcooper.com>
>Reply-To: "Struts Users Mailing List" <st...@jakarta.apache.org>
>To: "Struts Users Mailing List" <st...@jakarta.apache.org>
>Subject: Re: data disappearing in jsp
>Date: Mon, 6 Oct 2003 16:53:14 -0700
>
>If the missing fields are display-only, you might need to add hidden fields
>to carry their values along in the request when the page is submitted so
>that they will be available on a validation error.
>
>reset() is called before the ActionForm is populated with the values from
>the request, so I don't think it matters what you do to them there. As long
>as they are in the request (and the names in the HTML form match your
>ActionForm), they should be populated in the ActionForm when a validation
>error occurs.
>
>-Max
>
>----- Original Message -----
>From: "krishnamohan" <kr...@indosoft.stph.net>
>To: <st...@jakarta.apache.org>
>Sent: Monday, October 06, 2003 6:10 AM
>Subject: data disappearing in jsp
>
>
> > Hi,
> >
> > In my jsp page I have 5 fields out of which 2 fields are required.
>When
> > the jsp is submitted I am displaying the error messages for the required
> > fields using Action Error in the form bean's validate method. When the
>jsp
> > page is displayed with the error messages, the data for the remaining 3
> > fields is disappearing. Can anyone let me know why this is happening.
>In
> > the reset method all the fields are made to null.
> >
> > Thanks,
> > Krishna
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
> >
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
_________________________________________________________________
Chat via SMS. Simply send 'CHAT' to 1889918. More info at
http://ninemsn.com.au/mobilemania/MoChat.asp?blipid=6800
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org