Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #3474
| From | Arved Sandstrom <asandstrom3minus1@eastlink.ca> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Eclipse JEE application |
| References | <k8b0s6p1jhu0cp3oueis4v3bao0rcpus3g@4ax.com> |
| Message-ID | <1QZvp.57501$0s5.28481@newsfe17.iad> (permalink) |
| Organization | Public Usenet Newsgroup Access |
| Date | 2011-05-03 17:45 -0300 |
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 | Next — Previous in thread | Next in thread | Find similar
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