You can have a jsp as index page and has it to forward the request to a
servlet

That will give the apperance of a servlet welcome page.

Gang

----- Original Message -----
From: "Chen, Gin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 24, 2002 11:31 AM
Subject: Servlet for index page


> Hi all,
>         I know this question was already asked before, but I cant find an
> replies on it.
>
>         I want to have my webapplication come in to a servlet instead of a
> JSP. I know with JSPs and/or HTML index files, you can name them in the
> welcome file list. But how do you do that for a servlet? I know the specs
> say that it has to be either a jsp or html file but isnt a JSP just a
> Servlet anyways?!? Anyhow, I've tried just putting in a mapping for the
> Servlet in welcome file. Making a new mapping for the Servlet that gives
it
> a URI with an extension of both .jsp and .html and using those in the
> welcome file list and a host of other attempted "hacks". But so far, no
go.
>         I've kind of fallen back to the solution of having an actual
> index.jsp that just does a jsp:forward to my Servlet for now. Still hoping
> something so easy can be done.
>
> Thanks,
> -Tim
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to