Thanks. It does.


> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Marco M
> Sent: Thursday, May 04, 2000 11:49 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Model 2 dilema - how to get a button to call an action?
>
>
> Hi Kevin
>         just do a href="Myaction.do"....
> if u configured your servlet properties in the right way in the web.xml
> file,
> that must work
> regards
>         marco
>
> > -----Original Message-----
> > From: EXT Kevin Duffey [mailto:[EMAIL PROTECTED]]
> > Sent: 05. May 2000 3:48
> > To: [EMAIL PROTECTED]
> > Subject: Model 2 dilema - how to get a button to call an action?
> >
> >
> > Hi all,
> >
> > Craig or Daniel would probably be best to answer this..but
> > maybe someone
> > else knows as well.
> >
> > Ok..I got the go-ahead to move our site to Model 2. Thanks to
> > your guys
> > help, I was able to write a "convincing" detailed (10 pages)
> > proposal as to
> > why and how we will move to this.
> >
> > The one problem I am having (so far..the only one) how to get
> > a button or
> > link to call an action. I can submit ALL forms just fine using the .do
> > mapping I have with Resin.
> >
> > The problem is, our site "logs in" a user when they click one
> > of 3 different
> > media tabs. Each tab requires a new login to occur. Its a bad
> > design, but it
> > is the one we have right now..so I am stuck with it.
> >
> > So the links look something like this right now:
> >
> > <a href="/common/login.jsp?command=1&mediaType=1">Radio</a>
> > <a href="/common/login.jsp?command=1&mediaType=2">TV</a>
> > <a href="/common/login.jsp?command=1*mediaType=3">Cable</a>
> >
> > login.jsp looks like so:
> >
> > <jsp:include page="/servlet/com.bm.ui.servlets.LoginServlet" />
> >
> >
> > 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.
> >
> > Thanks.
> >
> > ==============================================================
> > =============
> > 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
>

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