the server as is is not all that runtime configurable today but if you
look at etc/SimpleStartup.java you'll get a feel for what it takes to
basically embed a server. this alone will not give you all the answers
your looking for but it's a start.

the WEB-INF directory structure is part of the servlet 2.2 specification
although some of the details are changing slighthly (eg. move from
props to xml descriptors ... that's what i'm doing this very moment).

you should see more of this stuff made open/public/documented as
the details of the jakarta.apache.org process kicks in and the details
get sorted out.

hope this helps,

- james

Petr Jiricka wrote:

> Hello,
> First of all, congratulation to everyone involved in the Tomcat and JoSPer
> and Apache JServ projects to the move to licence JSWDK to Apache group.
>
> Now I would like to ask a few questions about the JSWDK. I've downloaded the
> early access release of JavaServer Web Development Kit and I am wondering if
> it has APIs for configuring at runtime from another Java application. It
> looks like the com.sun.web.server.HttpServer class is well configurable (I
> hope I didn't violate the licence by introspecting the bean), but the
> com.sun.web.core.Context class seems to depend on the .properties files in
> the Web-inf directory. Is there any way to for example map a servlet to a
> certain alias and assign it init parameters without editing the .properties
> files ?
>
> Also, are there any plans to release the Javadoc for the server classes and
> more detailed description of properties files along with the final release ?
>
> Any help would be much appreciated.
>
> Thanks
>
> Petr Jiricka
> NetBeans Inc.
>
> ___________________________________________________________________________
> 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