Posted By:
kamalanathan_vijatt
Posted On:
Thursday, May 9, 2002 11:18 AM
hai, This is Kamalanathan @ Vijay T. (M.Sc.Computer Science) ,student of Pondicherry University, Pondicherry, INDIA. Currently, myself and 4 of my classmates are engaged with our Final Semester Project. We are developing an SMS Multilingual System, using J2ME as Client and Servlet as Server platform. While developing this, we got struck at one place and we are not able to move futher. The problem is , "we have one Mobile Client program (developed in J2ME) which is responsible for placing request to a Server program,i.e. a Servlet program. That Servlet will place the users requets in the queue, and then it has to call another Servlet program, which should take the service from the queue and process it
More>>
hai,
This is Kamalanathan @ Vijay T. (M.Sc.Computer Science) ,student of Pondicherry University, Pondicherry, INDIA.
Currently, myself and 4 of my classmates are engaged with our Final Semester Project. We are developing an SMS Multilingual System, using J2ME as Client and Servlet as Server platform.
While developing this, we got struck at one place and we are not able to move futher. The problem is ,
"we have one Mobile Client program (developed in J2ME) which is responsible for placing request to a Server program,i.e. a Servlet program. That Servlet will place the users requets in the queue, and then it has to call another Servlet program, which should take the service from the queue and process it and atlast , it should send back the response back to the J2ME Client ".
The area where we got struked was , "invoking another servlet from the first servlet". Actually, to do this we used "sendRedirect()" method of Servlet. But, once when the servlet is redirected , automatically , a message like "This page is temporarily moved", is given in HTML tags.
Instead of using "sendRedirect()", we also tried using "forward() and include()" request, but this time we are getting an error as the output in the Mobile Client. Actually, we are using JAVA WEB SERVER
for testing.
also, we haven't seen any working examples of forward() and include() request of servlet Programs.If possible please show us some samples.
We will be very much pleased if u people give the solution. Please try to solve our problem as soon as possible.
Thanking u,
Yours respectfully,
kamalanathan@vijayt.
<<Less