0 Replies - 298 Views - Last Post: 11 March 2010 - 05:32 AM Rate Topic: -----

#1 vijaykumardahiya  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 20
  • Joined: 30-November 08

data are not showing in a Jsp using link

Posted 11 March 2010 - 05:32 AM

i have a Jsp page. in this Jsp page having some links. i want when i click to link of result some data should be display. but it does not displaying. please check the below code.

Indus.jsp
  
<html>
<head>
<title>Indus Public School</title>
</head>
<body>
<div align="center"><font size="+3">
Indus Public School</font>
</div>

<table width="700" height="500" border="0" align="left" 
cellspacing="0">
<td width="150" rowspan="2" valign="top">

<table width="200" border="0" align="center" cellpadding="5">
<tr>
<td height="100" bgcolor="#476bc0">
<div align="center" class="boldhead"><font size="+1">
</font></div>
</td>
<tr>
<td height="40" bgcolor="#728DCF">
<a href="">Profile</a></td>
</tr>
<tr>
<td height="40" bgcolor="#728DCF">
<a href="" class="smalltext">Staff</a>
</td>
</tr>

<tr>
<td height="40" bgcolor="#728DCF">
<a href="indus.jsp?value=result" class="smalltext">Result</a></td>
</tr>

<%String value="";
if(value!=null && (value.equals("result")))
{%>
<h1>Indus Public School </h1>
<%
}
%>
</body>
</html>  


please suggest.

Is This A Good Question/Topic? 0
  • +

Page 1 of 1