Hi. Thanks..I did try it and it did work. Problem I am having now is
figuring out why all of our "old" way of doing database connections is
throwing a null exception.

P.S. Yes..Model 2 ROCKS! Especially the whole use of action classes, an xml
config file with single instance action classes in a hashtable, doing
lookups, forwarding to JSP view pages, etc. I love it!


> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Chris Wilson
> Sent: Thursday, May 04, 2000 7:59 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Model 2 dilema - how to get a button to call an action?
>
>
> <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
>

===========================================================================
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