Latest Tutorials| Questions and Answers|Ask Questions?|Site Map




Have Programming Question? Ask it here!
 
 
 


Ragini Shukla
jjjjj
2 Answer(s)      5 years and 10 months ago
Posted in : Java Beginners



Advertisement
View Answers

October 15, 2008 at 2:54 PM


Hi friend,


"a.jsp"

<HTML>
<HEAD>
<BODY>
<form name="frm" action="b.jsp">
<input type="text" name="text1">
<input type="submit" name="submit" value="Submit">
</form>
</BODY>
</HTML>

"b.jsp"

<HTML>
<HEAD>

<BODY>
<%
String text1="";
if(request.getParameter("text1")!=null)
{
text1 = request.getParameter("text1").toString();
}
%>
<input type="text" name="text1" value="<%=text1%>">

</form>
</BODY>
</HTML>


For any more information visit to :

http://www.roseindia.net/

Thanks



October 15, 2008 at 3:06 PM


Hi friend,


"a.jsp"

<HTML>
<HEAD>
<BODY>
<form action="b.jsp" method="post">
<input type="text" name="text1">
<input type="submit" name="submit" value="Submit">
</form>
</BODY>
</HTML>

"b.jsp"

<HTML>
<HEAD>

<BODY>

<input type="text" name="text1" value="<%=request.getParameter("text1")%>">

</form>
</BODY>
</HTML>

thanks and regards
prashu


Related Tutorials/Questions & Answers:
Advertisements
 

 

 

DMCA.com