UI Tutorial - How to deploy

Morgan Duchène duchene.morgan at wanadoo.fr
Wed Dec 12 04:19:58 EST 2007


Thanks Todd,
So I will use the FileServlet for the tutorial.
To add more security (if I find time), I will add an extra argument to 
the servlet to specify the root folder in which the servlet can get files.
Cheers,
Morgan


>
> You can load the "/file" servlet:
>   <node ...>
>     <component class="org.cougaar.lib.web.service.FileServlet">
>       <argument>/file</argument>
>     </component>
>     ...
>
> A file in:
>   $COUGAAR_INSTALL_PATH/mydir/myfile.txt
> will be available as:
>   http://localhost:8800/file/mydir/myfile.txt



More information about the Cougaar-developers mailing list