geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "viola.lu" <viola...@gmail.com>
Subject Re: Hello World Tutorial - Requested Resource not available
Date Sat, 13 Jun 2009 02:01:06 GMT

pls add  <welcome-file>hello.jsp</welcome-file> entry in your web.xml under
WEB-INF.

caof2005 wrote:
> 
> Thanks Viola.
> I was wrong when writing the error message that I got. The correct one is:
> 
> HTTP status 404/HelloWorld/
> type status report
> mesage /HelloWorld/
> description "The requested resource (/HelloWorld/) is not available.
> 
> And http://localhost:8080/HelloWorld/ address automatically appeared in
> the url address bar of the embedded browser after I run/deploy.
> 
> So as you see nothing changes but the name of the resource.
> 
> However, while I was trying to inspect that address, I  appended  the
> "hello.jsp" part to the end of the address. And it worked perfectly!
> Thanks a lot!
> 
> But I still have the question...:
> Is there a way to configure the embedded browser, so that it automatically
> detects the correct URL?
> 
> I carefully followed each of the steps indicated in the tutorial, so I
> supposed that I will get no error message at all, or had to change
> anything in any view/browser.
> 
> The parameters that I used while I was in the Dynamic Project Wizard were:
> 
> Project Name: HelloWorld
> Directory: D:\SWExercises\eclipse\HelloWorld
> Target Runtime: Apache Geronimo v2.1
> Dynamic WebModule Version: 2.5
> Configuration: Default Configuration for Apache v2.1
> Context Root: HelloWorld
> Content Directory: WebContent
> Java Source Directory: src
> Generate Deployment Descriptor - yes
> Group Id: default
> Artifact Id:
> Version: 1.0
> Artifact Type: car
> Add runtime dependency to Geronimo shared library - no
> 
> Parent Folder: HellWorld/WebContent
> Name of the JSP added to the project: hello.jsp
> 
> 
> Could you clarify what I did wrong?
> 
> Thanks
> Carlos
> 
> 
> viola.lu wrote:
>> 
>> For hello world sample, access link is
>> http://localhost:8080/HelloWorld/hello.jsp, not
>> http://localhost:8080/Hello/hello.jsp.
>> 
>> caof2005 wrote:
>>> 
>>> Hi, folks, I´m totally newbe to Geronimo so this question:
>>> 
>>> I have tried to do the "Hello World Web Application" that is described
>>> in the Geronimo´s v2.1 Developers Guide Tutorial Section.
>>> 
>>> I am using Eclipse Gamynedes 3.4.2 with the Geronimo Eclipse Plugin
>>> (GEP) 2.1.4.
>>> 
>>> I followed each of the steps indicated in the tutorial, however at the
>>> end when trying to run and deploy a simple Hello.jsp page from within
>>> Eclipse GEP, what I got from the embedded browser is the following
>>> error:
>>> 
>>> HTTP status 404/hello/
>>> type status report
>>> mesage /hello/
>>> description "The requested resource (/hello/) is not available.
>>> 
>>> Does anybody have an idea what can be happening?
>>> 
>>> Regards.
>>> Carlos
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Hello-World-Tutorial---Requested-Resource-not-available-tp24000364s134p24008438.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message