Results 1 to 2 of 2
  1. #1
    tommy is offline Member
    Join Date
    Jul 2007
    Posts
    41
    Rep Power
    0

    Default Generated servlet error

    I have this jsp:
    Java Code:
     <&#37;@page session="true" %> 
         <%
        	Integer intp= new Integer(200);
        	Session.setAttribute("Cec",intp);
    The error is:
    Java Code:
       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:\Tomcat\Tomcat_1-4-24\work\Standalone\localhost\structure_
    question_template_jsp.java:256: cannot resolve symbol
        [javac] symbol : variable Session
        [javac] location: class org.apache.jsp.structure_question_template_jsp
        [javac] Session.setAttribute("Cec",intp);
        [javac] ^
        [javac] 1 error

    Can anyone tell me what the problem is?

  2. #2
    Kim Stebel is offline Member
    Join Date
    Aug 2007
    Posts
    1
    Rep Power
    0

Similar Threads

  1. getting dynamically generated valus
    By abhiN in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 03-29-2008, 10:58 AM
  2. Regarding Servlet
    By Sudha in forum New To Java
    Replies: 1
    Last Post: 02-12-2008, 12:44 AM
  3. passing dynamically generated values
    By abhiN in forum Advanced Java
    Replies: 1
    Last Post: 01-20-2008, 03:21 AM
  4. Replies: 1
    Last Post: 08-07-2007, 03:47 PM
  5. Error: javax.servlet.ServletException: Column not found
    By barney in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 08-07-2007, 07:20 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •