Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Reading welcome files from a servlet

Reply
Thread Tools

Reading welcome files from a servlet

 
 
Mario Maestro
Guest
Posts: n/a
 
      07-23-2004
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.
 
Reply With Quote
 
 
 
 
Ben_
Guest
Posts: n/a
 
      07-23-2004
What's wrong with loading the web.xml in a DOM object and applying an XPath
expression ? It looks pretty straightforward.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Welcome screen not welcome mona@Ve.com Computer Support 4 12-14-2007 03:12 AM
Setting a servlet as a welcome page. Impossible? Andrea Desole Java 2 02-23-2005 08:55 AM
mailing list welcome welcome msg in wiki suggestion Brian van den Broek Python 0 12-12-2004 09:11 PM
Servlet question(Tomcat, web.xml, servlet-class, servlet-name) circuit_breaker Java 2 04-04-2004 03:26 AM
how to get my servlet configuration before the servlet is initialised Andy Fish Java 4 12-17-2003 09:47 PM



Advertisments