hai this is ramesh!
suppose u installed tomcat in c:\tomcat
and u installed in d:\j2se
ur working dir e:\ramesh
u first set path ie in environment variable
path
%path%;d:\j2se\bin;c:\tomcat\bin;
similarly to classpath
classpath
%classpath%;d:\j2se\src.zip or d:\j2se\lib;
set catalina-home
c:\tomcat;
java-home
d:\j2se;
and make sure ur placing ur jsp in
urdir
| Web-inf\
| ur.jsp
|classes\*.class
|web.xml
|lib...
|tld\*.tld (for useage of Custom Tag)
in browser tpye
http://urhost:portnumber/urdir/ur.jsp
meaning is this requset reaches to urdir ie public area of
webserver,ur jspfiles is under public area from WEB-INF onwords
private area to users so they cannot use /call directly
only they are suppose to call(access) files in public area
if u want to use private area it is possible only mapping on web.xml
urdir acts as small website
if u have any clarificationf contact me on
[email protected]