This sounds like a pretty fancy requirement to me. Why are you doing this? Probably what you would have to do is define the Struts ActionServlet to map to all .do requests and some other servlet to map to all .jsp requests. Then you could only let some JSPs display instead of letting them all display.

The recommended approach is to have all requests go through the Struts action servlet, so a user will never see .jsp in their URL bar in their browser.

Matt

Yan Zhu wrote:
hi,
    I am trying to acheieve the following:

    1) hide jsps from direct access. so no one can type:
        http://www/webapp/jsp/test.jsp

to directly access it.

    2) in my webapp, I can use a popup window and
        bring up jsp/test.jsp directly.

    I tried serveral different methods, none seem to
work both ways.

thx in advance.

yan



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-- Matthew Sgarlata Senior Consultant Booz Allen Hamilton Inc. Work: 703-377-0871 Fax: 703-902-3608


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to