Hi I got the following exceptions when i am deploying the application using jboss4.2:
Iam using strts validation frame work for both client and serverside validations.But i am getting this errors.that to it is not supporting taglib directives when i am using those. But i have copied all jar files web-inf and tab files in lib. Please help me in this issues, i stucked with this since 3 days..
1.Cannot find ActionMappings or ActionFormBeans collection 2.javax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans collection 3.javax.servlet.UnavailableException: Parsing error processing resource path /WEB-INF/struts-config.xml
And my files are: createProject.jsp: =================
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd">
<!-- This is a blank Struts configuration file with an example welcome action/page and other commented sample elements.
Tiles and the Struts Validator are configured using the factory defaults and are ready-to-use.
NOTE: If you have a generator tool to create the corresponding Java classes for you, you could include the details in the "form-bean" declarations. Otherwise, you would only define the "form-bean" element itself, with the corresponding "name" and "type" attributes, as shown here. -->
Please be sure to post Struts questions in the Struts forum. I have moved this post there for you.
Also, please be sure to use UBB code tags when posting code to the forums. Unformatted code is extremely hard to read and many people that might be able to help you will just move along. Please read this for more information.
You can go back and change your post to add code tags by clicking the .
In my strtus application i have applied validator frame work.But the thing is " it is reflecting the form in the sense form is not going to next page uunless i enter all fields data." it is validating the form with out displaying any alert messages like in java script.
For any body who is reading this page, this might help...
I faced the same problem only for the first time i start the application, it was tricky and i found that in the web.xml, i did not load the ActionServlet during the start-up and it had not parsed the struts-config.xml when the request had come. The problem is solved when i added the following line in web.xml ActionServlet's configuration,
Also, for anyone reading this, I just ran into this error. I get some applications from other developers and upload them to a server, and this error came up after I had just put an update on - it was a mix of .jsps, .xml files, and .class files. Before I got this error, I got another error I was more familiar with - I have seen this earlier error before, when I was initially trying to figure out Java and saw that it meant that the file I was using was compiled with a later version of the JDK than the server had. The main difference between the production and development servers for me is that production uses JDK 1.5, whereas development uses 1.6.
I initially checked the FAQ here to see if that could help - that said there was either a problem with web.xml or struts-config.xml, but there weren't any code changes to either - just some white space had been removed. But one of the things the FAQ said was that the error could mean that I was trying to execute a .jsp before the Action servlet was initialized, and I *did* see an error message about a problem with load() in one of the logs - but there wasn't any reference to a line in the .xml file as the FAQ said there would be.
It turned out that all the .class files had been compiled with 1.6. First I backed out all the files, and then put the new .jsps and .xml files back in - there was no error. Then, I put the recompiled .class files on and restarted the server. The error was still gone. So, it looks to me as the solution was to recompile the .class files with 1.5 and use those. I thought it was a bit odd that the error message didn't say anything about this, but I don't use Struts in my own programming, so for all I know, this could be well-known error...