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 do I perform browser redirection from a jsp page?

920


What is Include directive?

1062


Explain jsp technology?

1016


Explain some jsp life-cycle methods that can be overridden.

939


How are jsp(java server pages) better than asp(active server pages)?

1009


How do I open a jsp file?

1104


What is the _jspservice() method?

1082


Explain the advantages of jsp?

1085


What is an expression in jsp?

1007


How to comment out jsp code?

1014


Hi, I've applied for HPCL(Information System Officer)& UIIC (A).Plz send me previous/sample papers and any suggestions regarding this exam.Please advice me good study material or related links. Thanks in advance shyam shyamprasad71@gmail.com

2437


Why don’t we need to configure jsp standard tags in web.xml?

919


What are the advantages of jsp?

1093


What is welcome file list?

996


How does a servlet communicate with a jsp page?

1017