File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes XML Descriptor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "XML Descriptor" Watch "XML Descriptor" New topic

XML Descriptor

ricky gonzalez
Ranch Hand

Joined: Jun 30, 2000
Posts: 167
Hi, I am a newbie at servlets, and I am trying to do my XML Descriptor. Unfortunately, I know very little XML.
Can someone tell me exactly what does <context-param> do?
Also, in the example descriptor that servlet 2_2 spec gave, they have
What is Spring in the above code?
What is mime? How will it affect the servlet's work?
What is welcome file? What do they do?
I know it's alot of questions. But I am really bad at XML.
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
could you please give more details in which context you are asking the above questions?
ricky gonzalez
Ranch Hand

Joined: Jun 30, 2000
Posts: 167
Hi, it's the
in the "A Basic Example" in 13.3.1 of servlet 2_2 specification.
I agree. Here's the link:
subject: XML Descriptor
It's not a secret anymore!