0

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

schoolnames.jsp

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

bestschool.jsp

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

Edited by peter_budo: Please do not use CODE SNIPPED for posting question. Use FORUM THREAD.

3
Contributors
3
Replies
4
Views
7 Years
Discussion Span
Last Post by vij123
0

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

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.