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
What is contextpath?
How is jsp include directive different from jsp include action. ?
Mention the jstl core tags.
Which is mandatory in tag in jsp?
Can we override jspinit method?
Java Server Page I can use a function in two ways:
Either I declare
How many types of jsp tags are there?
A jsp page, include.jsp, has a instance variable "int a", now this page is statically included in another jsp page, index.jsp, which has a instance variable "int a" declared. What happens when the index.jsp page is requested by the client?
List all tags that are provided in jstl?
What is jsp and its advantages?
What is the
Which is better jsp or javascript?
What language is jsp?
How many messaging models do jms provide for and what are they?
How can you include the results of another page?