struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amit Badheka" <a...@direct2s.com>
Subject Re: urgent
Date Wed, 11 Dec 2002 10:51:25 GMT
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" <andrew.david.hill@gridnode.com>
To: "Struts" <struts-user@jakarta.apache.org>
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:amit@direct2s.com]
> Sent: Wednesday, December 11, 2002 18:30
> To: andrew.david.hill@gridnode.com
> Subject: Re: urgent
>
>
> / is there in the error.
> it looks like taking as /actionmapping.do etc.
>
> ----- Original Message -----
> From: "Andrew Hill" <andrew.david.hill@gridnode.com>
> To: "Amit Badheka" <amit@direct2s.com>
> 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:amit@direct2s.com]
> > Sent: Wednesday, December 11, 2002 18:09
> > To: Struts Users Mailing List; andrew.david.hill@gridnode.com
> > 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" <andrew.david.hill@gridnode.com>
> > To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
> > 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:amit@direct2s.com]
> > > 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:struts-user-unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <mailto:struts-user-help@jakarta.apache.org>
> > >
> > >
> >
> >
>
>
> --
> To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message