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 does a jsp engine work?
What is application scope in jsp?
What is jsp usebean?
How can we forward the request from jsp page to the servlet?
What is the use of pagecontext in jsp?
How we can include the result of another page in jsp?
How jsp is executed by web server?
Define Composition.
What is jsp tag?
What is expression language injection?
What are the 3 tags used in jsp bean development?
What is Include directive?
What is out in jsp?
Which language is used to write servlets and jsp?
How does a jsp function?