Reading welcome files from a servlet

Discussion in 'Java' started by Mario Maestro, Jul 23, 2004.

  1. 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.
     
    Mario Maestro, Jul 23, 2004
    #1
    1. Advertising

  2. Mario Maestro

    Ben_ Guest

    What's wrong with loading the web.xml in a DOM object and applying an XPath
    expression ? It looks pretty straightforward.
     
    Ben_, Jul 23, 2004
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andy Fish
    Replies:
    4
    Views:
    2,441
    Andy Fish
    Dec 17, 2003
  2. Sean Clarke
    Replies:
    1
    Views:
    1,934
    Sudsy
    Jan 7, 2004
  3. circuit_breaker
    Replies:
    2
    Views:
    2,061
    Jack Jia
    Apr 4, 2004
  4. Andrea Desole
    Replies:
    2
    Views:
    723
    Andrea Desole
    Feb 23, 2005
  5. Brian van den Broek

    mailing list welcome welcome msg in wiki suggestion

    Brian van den Broek, Dec 12, 2004, in forum: Python
    Replies:
    0
    Views:
    719
    Brian van den Broek
    Dec 12, 2004
Loading...

Share This Page