dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: Application context?

  1. #1
    Join Date
    Nov 2008
    Posts
    15

    Application context?

    Hi,

    From Myeclipse I created a sample web application (MyApp). The application has got a simple listner class that implements the MessageListener. The url to access the application is http://localhost:8080/MyApp.

    web.xml
    <web-app version="2.4"
    xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
    http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <listener>
    <listener-class>
    com.listeners.MyListener
    </listener-class>
    </listener>
    </web-app>
    ------------------------------------------------------------------
    How can get the applicationcontext path? That is path = 'http://localhost:8080/MyApp' should be my answer. can any one help me out ?

    Regards,
    Jithesh PM.

  2. #2
    Join Date
    Apr 2009
    Posts
    7

    To Create a Servlet

    Complete steps and project for developing a server project and lots more, visit the website www.*************.we.bs

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles