Re: [OT]Blocking authority to access JSP - ignore previous mail

2005-08-02 Thread Dave Newton

Ashish Kulkarni wrote:


I know
wish i could not, but the design is that we have all
the images in a folder images which is under pages, 
it sort of sucks 
seems the

*.jsp
works some times and some times not
i guess it works on tomcat and not on websphere
 

Are you limited to that directory structure, or can you put JSP/others 
under WEB-INF?


Dave



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



Re: [OT]Blocking authority to access JSP - ignore previous mail

2005-08-02 Thread Ashish Kulkarni
I know
wish i could not, but the design is that we have all
the images in a folder images which is under pages, 
it sort of sucks 
seems the
*.jsp
works some times and some times not
i guess it works on tomcat and not on websphere

--- Wendy Smoak <[EMAIL PROTECTED]> wrote:

> From: "Ashish Kulkarni" <[EMAIL PROTECTED]>
> > pages --
> >|
> > --index.jsp
> > --access.jsp
> > --logo.gif
> >
> > In my web-xml file if i add
> > 
> > Restrict access to JSP pages
> > 
> > /pages/*
> > 
> > it blocks logo.gif also,
> 
> What is 'logo.gif' doing in the "pages" directory? 
> It isn't a page. :)  Can 
> you move it to /images?  Then your pages will be
> protected, and the image 
> will be available without the constraint.
> 
> -- 
> Wendy Smoak 
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 




__ 
Yahoo! Mail for Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 

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



Re: [OT]Blocking authority to access JSP - ignore previous mail

2005-08-02 Thread Wendy Smoak

From: "Ashish Kulkarni" <[EMAIL PROTECTED]>

pages --
   |
--index.jsp
--access.jsp
--logo.gif

In my web-xml file if i add

Restrict access to JSP pages

/pages/*

it blocks logo.gif also,


What is 'logo.gif' doing in the "pages" directory?  It isn't a page. :)  Can 
you move it to /images?  Then your pages will be protected, and the image 
will be available without the constraint.


--
Wendy Smoak 



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



Re: [OT]Blocking authority to access JSP

2005-08-02 Thread Wendy Smoak

From: "Ashish Kulkarni" <[EMAIL PROTECTED]>


I have been trying to block access to jsp directly,


http://www.jguru.com/faq/view.jsp?EID=471953

HTH,
--
Wendy Smoak



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



[OT]Blocking authority to access JSP - ignore previous mail

2005-08-02 Thread Ashish Kulkarni
Hi
I have been trying to block access to jsp directly,
here is my folder structure
pages --
|
 --index.jsp 
 --access.jsp 
 --logo.gif

In my web-xml file if i add

Restrict access to JSP pages
 
 /pages/*

it blocks logo.gif also, 

and i cannot add 

Restrict access to JSP pages
 
 /pages/*.jsp

because it gives me
java.lang.IllegalArgumentException: Invalid
 /pages/*.jsp in security constraint

So how do i block access to all jsp in pages folder




Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

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



[OT]Blocking authority to access JSP

2005-08-02 Thread Ashish Kulkarni
Hi
I have been trying to block access to jsp directly,
here is my folder structure
pages --
|


A$HI$H




Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

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