markspace<-@.> wrote:
On 5/3/2011 1:45 PM, Arved Sandstrom wrote:
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.
At least in NetBeans, when you set up a type of "project," the base
libraries are put on your compile path. For example, when you choose
"Web Application," you don't have to do anything else to extend for
example HttpServlet.
Exactly right.
A right-click under the Servers tab to get New->Server will get you started.
Nogo. I had already done that, before posting. I'd downloaded support
for Weblogic (our server), I'd created a "server" within eclipse. No
change.
If I now bring up project options and choose "Servers", I get a page
that says "This project is not associated with any servers." The only
other thing on the page is a "Restore Defaults" button and an "Apply"
button. Not very helpful.
There's a pane at the bottom of the Eclipse windows that has four
tabs" Markers, Servers, Data Source Explorer, and Snippets. CLicking
the "Servers" tab shows the WL server that I created, and says
[Started].
You have to set up "runtimes". Context-menu the project, select "Properties"
and set up the "Targeted Runtimes".
Honi soit qui mal y pense.