aspose file tools
The moose likes JSP and the fly likes Is it true that JSP creates Servlet java code ? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Is it true that JSP creates Servlet java code ?" Watch "Is it true that JSP creates Servlet java code ?" New topic
Author

Is it true that JSP creates Servlet java code ?

northfield Sid
Ranch Hand

Joined: Aug 08, 2002
Posts: 106
I am working with JSP.
My web server is tomcat.
Is it true that JSP creates Servlet java code of JSP files when it executes? If so how can I view them?
Anthony Villanueva
Ranch Hand

Joined: Mar 22, 2002
Posts: 1055
Yes. Please go to {tomcat4_install_dir}\work\localhost\{context}
Sudhakar Ahuja
Greenhorn

Joined: Jul 28, 2002
Posts: 9
yes
Anirut Worakitrungruang
Greenhorn

Joined: May 05, 2002
Posts: 3
Oh yeah, I know they are alike.
But I don't know how different they are.
Could you guys brief and show the differences to me?
Thanx
mark evertz
Greenhorn

Joined: Apr 11, 2002
Posts: 22
Anirut,
can you please give us more details what you are
asking?
You mean the differences of JSPs and Servlets??!!??
Yes, as mentioned above a servlet is generated from the jsp. The dir below also contains the generated .java servlet source files.
{tomcat4_install_dir}\work\localhost\{context}\jsp
[ August 27, 2002: Message edited by: mark evertz ]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Is it true that JSP creates Servlet java code ?
 
Similar Threads
Accessing implicit Objects in JSP
What is the typical servlet/jsp handoff?
java source for compiled JSP in WAS4.0
include jsp in servlet
loading a dynamically created jsp page on a server