> Hi Ron,
>     I have figured out what my problem was. The second time when the servlet
> loaded the hdml file, it loaded the physical file not an URL. I dont know why
> it did not work though.But I worked around it and loaded the file from URL again.
> And all was okey after that.

>
> For Example
>
> loginPage=/www/wap.zapnet.de/htdocs/login.hdml      /*did not work */
>
> loginPage=http://wap.zapnet.de/login.hdml       /*worked*/
>
>
> Many Thanks
> Gargi
>
> "Phone.com Developer Support" wrote:
>
> > Gargi,
> >
> > I'm going to guess that what is happening is that the code that your servlet
> > is returning is getting stuck in the cache, and as a result, the login code
> > is not accessed the second time around. Try spoofing the Content-location in
> > the HTTP header. This will result in the application always returning to the
> > server rather than looking in the cache:
> >
> > Content-Location: foo-bar
> >
> > Ron Mandel
> > Phone.com Developer Support
> > http://updev.phone.com
> > ================================
> >
> > > -----Original Message-----
> > > From: Gargi [mailto:[EMAIL PROTECTED]]
> > > Sent: Monday, August 23, 1999 8:34 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: HDML & servlet --> please help
> > >
> > >
> > > Hi there,
> > >     I have written a login-servlet. I can input login info from the
> > > Up-simulator and send these via post message to my login-servlet. If the
> > > user name and password is correct I can load a desired hdml page, but if
> > > the login info is incorrect ten I reload the login page again but this
> > > time I am not able to invoke the servlet any more. Plesae help me
> > > solving my problem.
> > > Following is my HDML code.
> > >
> > >
> > > <HDML VERSION=3.0 TTL=0 MARKABLE=TRUE>
> > >
> > >     <ENTRY NAME=home KEY=username>
> > >   <ACTION TYPE=ACCEPT TASK=GO DEST=#userPasswordEntry>
> > >   <BR>User Name:
> > >     </ENTRY>
> > >
> > >     <ENTRY NAME=userPasswordEntry KEY=password NOECHO=TRUE>
> > >      <ACTION TYPE=PREV TASK=GO DEST=#cancelshield>
> > >   <ACTION TYPE=ACCEPT TASK=GOSUB
> > > DEST=http://wap.zapnet.de/servlets/AdminServer METHOD=POST
> > >
> > > POSTDATA="iActionObject=LOGIN&iAction=LOGIN&iName=$(username)&iPsw
> > > =$(password)">
> > >
> > >   Password:
> > >     </ENTRY>
> > >
> > >
> > >     <DISPLAY NAME=cancelshield>
> > >   <ACTION TYPE=ACCEPT LABEL=Yes TASK=CANCEL>
> > >   <ACTION TYPE=SOFT1 LABEL=No TASK=GO DEST=home>
> > >    Cancel login?
> > >     </DISPLAY>
> > >
> > > </HDML>
> > >
> > >
>
>
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to