Originally posted by meeraa pillaii:
Also i tried getContextPath() to display the path.But not getting any value...
That's OK. If the app is in the root context the context path will be blank. Just follow the directions that I sent you to.
Do not include the "http://" and domain prefix. Follow the directions.