aspose file tools*
The moose likes JSP and the fly likes Help with values from a form Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Help with values from a form" Watch "Help with values from a form" New topic
Author

Help with values from a form

nash avin
Ranch Hand

Joined: Nov 18, 2004
Posts: 45
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
rahul V kumar
Ranch Hand

Joined: May 20, 2003
Posts: 82
How are you calling these two servlets?
nash avin
Ranch Hand

Joined: Nov 18, 2004
Posts: 45
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
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
set the field as readonly or omit the textfield, means just show the value.
Or
I think we need a clear question.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help with values from a form