Results 1 to 1 of 1
- 10-16-2013, 12:05 AM #1
Member
- Join Date
- Jan 2013
- Posts
- 25
- Rep Power
- 0
To forward the info from textbox of a page to another page
Hello Everyone
I need to transfer the information of a textbox from one jsp page to other in the url .
Means when i click on the link the value of textbox get tranferred and i can get the value on 2nd page by request.getParameter("Para1")
this is the part of code i am using.
<a href="cart.jsp?pid=<%= pid %>&img=<%= img %>&price=<%= price %>&name=<%= p_name %>&txt=${textfield.id}" class="addtocart">add to cart</a>
the textfield is named as textfield.
On the 2nd page i am getting txt="".what am i missing??
Similar Threads
-
how do i link one page to a other page and how do i add simple text to my layout
By gunner1711 in forum AndroidReplies: 0Last Post: 08-23-2011, 12:38 PM -
Go back to previous page using session in JSP page
By gopikarikati009 in forum JavaServer Pages (JSP) and JSTLReplies: 2Last Post: 06-23-2011, 10:30 AM -
How to Export web page(jsp page) to excel using jsp or servlets or javascript
By techsing14 in forum JavaServer Pages (JSP) and JSTLReplies: 3Last Post: 05-25-2011, 11:08 AM -
Read HTML info from a web page
By gatzke in forum New To JavaReplies: 9Last Post: 02-12-2009, 06:11 PM -
warning that page has expired and i need to refresh the page again
By 82rathi.angara in forum JavaServer Pages (JSP) and JSTLReplies: 5Last Post: 07-15-2008, 01:48 PM
Bookmarks