Messages: 12
[Post New]posted Today 10:39:52 PM
Quote Edit [Up]
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 review below JSP’s files
schoolnames.jsp
Expand|Select|Wrap|Line Numbers
- #
- # <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>
Expand|Select|Wrap|Line Numbers
- 1. <html>
- 2. <head>
- 3. <title>Best school</title>
- 4. <link href="mystyle.css" rel"stylesheet" type="text/css">
- 5. </head>
- 6. <body>
- 7. <div align="center"><font size="+2">
- 8. Best Schools in Rohtak</font>
- 9. </div>
- 10. <table width="700" height="500" border="0" align="left"
- 11. cellspacing="0">
- 12. <td width="200" rowspan="2" valign="top">
- 13. <%@ include file="schoolnames.jsp" %>
- 14. </td>
- 15. <td height="328" bgcolor="#476BC0" valign="top">
- 16. <p> </p><p> </p><p> </p>
- 17. </html>