First of all, only classes in the server portion of your module have access to the web.xml file (since browser client's don't have access to the WEB-INF folder).
So, assuming you're in the server portion, you can just open the file with, say, a FileInputStream. However, I've been programming servlet for years and years and years and I've never once had to parse the web.xml file myself. If you just want to get properties out of it you'll likely just want to use init parameters, or, if you need to look up servlets, you can use a named dispatcher. Good luck! On Mar 11, 11:16 am, tom <[email protected]> wrote: > Hi -- > > What class can I use to access the web.xml (properties & such) from my > GWT module? > > Thanks! -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
