tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From graghupa...@aegonuk.co.uk
Subject RE: struts in tomcat
Date Tue, 13 May 2003 13:40:30 GMT
okie ... send me your struts-config.xml ....

-----Original Message-----
From: Pablo Gomes Ludermir [mailto:pablo@inflor.com.br]
Sent: 13 May 2003 14:34
To: tomcat-user@jakarta.apache.org
Subject: struts in tomcat


Hello People,

I am trying to learn struts, but I am having some problems with tomcat
4.1.24 (win2k; JDK 1.4).
I had created the simplest application as possible, but I still get a HTTP
500 error (org.apache.jasper.JasperException: Missing message for key
index.title).

The ApplicationResources.properties file and
ApplicationResources_pt-br.properties (portuguese Brazil, the language wich
is configured my OS) are on WEB-INF/classes directory.
The struts.jar file is also on WEB-INF/lib directory and in my CLASSPATH.
The web.xml and struts-config.xml are with default settings (I had copied
from JDeveloper).

This is my jsp page:
----------------------------------------
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ page contentType="text/html;charset=windows-1252" %>
<%@ page language="java" %>

<html:html locale="true">
<head> 
<html:base />
<title> 
<bean:message key="index.title" />

</title>
</head>
<body>
    <h2> teste </h2>
</body>
</html:html>
----------------------------------------
This is my ApplicationResources.properties file (all have the same
contents):

index.title=JDeveloper Struts Application
index.heading=JDeveloper Struts Application
index.message=See how easy it is to use struts with JDeveloper 9i.


Pablo Gomes Ludermir
mailto:pablo@inflor.com.br
INFLOR  Consultoria e Sistemas Ltda.
Rua Dr. Eurico de Aguiar, 888 - Sala 1004
Santa Lúcia - Vitória - ES
Cep: 29055-280
Tel: (27) 3225-7115



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message