Skip to Content
author's profile photo Former Member
Former Member

Reverse Proxy?

Hi,

I'm trying to create a reverse proxy filter. In my Java code, at the beginning, I am trying to import serveral libraries.

*******************************************************

import javax.servlet.*;

import javax.servlet.http*;

********************************************************

However, I get this error, 'import java.x.servlet cannot be resolved.' Any ideas on this issue? As result of this, I think its affecting the rest of the file.

Regards,

Jin Bae

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 24, 2005 at 07:01 PM

    Hi,

    You have to set the Java Build Path property correctly.

    Right Click the Project name in the NetWeaver Developer Studio.

    Click Properties.

    Choose Java Build Path in the Pop up dialog box.

    Choose Libraries tab.

    Choose Add Variable

    Choose TSSAP_JAVAX_HOME and click Extend.

    Click Extend.

    Choose lib/servlet.jar.

    Click OK.

    Now the build path is set properly.

    In your source code, choose Organize imports by right clicking.

    You should have the class resolved.

    Thanks,

    Ads.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.