|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
I m using tomcat 4.1 , nokia internet toolkit 4.0, eclipse 2.1 to do a project ..
the problem is i can't seem to view my .jsp page in the mirco-browser ... it keep just keep loading and never show anything.. Any sort of help is welcome .... Thanx in advance .. sample jsp file(Login.jsp) -------------------------- <%@ page import=" Controller.* " %> <% response.setContentType("text/vnd.wap.wml"); String userid = request.getParameter("userid"); String password = request.getParameter("password"); Controller controller = new Controller(); boolean status = controller.validateLogin(userid , password); if(status == true) { } else { } %> <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml13.dtd"> <wml> <!-- Possible <head> elements here. --> <template> <!-- Template implementation here. --> <do type="prev"><prev/></do> </template> <card id="card1" title="Card #1"> <do type="unknown" label="Next"> <go href="#card2"/> <postfield name="userid" value="$userid"/> <postfield name="password" value="$password"/> </do> <!-- Additional <do> elements here. --> <p align="center"> <!-- Card implementation here. --> <big><b>First Card</b></big> User ID : <input type="text" name="userid"/> Password : <input type="text" name="password"/> </p> <!-- Additional <p> elements here. --> </card> <card id="card2" title="Card #2"> <p align="center"> <big><b>Second Card</b></big> $(status) </p> </card> </wml> |
|
#2
|
|||
|
|||
|
Quote:
hi buddy, Micro browser loads the whole deck , but shows only one card at a time. Here u r checking the usersid and password at the time of loading the jsp page. u will always get null value, u have to do the same thing in the next jsp page. when u go to the next card , it only shows the contents of that card rather then loading the whole deck again. Hope it helps. Cheers Kanchan ![]() |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > WAP Programming > Jsp + Wml |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|