Hi,

    <jsp:forward page= "xxx." >
    <jsp:param name="userid" value="<%=myvalue%>" />
    </jsp:forward>

xgh

----- Original Message -----
From: "stewart hsiao" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 17, 2000 8:20 AM
Subject: how to use forward with dynamic param value


Hi;

I would like to be able to add extra parameter before
I forward to a page. The destination page is not
necessarily servlet or JSP but could be cold fusion or
ASP page.

If I do something like this in index.jsp


<jsp:forward page= "xxx." >

<jsp:param name="userid" value="abc" />

</jsp:forward>

It would add the parameter in there just fine. What I
want is to replace "abc" with a variable that resides
in the index.jsp. It doesn't seem to work. First, it
has to be quoted. Second, if I want to use
expression<%=myVariable %>, it would display it as a
value <�myVariable %>.

Is there other way to do something like this.

Thanks!



__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/

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