BASIC authentication error

2004-01-19 Thread julien LEDOUX
Hello,

I use Struts 1.1 and WSAD 4.
I have a BASIC authentication defined in my web.xml

When I open the restricted page, I can see the window pop up authentication.
If I enter the correct loginpass, I'm forwarded to the good page.
But if I click the cancel button, I get a white page. I'd like to go to my
error page defined for http 401 error!

The page /error.jsp is not in a restricted area.

Do you have an idee???

Thanks in advance.

julien



In my web.xml :

error-page
exception-type401/exception-type
location/error.jsp/location
/error-page
error-page
error-code403/error-code
location/error.jsp/location
/error-page


NO JSP compilation... help !!

2004-01-19 Thread julien LEDOUX
hello,

I use WSAD 4 and Struts 1.1,
When I start my web application, all my html results are wrong.

The source code of my html page indicates that the JSP pages are not
compiled!!!
Example of the source code in my browser :

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
%@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean %
%@ taglib uri=/WEB-INF/struts-html.tld prefix=html %
%@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic %
%@ taglib uri=/WEB-INF/struts-tiles.tld prefix=tiles %


tiles:insert attribute='header'/
html:base/
titlebean:message key=verification.title//title
META name=GENERATOR content=IBM WebSphere Studio

%@ page import=lu.etat.cie.common.business.Country%
%@ page language=java import=lu.etat.cie.common.business.CountryManager
%

logic:messagesPresent
   bean:message key=verifForm.errors.header/
   ul
   html:messages id=error
  libean:write name=error//li
   /html:messages
   /ulhr
/logic:messagesPresent

TABLE width=467
TR align=left vAlign=top
TD scope=col 
BH1bean:message key=verification.string1//H1/BBR
/TD
/TR





any ideas???

thanks

julien


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