i have two Jsp's pages.
on main.jsp have some list of schools. from there i can go home page of any school. home.jsp represents a school home page.
in home.jsp have some links like message, vision, addmission etc.
when i click on any of these link then i get some information in a table area in a home page of that school (which is Home.jsp).
it show information when i click on these links otherwise table area in home.jsp show blank.
when i go from main.jsp to home.jsp, table area of home.jsp show blank. if i fill this table area by static data in Home.jsp. after that when
i click to message link, then message will show after static data.
my problem is when i go from main.jsp to home.jsp, table area of home.jsp show blank.
how i fill this table area by condtion so that when i move from main.jsp to Home.jsp, it can show some data.
here some data of Jsp's.
main.jsp
<html>
<body> <table width="200" border="1" >
<tr>
<td width="200" height="182" valign="top"><table width="200"
border="1">
<tr>
<th valign="top" height="34" bgcolor="#FFCC66"><div
align="left"><a href="Home.jsp?school=adrash"><FONT COLOR="#990000"
size="4"><span class="style5"> Adrash School </span>
</FONT></a></div></th>
</tr>
<tr>
<th valign="top" height="34" bgcolor="#FFCC66"><div
align="left"><a href="Home.jsp?school=dps"><FONT COLOR="#990000"
size="4"> Delhi Public School </FONT></a></div></th>
</tr>
</table>
</body>
</html>
Home.jsp
<html>
<body>
<td>
<table width="200" border="1" >
<tr>
<th valign="top" height="34" bgcolor="#FFCC66"><div
align="left"><a href="Home.jsp?value=message&&school=<%=school%>"
<FONT COLOR="#990000" size="4">Message</div></th>
message related information
</tr>
<tr>
<th valign="top" height="34" bgcolor="#FFCC66"><div
align="left"><a
href="Home.jsp?value=visionary&&school=<%=school%>"<FONT
COLOR="#990000" size="4">Visionary </FONT></a></div></th>
vision related information
</tr>
<tr>
<th valign="top" height="34" bgcolor="#FFCC66"><span
class="style2"><div align="left"><a
href="Home.jsp?value=addmission&&school=<%=school%>"<FONT
COLOR="#990000" size="4">Addmission </FONT></a></div></span></th>
addmission related information
</tr>
</table></td>
<td width="730" valign="top">
<table width="730" height="700" border="0">
<tr>
<td valign="top">
<%
String value=request.getParameter("value");
if((school.equals("adrash"))||(school.equals("dps")))
{
if(value!=null && (value.equals("message")))
{
%>
<p></p>
<font size="+1">Message</font>
<%
}}
%>
<%
if((school.equals("adrash"))||(school.equals("dps")))
{
if(value!=null && (value.equals("visionary")))
{
%>
<p></p>
<font size="+1">visionary</font>
<%
}}
%>
<%
if((school.equals("adrash"))||(school.equals("dps")))
{
if(value!=null && (value.equals("addmission")))
{
%>
<p></p>
<font size="+1">addmission</font>
<%
}}
%>
</td>
</tr></table>
</body>
</html>
please help.