Reading welcome files from a servlet

M

Mario Maestro

Hi,

I need to get the list of welcome files (as specified in web.xml) from
within a servlet. I'm afraid I need to parse the XML: does anyone know a
better method?

Thanks
M.M.
 
B

Ben_

What's wrong with loading the web.xml in a DOM object and applying an XPath
expression ? It looks pretty straightforward.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top