I have two Jsp pages named bestschool.jsp and schoolnames.jsp.

I am calling schoolnames.jsp from bestschool.jsp.

I want when I click the link on INDUS School. It can show all concerning link of INDUS School links like profile, result, facility etc. in the same place instead of other naming school links.

my requiremet main is i want to update the information on same Jsp page.

How can I implement this with in Servlets/Jsp.

please suggest.

Please review JSP’s files


<table width="200" border="0" align="center" cellpadding="5">
<td height="100" bgcolor="#476bc0">
<div align="center" class="boldhead"><font size="+1">
School list</font></div>
<td height="30" bgcolor="#5577C6">
<a href="" class="smalltext">INDUS School</a></td>
<td height="30" bgcolor="#728DCF">
<a href="" class="smalltext">Vaise School</a>
<td height="30" bgcolor="#728DCF">
<a href="" class="smalltext">D.G.V School</a></td>
<td height="30" bgcolor="#728DCF">
<a href="" class="smalltext">D.P.S School </a></td>


<title>Best school</title>
<link href="mystyle.css" rel"stylesheet" type="text/css">
<div align="center"><font size="+2">
Best Schools in Rohtak</font>
<table width="700" height="500" border="0" align="left" 
<td width="200" rowspan="2" valign="top">
<%@ include file="schoolnames.jsp" %>
<td height="328" bgcolor="#476BC0" valign="top">

can you try innerHtml with java script...

Apache Velocity tempates populated by servlet that is called by Ajax or jQuery associated with designated html element, perhaps would be better

thanks for giving answers.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.