Yes,we can extend one jsp page to another one...........you can understand this by following example.........
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>
Dec 28, 2010