i tried to use tiles and tld files on a jsp page,but i encounter an error while trying to load the jsp file.
These are the libraries i insert into the WEB-INF/lib folder struts.jar, struts-tiles.tld, struts-nested.tld, struts-logic.tld, struts-html.tld, struts-bean.tld, struts-el.jar, struts-bean.tld, jstl.jar, c.tld, c-rt.tld
My jsp which i'm using:
The errors i encounter:
I will like to ask what have i miss or what do i need to configure to solve this error?
- There are no stupid questions (for the most part ;)
- What version of Struts are you using? Are you sure you have all the necessary dependencies? The list of JAR files you include seems a little short; I'm almost positive you'll need things like commons-digester and so on.
- Do you have any tiles definition files? Have you looked at the Tiles documentation for how to use Tiles (or other resource)?
- The Struts TLD files shouldn't be in /WEB-INF/lib; they should be in the Struts jar file and you shouldn't need to reference them anywhere, assuming you're using a relatively recent version of Struts and any reasonable app server.