Discussions
Web tier: servlets, JSP, Web frameworks: Attribute name invalid for tag form according to TLD
-
Attribute name invalid for tag form according to TLD (2 messages)
- Posted by: Riaz Uddin
- Posted on: July 06 2006 18:21 EDT
Hi, I recently found an old ebook for struts on Internet and followed the examples in it. When I try to run the first example, I have the error. the struts-config.xml file is as follows: .... .... The index.jsp is as follows: and the error I am getting is 'Attribute name invalid for tag form according to TLD'. I tried changing the jsp code to ' but it showed me something like 'Cannot find Action-mapping and ActionBeans'. I am using Tomcat 5.5, Struts 1.2.9. the class files are in the wiley directory. Can someone help, i dont know where I went wrong?Threaded Messages (2)
- Re: by Riaz Uddin on July 06 2006 19:12 EDT
- RE: by Riaz Uddin on July 06 2006 19:32 EDT
-
Re:[ Go to top ]
- Posted by: Riaz Uddin
- Posted on: July 06 2006 19:12 EDT
- in response to Riaz Uddin
Hi i got the solution by changing the load-on-startup to 0 from 1 in web.xm; file. I dont know what does that mean. But now I get another error when click submit button on index.jsp page. the error is 'No action instance for path /Lookup could be created' Can someone help please? -
RE:[ Go to top ]
- Posted by: Riaz Uddin
- Posted on: July 06 2006 19:32 EDT
- in response to Riaz Uddin
I got the solution, the LookupAction class was not extending Action class.