File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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.
I agree. Here's the link:
subject: Multiple forms, but only one servlet to handle requests. Is it possible?
One clarification needed regarding Servlet
Multiple Drop Down Boxes With same name
Question regarding SingleThreadModel
how many instances???
HttpURLConnection and MultpartResponse Servlet
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015