|How is a Dynamic web project deployed ? [message #173893]
||Tue, 11 July 2006 11:51
Originally posted by: hichamlinux.gmail.com|
I've created a dynamic web project involving struts in Eclipse 3.1.2 +
WTP 1.0.2 + Tomcat 5.0.28, I could run the web project and display the
index.jsp bout could not display any other jsp pages located in a folder
called pages, all I get is this :
"HTTP Status 404 - /pages/Welcome.jsp
type Status report
description The requested resource (/pages/Welcome.jsp) is not available.
How is the project getting deployed to run on tomcat ?
Thanks for your help
|Re: How is a Dynamic web project deployed ? [message #174472 is a reply to message #174439]
||Fri, 14 July 2006 17:18
| Larry Isaacs
Registered: July 2009
After adding a Project to a server, the Publish command assembles the
web application and places "on" the server (deliberately avoided using
the word "deploy"). Strictly speaking, "deploy" refers what you state
below, export the project [as a WAR] and copy to the server. With
Tomcat, there is a difference between "publishing" and "deploying". For
other servers built upon the generic server support, they are basically
the same. In your instance, which are you referring to, "publishing" or
> Graeme Harker wrote:
>> hicham wrote:
>>> I've created a dynamic web project involving struts in Eclipse 3.1.2
>>> + WTP 1.0.2 + Tomcat 5.0.28, I could run the web project and display
>>> the index.jsp bout could not display any other jsp pages located in a
>>> folder called pages, all I get is this :
>>> "HTTP Status 404 - /pages/Welcome.jsp
>>> type Status report
>>> message /pages/Welcome.jsp
>>> description The requested resource (/pages/Welcome.jsp) is not
>>> Apache Tomcat/5.0.28"
>>> How is the project getting deployed to run on tomcat ?
>>> Thanks for your help
>> I empathize as this is not explained in the documentation and none of
>> the articles on developerWorks etc.. explain what happens under the hood.
> From what I understood, deploying is just done by simply exporting the
> whole project to the webapps folder of a production server, otherwise
> the whole project is saved on workspace folder with a server folder
> containing config files
> and for the jsp files, they must be located under Webcontent folder to
> get "found".
Powered by FUDForum
. Page generated in 0.02184 seconds