Hello Ranchers..
In my
JSP page when the user name and password is given correctly it will redirect to a jsp page where i'm using frameset
but in that page i cannot view anything.. is there any problem with this ?
the code is here!!
----------------------------------------------------------------------------
<html>
<head>
<title>
Admin Console
</title>
</head>
<script language="javascript" type="text/javascript" src="../../scripts/test.js"></script>
<%@ page language="java" session="true" import="java.sql.*" %>
<body>
<%
String firstname = (String)session.getValue("firstname");
String lastname = (String)session.getValue("lastname");
Integer admin = (Integer)session.getValue("admin");
Integer status = (Integer)session.getValue("status");
if(firstname==null || status==null || lastname==null || admin==null)
{out.println("session invalidated");
//response.sendRedirect("../../index.htm");
}
else
{
%>
<frameset rows=10%,* frameborder=no framespacing=0 border=1>
<frame src="heading.htm">
<frameset cols=22%,* frameborder=no framespacing=0 border=1>
<frame src="leftmenu.htm" target="master" >
<frame src="body.htm" name="main">
</frameset>
</frameset>
<%
}
%>
</body>
</html>
----------------------------------------------------------------------------
but this page is not showing any thing..
just a white page..
please reply to ranchers..
it is very urgent!!
thank you
regards
Aravind Prasad