A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
Multiple forms, but only one servlet to handle requests. Is it possible?
Joined: Sep 13, 2008
Aug 01, 2011 01:30:43
Can we design mutliple forms in single page, and accept values on single
only? Is it possible? I referred the following link
, and followed the instructions there but it is giving nullpointerexception. May I know the reason? Or please suggest something which serves the purpose.
Author and all-around good cowpoke
Joined: Mar 22, 2000
Aug 01, 2011 06:29:39
Easy - just use a hidden variable in each form to direct the processing of the request.
My crystal ball is in the shop for the 10,000 vision checkup so I can't see your code - perhaps you should post some of it? NOT all of it, the part getting the NPE.
subject: Multiple forms, but only one servlet to handle requests. Is it possible?
how many instances???
HttpURLConnection and MultpartResponse Servlet
One clarification needed regarding Servlet
Question regarding SingleThreadModel
Multiple Drop Down Boxes With same name
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014