Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How does a jsp engine work?

924


What is application scope in jsp?

930


What is jsp usebean?

905


How can we forward the request from jsp page to the servlet?

937


What is the use of pagecontext in jsp?

910


How we can include the result of another page in jsp?

914


How jsp is executed by web server?

1014


Define Composition.

964


What is jsp tag?

868


What is expression language injection?

925


What are the 3 tags used in jsp bean development?

958


What is Include directive?

1000


What is out in jsp?

892


Which language is used to write servlets and jsp?

941


How does a jsp function?

905