I will work up a simple example for you shortly...

Robert


At 04:50 PM 12/20/2001 +0000, you wrote:
Hey everyone,

Sorry, I still haven't got a solution to my problem.
 
Basically in WML, I want have a page as follows (this idea is based on a working HTML/JSP page)
 
The main index page features the following (in pseudo jsp/html!):
 
From:
<% if (request.getParameter("from") == null)
{ %>
[input text box] <Search>
<A-E> <F-M> <N-S> <T-Z>
<% }
else
out.println(from); %>
 
To:
<% if (request.getParameter("to") == null)
{ %>
[input text box] <Search>
<A-E> <F-M> <N-S> <T-Z>
<% }
else
out.println(to); %>
 
<Do Main Search>
 
The problem I am trying to solve, is how to pass those from variables from the text boxes, in an html solution this index.jsp page would be reloaded from the search page with index.jsp?from=name1&to=name2 etc.. However, I do not know how to do this in WML. I understand I can use session.setParameter to do the same thing, but how do I receive the value of the text and put that into the session variable etc?
 
Thanks very much..
 
Pete Dolukhanov
 

---------------------------------------------------------------------------------------------------------------------
Robert Burdick
Author, "Essential Windows CE Application Programming", John Wiley and Sons
Co-author, "Professional JSP, 2nd Edition", Wrox Press
Microsoft eMVP

[EMAIL PROTECTED]
www.wAppearances.com
(650)-917-8446 (office)
(650)-906-3707 (cell)
=========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com

Reply via email to