<!--Since I got no answer yesterday I thought I try again -->

Hi there,

I have a small Struts application which requires a user to login before he can 
call an admin action.

The application is running fine under Tomcat 4.1 on my local system.

When I deploy it to iPlanet WebServer 6.0 SP5 I have the problem that the error 
messages in ApplicationResouces.properties are not displayed.
The ApplicationResources.properties is specified within  struts-config.xml.
Everything else works correct.

So for example if I call an admin action and the user is not logged in yet, he 
will be redirect to the login screen. (This works fine)
When I submit wrong credentials for the login the login page shall be displayed 
again with the appropriate error message.

This is the line where I add the error in my LoginAction...

errors.add("ActionErrors.GLOBAL_ERROR", new ActionError("error.login.failed"));

In the JSP page I use ...
<html:errors/>

and the in the ApplicationResources.properties I have a line like ...
error.login.failed = <b>Your username or password is not valid</b>

The struts-config.xml has this line ...
<message-resources parameter="org.app.resources.ApplicationResources"/>

As I said before on Tomcat the error messages are displayed when needed.

Your input is much appreciated,

Thanks


Karim


__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp

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

Reply via email to