This was one small question I was facing yesterday and found a simple and easy solutions
How to get context path of application in JSP.
And the solution is here
Here the code is using Expression Language (EL).
Java Examples - How do I get web application context path in JSP?
Posted using ShareThis
Read More!