Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

how to get the parameter From HTML in servlet

  Asked By: Diane    Date: Jan 29    Category: Java    Views: 632
  

i have code like this in my First HTML contains like this
<input type=hidden name=desc value="This is Testing Code">;
When i submit this value from to next servlet i am geting the value
Value as "This" instead of ="This is Testing Code"
In my servlet i wrote code as
String getHTMLVal = request.getParameter("desc");
I am getting only first value i.e., "This" how to get whole value
thanking u

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on how to get the parameter From HTML in servlet Or get search suggestion and latest updates.




Tagged: