Hi Jason!
Could you please give an idea about Number Guess game
of yours written in JSP.
actually it works fine with web browser
however i want to adopt it for wireless browsers.
i already made necessary modifications for WML tags
and it gives the WML output at the WAP browser side
perfectly. :)
the problem is :
it has a logical problem.
whenever i made a guess and submit it, the JSP resets
the session and generates anew random number,
so i can never make a successful guess.
i know that the problem comes out from my WML code.
but i just don't know how to get rid of it.
the related snippet of your original code:
<form method=get>
What's your guess?
<input type=text name=guess>
<input type=submit value="Submit">
</form>
<% } %>
and i changed it as below:
What's your guess? <br/>
<input type="text" name="guess"/>
<br/>
<anchor><go
href="guess.jsp?guess=$(guess)"/>Submit</anchor><br/>
i would appreciate your help.
Thanks in advance:)
Yilmaz
by the way i DID read the copyright aggrement
it says:
Redistribution and use in source and binary forms,
with or without modification,
are permitted provided that the following conditions
are met:
blah blah blah
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
___________________________________________________________________________
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