How is a Dynamic web project deployed ? [message #173893] |
Tue, 11 July 2006 11:51 |
Eclipse User |
|
|
|
Originally posted by: hichamlinux.gmail.com
Hello
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 available.
Apache Tomcat/5.0.28"
How is the project getting deployed to run on tomcat ?
Thanks for your help
Hicham.
|
|
|
|
Re: How is a Dynamic web project deployed ? [message #174439 is a reply to message #174423] |
Fri, 14 July 2006 09:52 |
Eclipse User |
|
|
|
Originally posted by: hichamlinux.gmail.com
Graeme Harker wrote:
> hicham wrote:
>> Hello
>> 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 available.
>> Apache Tomcat/5.0.28"
>>
>>
>> How is the project getting deployed to run on tomcat ?
>> Thanks for your help
>>
>> Hicham.
>
> 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".
Hicham.
|
|
|
Re: How is a Dynamic web project deployed ? [message #174472 is a reply to message #174439] |
Fri, 14 July 2006 17:18 |
Larry Isaacs Messages: 1354 Registered: July 2009 |
Senior Member |
|
|
Hicham,
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
"deploying"?
Cheers,
Larry
hicham wrote:
> Graeme Harker wrote:
>> hicham wrote:
>>> Hello
>>> 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
>>> available.
>>> Apache Tomcat/5.0.28"
>>>
>>>
>>> How is the project getting deployed to run on tomcat ?
>>> Thanks for your help
>>>
>>> Hicham.
>>
>> 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".
>
>
> Hicham.
|
|
|
Powered by
FUDForum. Page generated in 0.03001 seconds