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


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

Re: Eclipse JEE application

X-FeedAbuse http://nntpfeed.proxad.net/abuse.pl feeded by 88.191.16.109
Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.dougwise.org!nntpfeed.proxad.net!nospam.fr.eu.org!usenet-fr.net!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!news.glorb.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!newsfe17.iad.POSTED!8ad76e89!not-for-mail
From Arved Sandstrom <asandstrom3minus1@eastlink.ca>
User-Agent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223 Lightning/1.0b2 Thunderbird/3.1.8
MIME-Version 1.0
Newsgroups comp.lang.java.programmer
Subject Re: Eclipse JEE application
References <k8b0s6p1jhu0cp3oueis4v3bao0rcpus3g@4ax.com>
In-Reply-To <k8b0s6p1jhu0cp3oueis4v3bao0rcpus3g@4ax.com>
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 7bit
Lines 22
Message-ID <1QZvp.57501$0s5.28481@newsfe17.iad> (permalink)
X-Complaints-To abuse@newsgroups-download.com
NNTP-Posting-Date Tue, 03 May 2011 20:45:49 UTC
Organization Public Usenet Newsgroup Access
Date Tue, 03 May 2011 17:45:49 -0300
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:3474

Show key headers only | View raw


On 11-05-03 01:34 PM, Tim Slattery wrote:
> 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?
> 
For something as generic as the JAR for the Servlet API and
implementation, one usually sets up a runtime (Tomcat, JBoss, WebSphere,
Oracle oc4j etc) and those libraries are then available to you.

A right-click under the Servers tab to get New->Server will get you started.

AHS

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next 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