We might be tired of setting the “paths” for compiling the servelt program using the JDK (java development kit) (Works on any version of java). (or) we might also be having difficulty in remembering the different “paths” to be set in order to compile the servlet program.
Here is a simple way to compile the servlet program “without the need of setting the path”.
Instructions
[1]. Move to the directory “tomcat\lib”.
[2]. Copy the file “servlet-api.jar”.
[3]. Traverse to the directory “java\jdk\jre\lib\ext”.
[4]. Paste the file “servlet-api.jar” in there.
[5]. Now you will be able to compile the “servlet file”.
Note: “java” is the directory where java has be installed .
“tomcat” is the directory where tomcat is installed.
Video
Blowfish12@2012 Author: Sudharsun. P. R.
No comments:
Post a Comment