i'm using WebSphere 3.02 which supports JSP specification 0.92 & 1.0. i was
testing my jsps on my local machine using JSWDK 1.0.0 which supports JSP
Specification 1.0. when i try to run my jsps on WebSphere the following error
occurs:
"page has no attribute" or something like that.
anyways, i was searching for an explanation on the web and it seems that there
can be two reasons:
   my file path may be wrong and
   i might be using some tags that are not part of the JSP 1.0 spefication but
   rather of JSP 1.0 specification.
the JSP code written in my file is as follows:

<%@ page isThreadSafe = "false" import = "java.util.*, email.Map" errorPage=
"error.jsp" %>
<jsp:useBean id="mymap" class = "email.Map" scope = "application" />
<jsp:setProperty name = "mymap" property="name" param = "name" />
<jsp:setProperty name = "mymap" property = "email" param = "email" />
<% mymap.setAction("add"); %>
<---------------followed by some html code------------------------>
<%
     String rname = request.getParameter("name");
     String remail = request.getParameter("email");
     if ( rname!=null ) {
   mymap.put(rname,remail);
}
%>
followed by this html code which takes us to some other jsps.
<TD align="right"><A href = "lookup.jsp">Lookup</A>&nbsp; | &nbsp; <A href =
"delete.jsp">Delete
can you please tell me where i am wrong considering the fact that this code
works absolutely fine in JSWDK 1.0.1

thanking you in advance,
bilal.
_________________________________________________________________________

Disclaimer:

"This  message is confidential. It may also be privileged or otherwise protected
by  legal  rules. If you have received it by mistake please let us know by reply
and then delete it from your system."

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to