Relative Newbie - Full web project in webservice context? [message #162229] |
Mon, 27 February 2006 11:57  |
Eclipse User |
|
|
|
Hi folks - I'm just now getting into using WTP to build webservices, and I
must admit I'm impressed with how easy it is to go from "here's my pojo" to
"here's a war file servicing that request that you can deploy". It's quite
a step up from hand-rolling WSDL files and dependencies.
But here's my next problem. I want my deployed WAR file to include an
entire set of HTML and JSP pages, as well as a couple servlets I'm writing
- for now I'd be happy with static HTML. The question is, in the context
of "how WTP manages a project" - where should I create the HTML pages so
that a) they're deploye dlocally into my Tomcat server for coding /
debugging, and b) will be rolled into my WAR file properly so they'll show
up in the deployed webapp?
I tried creating a 'foo.html' file in the 'generated' WEB-INF/ target, but
no luck there - I can't seem to find it in the deployed app.
I'd like to be able to use WTP as a soup to nuts web application build and
deploy system, and writing in servlets, jsps, and HTML alongside my
webservices is my next logical step.
Thanks!
-dbs
|
|
|
|
|
|
Re: Relative Newbie - Full web project in webservice context? [message #162342 is a reply to message #162334] |
Mon, 27 February 2006 20:08  |
Eclipse User |
|
|
|
Sachin Patel wrote:
> Which version of WTP & Tomcat are you using? I'll see if I can duplicate.
For additional information, I've managed to get it to deploy if I -manually-
place HTML files in the top-level of the build target (for some reason
that's called 'html' for me, which I believe I mistakenly entered when I
created the project).
There is a WebContent folder, but nothing in there ever gets built into the
app - I've added the ${Project}/html/[file.html] to my SVN now, and I can
check it in, out, etc - but checking in things that are part of a build
target seems wrong.
Here's the version information:
Eclipse SDK
Version: 3.1.1
Build id: M20050929-0840
Apache Tomcat v5.5.
Thanks...
-dbs
|
|
|
Powered by
FUDForum. Page generated in 0.38628 seconds