Hi there,
    I am trying to develope a application consist of srevlets and HDML
(from phone.com).

I can invoke my login-servlet correctly for the very first time from
HDML, but if my login info is incorrect, I load the login page again
correctly. But this time I could not get to the service method of the
login-servlet after submiting the login info.

Can any body with experience on HDML and servlet  help me, please?

Following is my code for HDML login.


<HDML VERSION=3.0 TTL=0>

    <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

Reply via email to