Forums Register Login

Request in Java Class

+Pie Number of slices to send: Send
In my Tomcat 4.1.27 container (with no struts), I am trying to pass a form value to a JavaBean but I keep getting NullPointerException on the web page when I call the JavaBean.

Here is my attempt and need advise on the best way to fetch the lastname value in my below Java class:

Please advise.
+Pie Number of slices to send: Send
I think you didn't initialize request field in the constructor.
[ April 03, 2008: Message edited by: Bupjae Lee ]
Can you really tell me that we aren't dealing with suspicious baked goods? And then there is this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 908 times.
Similar Threads
Simple jsp form
Compile error saying I need to recompile servlet
Using Java Bean in JSP to show database record
Help needed in resource file
JavaBeans and Servlets
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 07:15:34.