View RSS Feed

My Java Tips

  1. Fetching parameters from web.xml

    by , 05-24-2011 at 01:30 PM (My Java Tips)
    The file named web.xml is part of your web applications. You may use it for different purpose. Sometimes you wish to define some parameters for your web application in it. Obviously, you need to use this in your application. I will briefly tell you how to do this.

    At first, let me give you an example. We have a web application that needs to send its id and license code to some authentication server before doing some business operation. The id and license code are static and you may ...

    Updated 05-24-2011 at 01:34 PM by Java Tip

    Categories
    JSP , Servlet , XML