Small WAP progam


[ Follow Ups ] [ Post Followup ] [ WAP Technical Discussion Forum ] [ FAQ ]

Posted by Kobus du Toit (193.242.92.10) on May 19, 2000 at 23:04:46:

Can someone please send me a small WAP application with maybe 2 servlets and 2 wml pages that works, so that I can see what I am
doing wrong.

I was able to get my stuff to work with the Up.browser emulator. The session ID of every servlet was different, but now it is working. I
create the first screen with a servlet and I have a post on that screen. Then all servlets after that one has the same session ID. When I use
the Nokia 7110 and R 380 emulators and go through a Nokia WAP 1.0 gateway each servlet gets its own session ID again, so my stuff
don't work when you go through a gateway.

The web server and the gateway and the emulator all run on different computers. Are you supposed to have the following set-up for your
program: index.wml -> servlet -> servlet -> actions.wml -> servlet When I had my program the way I described above the session ID was
different on each servlet, actually it didn't even get to the actions.wml

This is how I have it now servlet(produce index.wml) -> servlet -> servlet -> actions.wml -> servlet Now my stuff works with the emulator,
but not when I go through a gateway with the other emulators

The gateway, web server and emulators are all on different computers. I have tried the following web server and servlet server. Apache
Tomcat ServletExec IAS (JWS) JServ

The only servlet server that does not give the problem is the jswdk servlet runner from Sun, but I can't use that on production for a couple
of reasons, one is when you change the hostname to something else it still thinks it is localhost and some other reasons.


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ WAP Technical Discussion Forum ] [ FAQ ]