Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #3471

Eclipse JEE application

From Tim Slattery <Slattery_T@bls.gov>
Newsgroups comp.lang.java.programmer
Subject Eclipse JEE application
Date 2011-05-03 12:34 -0400
Organization A noiseless patient Spider
Message-ID <k8b0s6p1jhu0cp3oueis4v3bao0rcpus3g@4ax.com> (permalink)

Show all headers | View raw


I've been a Netbeans user, but the powers that be have dictated that I
have to use Eclipse.

I've created a JavaEE "Dynamic Web Project". I've imported my struts
jars by copying and pasting (but there must be a way to find them from
within Eclipse). Then I create a Java class. I can use the classes
defined in the Struts jars, no problem there. But I cannot use things
like HttpServletRequest, HttpServletResponse, or HttpSession. It
doesn't know what they are. If I manually write the "import"
statements, it tells me "the import cannot be resolved".

It knows that this is a Java EE app, so why in the world can't it
figure this stuff out?

-- 
Tim Slattery
Slattery_T@bls.gov
http://members.cox.net/slatteryt

Back to comp.lang.java.programmer | Previous | NextNext in thread | Find similar


Thread

Eclipse JEE application Tim Slattery <Slattery_T@bls.gov> - 2011-05-03 12:34 -0400
  Re: Eclipse JEE application Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-05-03 17:45 -0300
    Re: Eclipse JEE application markspace <-@.> - 2011-05-03 17:56 -0700
      Re: Eclipse JEE application Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-05-04 06:22 -0300
      Re: Eclipse JEE application Tim Slattery <Slattery_T@bls.gov> - 2011-05-04 09:13 -0400
        Re: Eclipse JEE application Lew <noone@lewscanon.com> - 2011-05-04 15:14 -0400

csiph-web