I run into errors when I access the request object from a jsp located in
a standalone application

org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: -1 in the jsp file: null
Generated servlet error:
    [javac] Since fork is true, ignoring compiler setting.
    [javac] Compiling 1 source file
    [javac] Since fork is true, ignoring compiler setting.
    [javac]
C:\jakarta\jakarta-tomcat-4.1.24\work\Standalone\localhost\mycode\hello_
jsp.java:10: cannot resolve symbol
    [javac] symbol  : variable request 
    [javac] location: class org.apache.jsp.hello_jsp
    [javac]  String firstname = request.getParameter("firstname");
    [javac]                     ^
    [javac]
C:\jakarta\jakarta-tomcat-4.1.24\work\Standalone\localhost\mycode\hello_
jsp.java:11: cannot resolve symbol
    [javac] symbol  : variable request 
    [javac] location: class org.apache.jsp.hello_jsp
    [javac] String lastname = request.getParameter("lastname"); 
    [javac]                   ^
    [javac] 2 errors

It is as if it does not know the path to the HttpRequest object. How can
I set this path?

Thanks for your help.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to