You're mostly right. Except you wouldn't specify the
suffix '.html' - simply end your url with
.../examples/TEST
Also web.xml does not get compiled. It gets read in
and parsed by tomcat on startup.
-Ganesh
--- [EMAIL PROTECTED] wrote:
> I am not sure if I am going on the right track, but
> am I right thinking that
> the Web-inf
> xml file controls what servlets are allowed to be
> be executed and how
> regarding securities. So lets say that I wrote a
> servelet called TEST.html
> and I put it in the directory
> $TOM_CAT$/webapps/examples as configured in the
> server.xml file:
>
> <Context path="/examples"
> docBase="webapps/examples"
> crossContext="false"
> debug="0"
> reloadable="true" >
> </Context>
>
> If I want to the server to recognize this script do
> I have to put an entry in
> the web.xml script:
>
> <servlet>
> <servlet-name>
> TEST
> </servlet-name>
> <servlet-class>
> TEST
> </servlet-class>
> </servlet>
>
> Anyone is this correct?????? And after do I have to
> compile the web.xml file
> or will it happen automatically.Please help...
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, email:
> [EMAIL PROTECTED]
>
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]