CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2006
    Posts
    49

    Question Not abel to import “javax.servlet.http.HttpServletRequest” in JAVA Project

    I am using NetBeans. I have create JAVA project. In that i am not able to import “javax.servlet.http.HttpServletRequest”
    In my Web Project i am able to import it.
    Can any one please tell me how can i Add that in my JAVA Project?

    How can i access HttpServelrtRequest object in JAVA? My Web Project is using JAVA Project. And i want to access the Current users's Role from Web Project To Java Project.
    Last edited by ujjvalpandya; June 30th, 2008 at 04:11 AM. Reason: more info

  2. #2
    dlorde is offline Elite Member Power Poster
    Join Date
    Aug 1999
    Location
    UK
    Posts
    10,163

    Re: Not abel to import “javax.servlet.http.HttpServletRequest” in JAVA Project

    Make sure that j2ee.jar is in your project classpath.

    The sooner you start to code, the longer the program will take...
    R. Carlson
    Please use [CODE]...your code here...[/CODE] tags when posting code. If you get an error, please post the full error message and stack trace, if present.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured