<kevin>
>
> Now, submitting a form is easy, but HOW do I get a link to call
> the Login.do
> action that I have the main login form calling, AND pass it a parameter or
> two to identify which media type to switch to?
>
> I haven't tried anything yet, but I figured:
>
> <a href="Login.do?mediaType=1">Radio</a> might work. I'll give that a
> whirl..but in the meantime, if anyone knows of a better way, or if this is
> definitely not the solution how to do it, I would appreciate a response.
</kevin>

that's exactly right.  of course you could include a form on the page with
hidden variables and then use javascript to submit the form using a link (<a
href="#" onclick="myform.submit();">) instead of having to use a "form"
submit button.  however, that's probably overkill unless you want to do some
form of client side validation before you do the login.

btw, isn't model 2 great!?

cheerio,
chris

chris wilson > web developer > andrews university > www.andrews.edu

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to