Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » How is a Dynamic web project deployed ?
How is a Dynamic web project deployed ? [message #173893] Tue, 11 July 2006 07:51 Go to next message
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 #174423 is a reply to message #173893] Thu, 13 July 2006 17:38 Go to previous messageGo to next message
Graeme Harker is currently offline Graeme Harker
Messages: 12
Registered: July 2009
Junior Member
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.
Re: How is a Dynamic web project deployed ? [message #174439 is a reply to message #174423] Fri, 14 July 2006 05:52 Go to previous messageGo to next message
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 13:18 Go to previous message
Larry Isaacs is currently offline Larry Isaacs
Messages: 1305
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.
Previous Topic:Custom XML Validation on top of schema validation
Next Topic:debugging JSP without server
Goto Forum:
  


Current Time: Sat Aug 23 15:18:22 EDT 2014

Powered by FUDForum. Page generated in 0.01900 seconds