I want to develop an web application in Struts2,right now i am using j2sdk1.4.04 and jre1.4.04 .I want to know whether under which version of javastruts 2 run comfortabily,if it doesnt run under my current configuration whats the problem
Struts 2 expects Java 1.5+ (see the requirements portions of the nutshell docs). Earlier versions of S2 shipped with a set of libraries suitable for use with Java 1.4; these are no longer provided in the distro but the commands for creating them are still there (I think). You could, of course, do it by hand.
Don't let this one stop you from answering posts. We're all here to learn.
The only reason I know Struts 2 works with Java 5 and above is I just tried to deploy a Struts 2 app on Weblogic 8.1, which is Java 1.4. It came as a surprise to me, too!