ANT Build Fail : package javax.servlet.jsp does not exist
					
I am trying to build a sample application using ANT build. But i am getting an exception :   
package javax.servlet.jsp does not exist.
Here is my sample build.xml file. Application doesn't has any problem, but only in build there appears to be some problem. Please explain me whats the problem. I am new to ANT build.


<project name="OnlineBank" basedir="../">
					
						<property name="build.dir" value="build"></property>
						<property name="src.dir"  location="src"></property>
						<property name="classes.dir" value="${build.dir}/classes"></property>
						<property name="buildlib" location="WebContent/WEB-INF/lib"/>
						
						<path id="build.classpath">
						      <fileset dir="${buildlib}" includes="*.jar"/>
							  <pathelement location="."/>
							</path>
						
					    <target name="clean">
					        <delete dir="${build.dir}"/>
					    </target>
					
					    <target name="compile" depends="clean">
					        <mkdir dir="${classes.dir}"/>
					        <javac srcdir="${src.dir}" destdir="${classes.dir}"/>
					    	<classpath refid="build.classpath" />
					    </target>
					
					</project>
ANT Build Fail : package javax.servlet.jsp does not exist
===

					
I am trying to build a sample application using ANT build. But i am getting an exception :   
package javax.servlet.jsp does not exist.
Here is my sample build.xml file. Application doesn't has any problem, but only in build there appears to be some problem. Please explain me whats the problem. I am new to ANT build.


<project name="OnlineBank" basedir="../">
					
						<property name="build.dir" value="build"></property>
						<property name="src.dir"  location="src"></property>
						<property name="classes.dir" value="${build.dir}/classes"></property>
						<property name="buildlib" location="WebContent/WEB-INF/lib"/>
						
						<path id="build.classpath">
						      <fileset dir="${buildlib}" includes="*.jar"/>
							  <pathelement location="."/>
							</path>
						
					    <target name="clean">
					        <delete dir="${build.dir}"/>
					    </target>
					
					    <target name="compile" depends="clean">
					        <mkdir dir="${classes.dir}"/>
					        <javac srcdir="${src.dir}" destdir="${classes.dir}"/>
					    	<classpath refid="build.classpath" />
					    </target>
					
					</project>