This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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.
 
 
subject: Help for using Struts and Weblogic 6.1
 
Similar Threads
Struts and weblogic 6.1, help please!
Problems with Struts
please help in struts -web-inf/web.xml not found
WEB-INF problem
A Struts Internationalization Example Problem