Ashish Kulkarni ha scritto:
Hi
May be try putting the following in web.xml file just
before taglib ( i am not sure but works with 2.2)
<error-page>
<error-code>403</error-code>
<location>/pages/error/noaccess.jsp</location>
</error-page>
<error-page>
<error-code>401</error-code>
<location>/pages/error/noaccess.jsp</location>
</error-page>
Ashish
Thanks for the answer, but this method doesnt work.
Infact if a resourse is under authentication (like manager) and i setup a 401
page error,
the system does not ask for user and password but presents immediately the
error page.
I think i have to use something other than basic auth, at least to create my
own login page :D
Tx all
Giorgio Ponza
--- Omar Adobati <[EMAIL PROTECTED]> wrote:
Oh, I'm sorry... you are using the basic auth
mode... there was a
missunderstanding... sorry again...
On Mon, 24 Jan 2005 14:29:44 +0100, Giorgio Ponza
<[EMAIL PROTECTED]> wrote:
Omar Adobati ha scritto:
I never try it, but maybe u can write your own
code into the login
page that redirect you on a different page if
the login taske will not
completed as needed...
I can't try this :D
There is no login page, only a box appearing over
the browser asking user and password.
Thanks anyway
Giorgio
---------------------------------------------------------------------
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
--
Adobati Omar
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
-----------------------------------------------------------------------
Giorgio Ponza
Web Developer
Opla.com Ltd
Tel. +39 011 7506233
Fax. +39 011 746179
http://www.opla.it
-----------------------------------------------------------------------
Ci sono persone che hanno soldi e persone che sono ricche (Coco Chanel)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]