: I am developing 'StrutsEx'named struts application in RAD7.0. I have all the required jar files like
I saw lot compilation errors earlier. But later when I add above mentioned jar files by right clicking on project--->properties--->java build path--->add external jars--- then the compilation issues were resolved. My question why we need to add those files separately like
You might be better off asking this question in the IDE forum.
The very basic answer, though, is that the JARS need to be in the classpath of the compiler when you're building your application, and RAD pulls it from where you specify in that dialogue box. (I don't claim to be an expert on RAD, though.)
Theodore Jonathan Casser
SCJP/SCSNI/SCBCD/SCWCD/SCDJWS/SCMAD/SCEA/MCTS/MCPD... and so many more letters than you can shake a stick at!
When you create a classpath, you have to include the path to every single JAR file you're using...even if they are all in the same directory (i.e. it won't let you do something like "foo/bar/*.jar"). That's probably why you had to add each JAR separately...but yeah, sounds more like an IDE issue, since it should take care of that for you.