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 are the different types scripting elements in jsp?
Can we use javascript in jsp?
Which tags are used for bean development?
What do you know about jsp tags? Explain how you understand the action tag and jsp action elements.
What are action tags?
What is jsp servlet?
What are jsp elements?
Differentiate between response.sendredirect(url) and
Mention the implicit objects in a jsp.
How session is achieved in JSP?(once user logs out,if he press back button of browser he should not be allowed to same page)
Can you override jspinit() method? If yes, in which cases?
How to use jsp el to get http method name?
What is iselignored in jsp?
What are the jsp tag?
Can you make use of a servletoutputstream object from within a jsp page?