actually the appln is very big, but im cutting short the details , to get to the core,
i have two pages, entername.jsp , displayname.jsp , and a controller
servlet.
entername.jsp posts a message to servlet servlet forwards the request to displayname.jsp after doing all the error checking in the name feild.
my problem is, how can i avoid direct access to displayname.jsp , i only want my servlet to invoke displayname.jsp, and if client types name of displayname.jsp in his browser he should get error. how can i restrict direct access to displayname.jsp in my web application.
Please Help,
Thanks,
Jigar Gosar.