Hi all,
Until now I have been using a boot.jsp page as the main entry point to my
application. But now I have changed it to a servlet.
On the web.xml I have made a servlet mapping,
servlet
servlet-nameboot/servlet-name
You might try putting a jsp page called default.jsp in the root of you web
application. Just put the following lines in the default.jsp.
jsp:forward page="start"/
-Original Message-
From: Ismael [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 03, 2001 9:26 AM
To: Orion-Interest
Title: SV: How to specify a servlet as a main page
As far as I know, it is simply not possible to have
welcome-file-list
welcome-file{file-spec}/welcome-file
/welcome-file-list
{file-spec} be something other than a HTML or JSP page. The reason for this I've heard is that some people just do
I think to do this you would need to have an index.jsp and configured
web.xml's "Welcome.." entry to recognise it.
Then simply forward or redirect within index.jsp.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Johnson,
Robert
Sent: Tuesday,
I think you need to map your servlet to the url "/", and handle from there.
tim.
Hi all,
Until now I have been using a boot.jsp page as the main entry point to my
application. But now I have changed it to a servlet.
On the web.xml I have made a servlet mapping,
servlet
Title: SV: How to specify a servlet as a main page
The
simple solution is to write a simple JSP page and have it forward to your
servlet.
-Original Message-From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Patrik
AnderssonSent: Tuesday, April 03, 2001 10:57
You have to put additional line as :
load-on-startup10/load-on-startup
into paragraph:
servlet
servlet-nameboot/servlet-name
servlet-classcom.testing.es.start.Boot/servlet-class
load-on-startup10/load-on-startup