Originally posted by vithal kambhammettu:
can you be a little more specific about what your servlet intended to do and the trace that was produced, so that it might be little easier to get to the root of the problem
Originally posted by Tony Alicea:
You give the <INPUT> a NAME="..." attribute and value. What's preventing you from doing it that way? Then use request.getParameter(...) to retrieve the String value of the INPUT element.
You can try the [b]java.util.Enumeration getParameterNames() of the ServletRequest interface and see what is returned from a no-name INPUT... Probably nothing. [/B]
Originally posted by Frank Carver:
This sort of problem is precisely why the concept of "sessions" was invented. Look up HttpSession in your servlet books/websites, and you should find lots of examples of gathering or chacking information in one servlet and using it in another.
Even if your pages are generated by a single servlet (not usually a good idea, unless you delegate to other classes or templates), you should still store your information in the session to make sure that your system still works when more than one person tries to access it at once.