ASP Page is not the problem unless you have a really fancy application (in
which case treat the problem like you are chaining servlets )
An ASP Page takes input using standard HTTP protocol including the header
format.

You want to find out whether the form's action is get or post.
The way form variables are set depends on the action
A 'get' is much easier, you just append a question mark and a delimited
string to the URL
For a post, the delimited string is in the data and is appended after the
header and the header should contain a line (Content-length:) telling the
web server how long the data will be that follows.

The easiest work around is to get a copy of the html containing the form a
user would see, save it , change all the variable types to hidden,  use java
to write the copy to the browser, updating  the value after the  "value="
substring for each variable. While you are finishing the HTML production,
write a one line javascript scriplet to submit your hidden form soon as the
page has been loaded,

Jay A. Schmitendorf
----- Original Message -----
From: "Servlet Archives" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 14, 2000 7:49 AM
Subject: How to simulate a form submission


> Hi all,
>
> I have a jsp form which will be filled by the user once he finishes
filling
> the form he would be clicking another link ( a link to another webpage )
> which is an ASP PAGE, i need to fill in this form data in that ASP PAGE,
is
> that possible??.  How should i simulate the form submission of that ASP
PAGE
> once i filled in the data.
>
> Anyone please can help me out??.
>
>
>
____________________________________________________________________________
_________
> Get more from the Web.  FREE MSN Explorer download :
http://explorer.msn.com
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to