Check where the HTML FORM is posted from form.jsp ("action"
attribute). Send your parameters to that location directly, instead of
sending them to form.jsp.

Michael.

On 1/26/06, Chris Pat <[EMAIL PROTECTED]> wrote:
> Hi ChadMichael
> Sorry I am not clear it is my lack of precise
> understanding
> I want the hyperlink from the html to be like this
> http://host:8080/myWebApp/form.jsp?param1=value&param2=value....
>  Which I can do.  The problem is it takes me to
> form.jsp, with the url populated correctly on the
> address line of the browser.  I still have to populate
> the fields on the actual form and click the submit.  I
> need to understand how to eliminate all that and have
> just the hyperlink send and process the action without
> the user seeing anything.  Is what I need to do is
> call the servlet and not the jsp?  How do I do that?
> Will it have all the validation and error handling
> that the manually processed Action does from the jsp?
> tia.
>
> --- "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>
> >
> >
> > What do you mean that javascipt only brings you to
> > the form requiring a manual submit?  Do you mean
> > that you want to simulate a form submission but
> > without the browser?
> >
> >
> >
> >  --- On Thu 01/26, Chris Pat < [EMAIL PROTECTED] >
> > wrote:
> > From: Chris Pat [mailto: [EMAIL PROTECTED]
> > To: user@struts.apache.org
> > Date: Thu, 26 Jan 2006 11:30:42 -0800 (PST)
> > Subject: submit action from html
> >
> > HelloI have a mini-webapp with an action/form and
> > view.  Itworks perfectly. However how can I simulate
> > the submitfrom an html page without showing the form
> > andrequiring a manual submit from the form? I
> > believe Iwant it to behave like a servlet, but
> > process theparameters through the form bean with all
> > thevalidation/error processing working.  Using
> > javascriptonly brings me to the form requiring a
> > manual submit. I need it to do that "remotely"
> > directly off the htmlpage w/o any user interaction.
> > Any help, better mydesign understandin
> >
> appreciated.__________________________________________________Do
> > You Yahoo!?Tired of spam?  Yahoo! Mail has the best
> > spam protection around http://mail.yahoo.com
> >
> ---------------------------------------------------------------------To
> > unsubscribe, e-mail:
> > [EMAIL PROTECTED] additional
> > commands, e-mail: [EMAIL PROTECTED]
> >
> > _______________________________________________
> > Join Excite! - http://www.excite.com
> > The most personalized portal on the Web!
> >
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> 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]

Reply via email to