• Post Reply Bookmark Topic Watch Topic
  • New Topic

Few questions about compiling jsps  RSS feed

 
Jiri Nejedly
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are beginners and we create our first J2EE application using Spring (+ Hibernate). We have a few questions regarding jsp pages.

We noticed this
- Build aplication generates .java and .class file to every jsp page (in class directory corresponding to source file directory) - ok.
- But Running aplication and going to some page for the first time causes another generation of .java, .jsp and .jpa files with names for example such as _Subdir_5c_PageName in class root direcory.
- Going there another time is then fast (no compilation).

Our questions :
- Why the second compilation ?
- Why the storage in the class root ?
- What is the .jpa files for ?
- Can the 'on the fly' compilation be done before going to page ?

Thanks.

Thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your IDE is perhaps building the pages in the wrong place? Then when the container needs the page translated and compiled, it does it on its own.

Depending upon your container (Tomcat?), pre-compilation may be possible.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!