Guys,
I have a problem with how to use Bean tages in JSP to generate WML page.
i have a JSP which works fine when I generate HTML pages. Now I want to do
the same for the WML. I am confused about this. Can sombody help me?
Detailed problem is: I got a html fiel which looks like this,
<html>
.....
...
Social security number retrieved:
<jsp:getProperty name="jbonus" property="socsec"/>
</body>
</html>
how do I write the same for WML? what I ahve done is below.
response.setContentType("text/vnd.wap.wml");
out.println("<wml>");
out.println("<card id=\"Result\" title=\"Result\">");
out.println("SocSec retr:");
out.println(<jsp:getProperty name="jbonus" property="socsec"/>);
...
......
this does not seem to work!
any ideas?
This is quite urgent
Prasad
===========================================================================
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