If I open the main.jsp file found in the html file, I find the appropriate form.... Here's snippets

Obvously the form is called "mainForm" and the fields are "userID" and "pword" However, when I try to call the submit_form function, I get the following error: There is no form named "mainForm" at

/usr/lib/perl5/site_perl/5.8.8/WWW/Mechanize.pm line 1938

<form action="login.m?command=login" method="post" name="mainForm" enc +type="application/x-www-form-urlencoded" target="_parent <input type="hidden" id="escapeLdap" name="escapeLdap" value=""/> <input name="do" type="hidden" value="login" /> ... ... ... <td align="right"><strong>User Name:</strong></td> <td><input id="idField" name="userId" type="text" value="" onKeyPress= +"return disableEnterKey(event);" autocomplete="off"/></td> <tr><td align="right"><strong>Password:</strong></td> <td> <input id="idPword" name="pword" type="password" value="" onKeyP +ress="return disableEnterKey(event);" autocomplete="off"/></td> </tr>

In reply to Re^4: HTTPS authentication to java form by finfan
in thread HTTPS authentication to java form by finfan

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.