Hi
I was updating .classspath file as compatible to source code which I have
inserted inside workspace. The reason for doing this is to make .classpath file
compile java files and put in classes folder as specified. I was running in to
issues like if I update .classpath file, then I am getting errors on Action,
Form on names like Action, Form, request, response (guess the struts names are
throwing errors here).
Here is .classpath file which I have changed.
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="var" path="TOMCAT_HOME/lib/servlet-api.jar"/>
<classpathentry kind="var" path="TOMCAT_HOME/lib/jasper.jar"/>
<classpathentry kind="var" path="TOMCAT_HOME/lib/jsp-api.jar"/>
<classpathentry kind="var" path="TOMCAT_HOME/lib/el-api.jar"/>
<classpathentry kind="var" path="TOMCAT_HOME/lib/annotations-api.jar"/>
<classpathentry kind="src" path="WEB-INF/src"/> - tried to change this path
(but automatic compilation of code doesn't
occur here
if I moved src out of WEB-INF
<classpathentry kind="src" output="work" path="work"/>
<classpathentry kind="output" path="WEB-INF/classes"/>
</classpath>
I was trying some thing like not changing the .classpath file, rather arrange
directories according to the file. But when I have Action or Form inside
WEB_INF/src, error message appears on
import org.apache.struts.action.*;
and on all other struts names like Action, request, response, etc...
If any one could identify what the problem is and which one would be a
solution for these kind of problems, that would be great.
Thanks
_________________________________________________________________
Help yourself to FREE treats served up daily at the Messenger Café. Stop by
today.
http://www.cafemessenger.com/info/info_sweetstuff2.html?ocid=TXT_TAGLM_OctWLtagline