File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Problems with Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problems with Struts" Watch "Problems with Struts" New topic

Problems with Struts

Monica Dhamankar

Joined: Oct 16, 2003
Posts: 2
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">
<bean:message key="index.title"/>
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 file in proper directories..
I dont know why I am getting this error.
I am using Apache Tomcat 4.1 and Java 1.4
Yi Zhou

Joined: Sep 25, 2003
Posts: 12
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

Joined: Oct 16, 2003
Posts: 2
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 and file under classes/resources
I also have
<message-resources parameter="resources.application"/>
added to my struts-config.xml file
Can someone pls help

[ October 17, 2003: Message edited by: Monica Dhamankar ]
I agree. Here's the link:
subject: Problems with Struts
It's not a secret anymore!