Never mind, I got it. But see below,

<%
 String name = request.getParameter("name");
 %>
<P>

How do I pass "name" to <jsp:setProperty ....>


-----Original Message-----
From: Sri V. Rachakonda
Sent: Thursday, May 11, 2000 3:20 PM
To: 'A mailing list about Java Server Pages specification and reference'
Subject: Parameter passing to a Java Bean


Hello all,

Let's say, I run the JSP page with one parameter as below,
  http://<server>/jsp/<parameter>=<value>

Now I can display the value as below,
 <%= request.getParameter("parameter") />

Now the question is, How do I save "value" in a variable and pass it to a
<jsp:bean ...> tag.


Thanks in advance,
Sri

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