• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How does the container compile jsps ?

 
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We experimented something.

1. We started the tomcat
2. removed the jdk/bin (jdk is the JAVA_HOME)
3. Made changes to the jsp file (in order to make the container re-compile the jsp)
4. We ran the application again. Its running perfectly alright. It was showing all the changes that are made to the jsp file. the changes even include additional <% java scripts %>.

So, how does the container compile these jsps?

is it copying the concerned files(like javac) from jdk folder to some other folder when the server is started using startup.sh ( in linux ). if so what is the folder? any answers?
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You didn't tell us what version of Tomcat you're running.

Starting with version 5.5, Tomcat ships with it's own compiler.
It uses the JDT compiler (from the folks at Eclipse).

From the Tomcat release notes:
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moved to the Tomcat forum.
 
Arul Jose
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i am using tomcat 5.0.28.
 
reply
    Bookmark Topic Watch Topic
  • New Topic