aspose file tools*
The moose likes BEA/Weblogic and the fly likes Help for using Struts and Weblogic 6.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Help for using Struts and Weblogic 6.1" Watch "Help for using Struts and Weblogic 6.1" New topic
Author

Help for using Struts and Weblogic 6.1

Lusa King
Greenhorn

Joined: Oct 24, 2002
Posts: 3
Hello, I have trouble to use Struts in Weblogic 6.1. I tried to run an easy struts example, but I got the following error, I appreciate any help.
Parsing of JSP File '/strutsShop/BookView.jsp' failed:
--------------------------------------------------------------------------------
/strutsShop/BookView.jsp(2): Could not parse deployment descriptor: java.io.IOException: cannot resolve '/WEB-INF/struts-bean.tld' into a valid tag library
probably occurred due to an error in /strutsShop/BookView.jsp line 2:
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
Dave Landers
Ranch Hand

Joined: Jul 24, 2002
Posts: 401
I don't know much about struts, but given the taglib directive you posted, you should have a file named struts-bean.tld in the webapp's WEB-INF directory. If you don't, then find the tld file somewhere and copy it in there.
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
One more note...
The better practice with tag libraries is to define them in the web.xml and access them thru their defined uri.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help for using Struts and Weblogic 6.1