hi arun -
firstly, these property files are obviated by the web application
deployment descriptor as defined in the servlet 2.2 spec:
http://java.sun.com/products/servlet/2.2
section 13: deployment descriptor
all of the former property formated data and more is provided
in the new deployment descriptor. to access a functional early
release of a servlet 2.2 compliant system try:
http://jakarta.apache.org
look for "tomcat" build
contains servlet 2.2 and jsp 1.1 (at the core, this is the
application formerly known as jswdk with some apache
style contributions)
if you can't move to tomcat@jakarta i'll take a stab at
describing the property files you've listed:
mappings.properties -> associated a request uri format
with a resolved/target servlet
mime.properties -> associates a series of mime types
processable by the handing web
application context
servlet.properties -> parameters specific to the associated
servlet
webapp.properties -> i must admit that i can't recall what
this entitiy deals with ... possibly
welcome file and context scoped
items
all of these themes are described in the the servlet 2.2 spec
and supported in the tomcat@jakarta implemenation which
is freely available and supported whole heartedly by the
servlet/jsp reference implemenation folks at sun.
hope this helps,
- james
Arun Thomas wrote:
> Hi,
>
> I'm making use of Sun's JSWDK, and have managed to get the server working
> using JSPs and servelets in a directory of my own (rather than the examples
> directory sun provides).
>
> Unfortunately, I accomplished this by trial and error with no real idea of
> what I was doing. In particular, there are four .properties files included
> in the Web-inf subdirectory that I copied and changed somewhat. I have no
> real idea what all of these do, and can not seem to find a description
> anywhere.
>
> Can anyone either explain what these are for, or point me to
> someone/somewhere that can?
>
> Thanks much
> -AMT
>
> P.S. The names of the four files are:
> mappings.properties
> mime.properties
> servlets.properties
> webapp.properties
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> FAQs on JSP can be found at:
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html