When you execute a JSP file, the server translates the contents of the JSP file into a Java servlet and compiles the servlet. You can view the translated servlet source in the Source Editor.
Note that you cannot set breakpoints in the servlet source code. You can set breakpoints in the JSP file only.
To view the servlet generated from a JSP file:
The servlet appears in the source editor. This servlet is based on the state of the JSP file when the file was last executed. If you have changed the JSP file but have not executed it, the servlet does not reflect the changes. If you execute the JSP file or if you change the default server while this file is opened, the file changes to reflect the latest translated servlet on the default compiler.
See also | |
---|---|
About Debugging Web Modules About Servlets |