Hi guys,

I am trying to build a sample struts application which verifies login
information.

Now the dilemma Ive run into is how to compile the "ActionBean" and
"Actionclass" inside the package?

So i decided to write a build.xml file for this purpose and it is like
below:
<?xml version="1.0"?>
<!-- Build file for our first application -->
<project name="MyStruts" default="build" basedir=".">
<target name="build" >
<javac srcdir="C:\apache-tomcat-6.0.10\webapps\MyStruts\WEB-INF\classes\log"

destdir="C:\apache-tomcat-6.0.10\webapps\MyStruts\WEB-INF\classes\log"
debug="true"
includes="**/*.java"/>
</target>
</project>

Now, I'm trying to build this file, but again, the problem comes up where
none of the "Action","ActionForm" or "httpServletRequest/Response" items in
these classes are being recognized.

Should i include something else with my build.xml? like the path to the
"lib" folder inside the "WEB-INF" folder or something?

Any help is highly appreciated.

Thanks.

VIkas.

Reply via email to