Forums Register Login

Help with values from a form

+Pie Number of slices to send: Send
Hi All,

I have 2 servlets one called the DataCollectServlet and the other the DBInsertServlet.

request.getParameter("fname"));

Works with the DataCollectServlet , but it doesnt work with the DBInsertServlet.

What could be the problem.It would be great if someone gives a detailed explaination.

Thanking you all in advance

AS
+Pie Number of slices to send: Send
How are you calling these two servlets?
+Pie Number of slices to send: Send
Hi,


Thanks for the reponse.I figured that the fname in DBInsertServlet

request.getParameter("fname")) , fname doesnt exist, silly me...


To address your question as to how the servlets are being called.....

There is .jsp page , which is like this.....



But this doesnt seem to solve the purpose.....On the particular jsp page, the fields are displayed as "text fields", which can be edited/changed.

How do I prevent this particular thing.It would be great if you or someone sees this post and helps me.

Thanks in advance
AS
+Pie Number of slices to send: Send
set the field as readonly or omit the textfield, means just show the value.
Or
I think we need a clear question.
Because those who mind don't matter and those who matter don't mind - Seuss. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1024 times.
Similar Threads
Cleared SCJP5 with 83%
Welcome, new bartenders!
Work in South Africa
AWT Ques
Converting korean language to English
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 15, 2024 21:26:20.