Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help for using Struts and Weblogic 6.1

 
Lusa King
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 401
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One more note...
The better practice with tag libraries is to define them in the web.xml and access them thru their defined uri.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic