File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problems with Struts

 
Monica Dhamankar
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am new to struts. I am trying out the application by Stephan Wiesner. my BookView.jsp file looks like this
<%@ page language="java" %>
<%@ taglib uri="WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="WEB-INF/struts-html.tld" prefix="html" %>
<html:html locale="true">
<head>
<html:base/>
<title>
<bean:message key="index.title"/>
</title>
</head>
<body>
<h2>BookView</h2>
</body>
</html:html>
whenever i try to open this thorugh a browser i get an error
org.apache.jasper.JasperException: /strutsShop/BookView.jsp(6,0) Unable to load class html
I have my web.xml file as well as the ApplicationResource.properties file in proper directories..
I dont know why I am getting this error.
I am using Apache Tomcat 4.1 and Java 1.4
Thanks
 
Yi Zhou
Greenhorn
Posts: 12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the same problem with mine
you can read the article I post and some gentlemen replied ,maybe it can help you.

By the way, if you get it, please inform of me and vice versa.
 
Monica Dhamankar
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am getting this error when i try to use the internationalization..
org.apache.jasper.JasperException: Cannot find message resources under key org.apache.struts.action.MESSAGE
I have application.properties and application_de.properties file under classes/resources
I also have
<message-resources parameter="resources.application"/>
added to my struts-config.xml file
Can someone pls help
Thanks

[ October 17, 2003: Message edited by: Monica Dhamankar ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic