How to prevent calling jsp directly?

I want to block calling my jsp pages directly from web browser. I just map the urls on web.xml... Please give an idea.

For example:

I dont want mydomain.com/index.jsp

I want mydomain.com/index

Note:my jsps are placed in the root of my context. If needed i can change the place of them

null

[326 byte] By [netsonicca] at [2007-11-27 11:21:23]
# 1

See http://forum.java.sun.com/thread.jspa?threadID=581711&tstart=210

George123a at 2007-7-29 14:48:25 > top of Java-index,Java Essentials,Java Programming...