sonu raj wrote:I tried hyperlink but it do not carry value to the next page.
Then the hyperlink is not correct.
and about the forms : I don't know why it is not working
For this and the hyperlink: It looks like your knowledge of HTML is inadequate, and that you don't know how to format a hyperlink or create an HTML form. For a first step, then, forget about JSP and just write hardcoded HTML which does what you want. Once you have that working well, then write a JSP which generates the HTML which you want.
I find that the <c:url> JSTL tag is the most practical JSP tool for generating hyperlinks. For an HTML form you don't really need any special JSP tool, usually you just generate the <form> element and its children in the natural way.
here in the above jsp i have hard coded the url of another project.. so when ever you click on submit button it will check for the what action to performed.
goes to the project folder webapp and check for the resource two.jsp ans display the result.