I am setting it as action attribute for html:form tag.

But after getting that error I created one action class and then tried to
forward using ActionForward (as it is a proper way).
With this it is not giving any error but also not accessing the servlet.
I checked out the url, it is correct as when  I copied that url in browser
then it calls servlet.

----- Original Message -----
From: "Andrew Hill" <[EMAIL PROTECTED]>
To: "Struts" <[EMAIL PROTECTED]>
Sent: Wednesday, December 11, 2002 4:08 PM
Subject: RE: urgent


> hmmm. Whats in the actual html/javascript then? (for the forms action
> property).
> Are you rendering the action with a form tag, or setting it at submit time
> with javascript?
>
> -----Original Message-----
> From: Amit Badheka [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 11, 2002 18:30
> To: [EMAIL PROTECTED]
> Subject: Re: urgent
>
>
> / is there in the error.
> it looks like taking as /actionmapping.do etc.
>
> ----- Original Message -----
> From: "Andrew Hill" <[EMAIL PROTECTED]>
> To: "Amit Badheka" <[EMAIL PROTECTED]>
> Sent: Wednesday, December 11, 2002 3:40 PM
> Subject: RE: urgent
>
>
> > Is that / supposed to be there in the front of http - or is it just copy
> and
> > paste error writing the email?
> >
> > -----Original Message-----
> > From: Amit Badheka [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, December 11, 2002 18:09
> > To: Struts Users Mailing List; [EMAIL PROTECTED]
> > Subject: Re: urgent
> >
> >
> > Hi Andrew,
> > thanks for reply,
> >
> > If I give the below url as action and submit the form I am getting error
> as
> > not a valid url
> > /http://localhost:7001/ManageStyle/servlet/stylegeneralinfoservlet.ser
> >
> > and if I try with ActionForward from action then it is not giving any
> error,
> > but also not doing anything.
> >
> > ----- Original Message -----
> > From: "Andrew Hill" <[EMAIL PROTECTED]>
> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> > Sent: Wednesday, December 11, 2002 3:13 PM
> > Subject: RE: urgent
> >
> >
> > > No joy with the javascript submit() huh? :-(
> > >
> > > Are you getting any error messages?
> > > Are you submitting to the correct url? (ie: forms action is set
> > > appropriately)
> > >
> > > -----Original Message-----
> > > From: Amit Badheka [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, December 11, 2002 17:36
> > > To: Struts Users Mailing List
> > > Subject: urgent
> > >
> > >
> > > Hi All,
> > >
> > > I have a requirement to call a servlet from a action class or jsp. The
> > > servlet is residing on the war file other than struts app. Hence,
there
> > are
> > > two different context.
> > >
> > > The servlet is used for file upload so my jsp should contain
> > multipart/form
> > > data. so, I have to call post method of the servlet.
> > >
> > > If I am using html:link I am able to call the servlet, but the form
data
> > can
> > > not be passed.
> > >
> > > I also tried with action forward but it is not calling servlet.(may be
> > b'cos
> > > it is not in same context).
> > >
> > > Is there any way to achieve something like this.
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > >
> > >
> >
> >
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


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

Reply via email to