at a guess it is a compiler error cos string should be String...

rgds, Paul

> -----Original Message-----
> From: wap@asl [mailto:[EMAIL PROTECTED]]
> Sent: 25 July 2000 10:05
> To: [EMAIL PROTECTED]
> Subject: Error in catching Param Variables
>
>
> Dear All,
>
> This is the top part of my jsp.  It is giving 500 Internal
> server error.  If
> I remove the last two sentences (variable catchers), the
> script executes
> fine.  Any idea what might be wrong?
>
> Thanx & Regards,
>
> Kaushal.
>
> ---------
>
> <% response.setContentType("text/vnd.wap.wml"); %>
> <?xml version="1.0"?>
> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
> "http://www.wapforum.org/DTD/wml_1.1.xml">
>
> <%@ page import="java.sql.*,java.io.*, java.lang.*,
> javax.servlet.*,javax.servlet.http.*" %>
>
>
> <%
> string staffid=request.getParameter("staffid");
> string password = request.getParameter("password");
> %>
>
> ==============================================================
> =============
> 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

===========================================================================
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