By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,778 Members | 1,074 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,778 IT Pros & Developers. It's quick & easy.

how to send more information in submit button

P: 39
i am sending some information from "Te.html" to "test.jsp" and again i have a submit button in "test.jsp".the problem is when i click the submit button which is in jsp page the information whaich came from the html page is lost.but i want that information again.how to do this.is there any option in todo this is?
Dec 29 '06 #1
Share this Question
Share on Google+
4 Replies


10K+
P: 13,264
i am sending some information from "Te.html" to "test.jsp" and again i have a submit button in "test.jsp".the problem is when i click the submit button which is in jsp page the information whaich came from the html page is lost.but i want that information again.how to do this.is there any option in todo this is?
You should retrieve the information from the html page first then set it in the session or as a hidden input field on a form in the jsp page.
Dec 29 '06 #2

P: 39
the session information wil b lost because i have to set it in same jsp page where i have the submit button.is there any option which is in the < a href filed.i mean we can send the run time information using "?" in href is it possible in submit button also?
Dec 29 '06 #3

10K+
P: 13,264
the session information wil b lost because i have to set it in same jsp page where i have the submit button.is there any option which is in the < a href filed.i mean we can send the run time information using "?" in href is it possible in submit button also?
I don't think the session infromation will be lost but just use the hidden input fields that I suggested. There are better than filling the url with data. Where are you submitting the data to from the jsp(another jsp, servlet etc)?
Dec 29 '06 #4

Shanaj
P: 51
i am sending some information from "Te.html" to "test.jsp" and again i have a submit button in "test.jsp".the problem is when i click the submit button which is in jsp page the information whaich came from the html page is lost.but i want that information again.how to do this.is there any option in todo this is?

hello,

if u know struts , then it's very easy
Jan 2 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.