I'm having a problem scripting a form submit with LWP::UserAgent.

The form in question is processed by a JSP document. The document (in
addition to using Java) also uses frames and JavaScript.

Here's how I'm doing the post:
$request = POST "https://$sslsite/jsp/do_register.jsp?stepNum=1",
        [ email => $email, 
          username => $fname,
          password => $password];

I keep getting redirected to an error page instead of successfully posting
the data.

In checking out the source of the JSP page, I see that the form variables
aren't read in directly, but is pulled through a Java Hashtable:
        Hashtable userData = (Hashtable)Session.getValue("userData");
        username = (String)userData.get("username");

Has anyone dealt with this issue before? In reading the JSP source, I
don't see anything that stuffs the form variables into the Java Hashtable.

I'm going under the assumption that it's a JSP issue, not an issue with
the use of frames or JavaScript.

Reply via email to