how to extends one jsp page to another jsp page with realtime
example?
Answer Posted / shravankumar prajapati
TEST1.jsp
<html>
<Body>
Befor InClusion
Enter Your Name
<Input Type="TextBox" Name="User"
Value="Prakash"/>
<%
<Jsp:include page="TEST2.jsp"/>
%>
After Inclusion
</Body>
</Html>
TEST2.jsp
<html>
<Body>
<%
String user=request.getParameter("User");
out.println("Welcome To Java"+user);
%>
</Body>
</html>
| Is This Answer Correct ? | 15 Yes | 4 No |
Post New Answer View All Answers
How do I perform browser redirection from a jsp page?
What is Include directive?
Explain jsp technology?
Explain some jsp life-cycle methods that can be overridden.
How are jsp(java server pages) better than asp(active server pages)?
How do I open a jsp file?
What is the _jspservice() method?
Explain the advantages of jsp?
What is an expression in jsp?
How to comment out jsp code?
Hi, I've applied for HPCL(Information System Officer)& UIIC (A).Plz send me previous/sample papers and any suggestions regarding this exam.Please advice me good study material or related links. Thanks in advance shyam shyamprasad71@gmail.com
Why don’t we need to configure jsp standard tags in web.xml?
What are the advantages of jsp?
What is welcome file list?
How does a servlet communicate with a jsp page?