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" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>




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


_________________________________________________________________
Chat via SMS. Simply send 'CHAT' to 1889918. More info at http://ninemsn.com.au/mobilemania/MoChat.asp?blipid=6800



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



Reply via email to