[ajug-members] Help me start my Dynamic Web App!
Keith Mosley
keithmosley3 at yahoo.com
Thu Oct 2 22:18:03 EDT 2008
Gary,
Along with creating your Dynamic Web project did you create an Enterprise Application component? I noticed a few times with the new Eclipse that sometimes to effectively run a Dyna-Web-Proj you have to create this separately. Along with a descriptor you will need an "application.xml" file. These are held in the Enterprise Application component.
--- On Thu, 10/2/08, Gary Marshall <gwjm56 at gmail.com> wrote:
From: Gary Marshall <gwjm56 at gmail.com>
Subject: Re: [ajug-members] Help me start my Dynamic Web App!
To: ajug-members at ajug.org
Date: Thursday, October 2, 2008, 2:12 PM
Joe Sam:
Thank you for your time. The Index.jsp is in my welcome-file-list. Observe:
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>Index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
This welcome-file-list node was created in the web.xml file by Eclipse when I created the project. I just had to change the capitalization of the index.jsp entry so that it matched the name of the Index.jsp I created.
Should I move the Index.jsp node so that it is the first node in the welcome-file-list node?
thanks again.
Gary
On Thu, Oct 2, 2008 at 1:53 PM, Joe Sam Shirah <joe_sam at bellsouth.net> wrote:
Hi Gary,
The default page to display is typically index.html or index.htm. If
you want something else, like index.jsp, to display by default, you'll have
to change or add to the welcome-file-list in web.xml.
If you don't know how to do that, google for:
welcome-file-list
HTH,
Joe Sam
Joe Sam Shirah - http://www.conceptgo.com
conceptGO - Consulting/Development/Outsourcing
Java Filter Forum: http://www.ibm.com/developerworks/java/
Just the JDBC FAQs: http://www.jguru.com/faq/JDBC
Going International? http://www.jguru.com/faq/I18N
Que Java400? http://www.jguru.com/faq/Java400
----- Original Message -----
From: "Gary Marshall" <gwjm56 at gmail.com>
To: <ajug-members at www.ajug.org>
Sent: Thursday, October 02, 2008 9:19 AM
Subject: [ajug-members] Help me start my Dynamic Web App!
> Hello all:
> I'm a Java newbie here attempting to run a simple Dynamic Web project in
> Eclipse. Here's what I have done:
>
>
> 1. Downloaded and installed Apache Geronimo v2.1 server.
> 2. In Eclipse, created a new Dynamic Web project
> 3. Created a simple index.jsp file which now sits in the WebContent
> folder of the project.
> 4. Started the server and published everything.
>
> When I right-click on the project and select RunAs -> Run on Server, the
> "Status" column of the Server window first shows "publishing" then shows
> "Synchronized", but my index.jsp does not display.
>
> I must be missing something somewhere. Do I need some kind of deployment
> descriptor file perhaps?
>
> Please show this newbie the error of his ways.
>
> Thanks much for your time and assistance
> Gary
>
_______________________________________________
ajug-members mailing list
ajug-members at ajug.org
http://www.ajug.org/mailman/listinfo/ajug-members
_______________________________________________
ajug-members mailing list
ajug-members at ajug.org
http://www.ajug.org/mailman/listinfo/ajug-members
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ajug.org/pipermail/ajug-members/attachments/20081002/a37c6822/attachment.html
More information about the ajug-members
mailing list