I am trying to compile jsps using ant buid tool but getting errors like
login.jsp:3:1: javax.servlet caot be resolved to a type
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
^-----------------------------------------------------------------------------------------------------
<body>
-----^
login.jsp:3:1: The method getServletConfig() is undefined for the type __login
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
^-----------------------------------------------------------------------------------------------------
<body>
-----^
below is the build.xml tags for compilation,i am using Appc class of weblogic jar to compile jsp:
<path id="wlappc.classpath">
<fileset dir="C:OracleMiddlewarewlserver_10.3serverlib">
<include name="*.jar"/>
<include name="servlet-api-3.0.jar"/>
</fileset>
</path>
<taskdef name="wlappc" classpathref="wlappc.classpath" classname="weblogic.ant.taskdefs.j2ee.Appc"/>
<target name="compile_jsp">
<wlappc source="N:ProgrammingworkspaceTestWebAppWebContent"
keepgenerated="true"
verbose="true"/>
</target>
any suggestions or help is highly appreciated.
