Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jsp thread: reading of JSP files using HTML files


Message #1 by "Arumugam Subramanian" <arumugam_a_s@u...> on Mon, 20 Nov 2000 14:15:02 -0000
If any user wants to create a jsp file and wants to access the same using
a html file, then the jsp file is to be stored in a seperate user created
directory under webapps directory of tomcat. Then on the html page, the
action of form tag should contain the following
"http://localhost:8080/user directory name/jsp file name.jsp"

After starting the server, when the jsp file is accessed, a directory by
the namelocalhost_8080%2"user directory name", in my case,
localhost_8080%2arumugam, is created alongwith other directories, under
the work directory of tomcat.

In the localhost_8080%2"user directory name", the generated servlet code
is stored alongwith the class file. All the java files generated by
Servlet Engine is named _0002f"JSP file name"_0002ejsp"JSP file
name"_jsp_0.java. In my case
_0002fDeclarationTrial_0002ejspDeclarationTrial_0.java The last _0
describes the revision number. If without deleting this java file, a
change is made to the JSP file, reinvoking the JSP file will create
another java file with revision _1.

regards
arumugam.a.s.

  Return to Index