but make sure that all the CGI variables are HTTP Encoded !

Cheers,
Nagraj

-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Jay Thoden Van Velzen
Sent: Tuesday, August 08, 2000 9:27 AM
To: [EMAIL PROTECTED]
Subject: Re: Parameters between two JSP files


This is not correct to start off with:

Should be:
<a href="Reserveren.jsp?code=<%= voorstellingcode %>&chair=<%=
ChairBean1.getChairNumber(c) %>">etcetera</a>

Then from Reserveren.jsp:
String code = request.getParameter("code");


-----Original Message-----
From: Marcel van Kooy [mailto:[EMAIL PROTECTED]]
Sent: 08 August 2000 09:08
To: [EMAIL PROTECTED]
Subject: Parameters between two JSP files


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

Reply via email to