Importing an existing servelt project [message #110828] |
Mon, 13 June 2005 02:44 |
Eclipse User |
|
|
|
Originally posted by: je.brighton.ac.uk
Now I have managed to create a new J2EE project, I want to import
a bunch of existing servlets from an existing project. I can't
find any easy way to do this; the Servlet and Servlet Mapping
entries in Project Explorer don't seem to do much (and ditto for
filters and listeners). The only thing I appear to be able to do
is create new servlets by right-clicking the Servlet entry, at
which point I get the opportunity to set the servlet mapping.
After doing doing this, the servlet mapping entry still appears
to do nothing. I then have to cut & paste code from my existing
servlet into the new one.
I had expected that my existing web.xml file would be used to
populate all these entries, and that clicking on Servlet Mappings
would give me a list of mappings and some way to edit them. What
am I doing wrong here?
|
|
|
Powered by
FUDForum. Page generated in 0.03106 seconds