• Post Reply Bookmark Topic Watch Topic
  • New Topic

Posting label data from normal html/jsp page

 
sridhar lakka
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Thanks a lot in advance.
I have one jsp with html form fields and I want to post this data to server, please help me in this regard.

For example consider the following scenario,

In my form I have two fields like following,

Name : Sreedhar
Class : MCA
In the above Name and Class are just labels, I have written like
<tr><td>Name :</td><td> Sreedhar</td></tr>
<tr><td>Class :</td><td> MCA</td></tr>
And I want to post this data to server/jsp/servlet.
I have tried with <label> but which is not working.
Please help me in this regards.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to use html INPUT tags to send information. Try to use hidden tags (INPUT type="hidden") inside a FORM.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!