tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hardik Tank <hardik_t...@yahoo.com>
Subject Re: servlet mapping and url
Date Sat, 02 Jul 2005 13:22:36 GMT
you can configure your web.xml file and make index.jsp
file as an welcome file using,

    <welcome-file-list>
        <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>

now, create index.jsp file which will simply forward
the request to your servlet!

Rgds,
Hardik

--- s s <sunnynight3001@yahoo.com> wrote:

> i want to invoke a servlet using url like
> http://localhost:8080 only
>  
> i have done it using
> http://localhost:8080/index.html where index.html is
> a servlet. Is it possible to load this servlet as a
> default just like a default web page. The point is i
> want a servlet to recieve a request when url
> http://localhost:8080 is referenced i.e without the
> servlet name.
>  
> is it possible?
>  
>  
> 
> 
> 		
> ---------------------------------
> Yahoo! Mail Mobile
>  Take Yahoo! Mail with you! Check email on your
> mobile phone.



		
____________________________________________________ 
Yahoo! Sports 
Rekindle the Rivalries. Sign up for Fantasy Football 
http://football.fantasysports.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message