Hi!
If you add <postfield name="test" value="$(test)"/> in your file.wml and then
try
<% String testing = request.getParameter("test") ; %>
in your file.jsp.
I'm new in Wml and Jsp, but I tried something that looks like this, and it works.
Good luck!
Sophie
Amy Wan a �crit :
> Dear all
>
> I have this test1.wml which use <setvar> and called a JSP
>
> <card id = "enter">
> <p>Your Phone Number
>
> <do type="accept" label="Next">
> <go href="http://web1/mega/wap/enterW.jsp">
> <setvar name="test" value="5678999"/>
> <postfield name="WapPhoneID" value="2221234"/>
>
> </go>
>
> </do>
> </card>
>
> In my JSP's <%.. %> section, I would like to read the value of variable
> name.
> However, the value is none. I can read the value of test in the <wml>
> section
>
> e.g. Test: $(test)
>
> My question is, how can I read the value of test within the JSP section
> (java code section)
>
> I tried this also
> <% String testing = %>$(test)<%;%>
>
> Not working?
>
> Anyone has any idea?
>
> Amy
>
> ===========================================================================
> 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