Thanx for your help Veronique.
It works.
Best regards,
Marcel
> -----Oorspronkelijk bericht-----
> Van: Veronique Dupierris [SMTP:[EMAIL PROTECTED]]
> Verzonden: dinsdag 8 augustus 2000 10:23
> Aan: [EMAIL PROTECTED]
> Onderwerp: Re: Parameters between two JSP files
>
> Hi,
> In the HREF you should specify both param name and param value
> and every
> parameters should be separated by & and not ,
> <a href="Reserveren.jsp?param1=<%= voorstellingcode
> %>¶m2=<%=ChairBean1.getChairNumber(c) %>">etcetera</a>
>
> then in Reserveren.jsp
> <% String firstParam = request.getParameter("param1");
> String secParam = request.getParameter("param2");
>
> %>
> or directly in a Bean wich have a serFirstParam method
> <jsp:useBean id="myBean" class="package.ClassesOfMyBean" scope="..."
> />
> <jsp:setProperty name="myBean" property="firstParam" param="param1" />
>
> Regards
> Veronique
>
> Marcel van Kooy a écrit :
>
> > Hi all,
> >
> > In one JSP file I refer to another JSP files when you click on a
> link.
> > Then two parameters will be given to the other JSP file which i
> coded
> > like down below.
> > Can somebody please explain me how I can get the parameters in the
> other
> > JSP file? Summarized, what is the syntax of receiving parameters
> from
> > another file?
> >
> > <a href="Reserveren.jsp?<%= voorstellingcode %>,<%=
> > ChairBean1.getChairNumber(c) %>">etcetera</a>
> >
> > Best regards,
> > Marcel van Kooy
> >
> >
> ======================================================================
> =====
> > 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