aspose file tools*
The moose likes JSP and the fly likes Exceptions in JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Exceptions in JSP" Watch "Exceptions in JSP" New topic
Author

Exceptions in JSP

chikki singh chotala
Greenhorn

Joined: Oct 05, 2004
Posts: 7
What is runtime exception and compile time exception in jsp
Senthil B Kumar
Ranch Hand

Joined: Feb 09, 2004
Posts: 140
When the user request for a JSP, it gets converted to a Servlet and this servlet is compilted and executed to give the output.

When your JSP has any syntax errors like the standard tag names are wrongly mentioned , or misspelling of keywords..etc.. , when compiling the converted Servlet, the compiler will give the compilation error.

but if its a kinda logical error, say you have instantiated an Object and at some situation it becomes nullyfied and you are trying to access its method now. this situation doesnt happens when you are compiling the code, it happens only when the code is executed, so these kind of errors are called RunTime exceptions, ie exceptions/errors occuring during runtime.


Work like you don't need the money. Love like you've never been hated. Dance like nobody's watching. Sing like nobody's listening. Live like it's Heaven on Earth.
Currently I Reside Here WEBlog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Exceptions in JSP