1

I have two files in my sample web application: 'index.jsp, Jsp1.jsp'. When i run this web application where are the class files of these two jsp files stored in netbeans 8.0?

I searched for the class files in project folder but i couldn't find any.

user3435052
  • 49
  • 1
  • 6

2 Answers2

0

I know it is very late but it may help someone!!

If you are using glassfish server, find the generated sources under

C:\glassfishv2.1\glassfish\domains\domain1\generated\jsp

Note: I am using glassfish 2.1. In your case you may be using different version.

For tomcat server it is well answered at Where are compiled JSP Java (*__jsp.java) files?

For your reference go through the documentation to enable generate source if you do not see at https://blogs.oracle.com/foo/i-want-to-see-my-jsps-generated-servlet-source

Kamal Singh
  • 990
  • 8
  • 13
0

In my system i could see class files on C:\Archie\Dell\My Documents\NetBeansProjects\JspExamples\build\generated\classes.I saw this path on output tab of a netbeans (after running jsp program) in JspExamples (run) section inside the output tab as: Compiling 1 source file to C:\Archie\Dell\MyDocuments\NetBeansProjects\JspExamples\build\generated\classes

Arhana
  • 41
  • 6