I implemented something similar in that I have an Action parameter that gets
looked up in a hashtable to get the destination URL.  I currently read this
hashtable from a properties file.  Can you tell us what was involved in
using XML files to configure your application?  Did you write your own
classes to read/interpret the XML file?


Craig McClanahan wrote:

> Now, I tend to add a public method in my controller servlet that can look
up actual
> page names from a logical name (as someone else in this thread
recommended).  This
> is yet another Hashtable (or HashMap :-) that is configured in the init()
method,
> either from servlet init parameters or from an XML file.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to