• Post Reply Bookmark Topic Watch Topic
  • New Topic

does jsp becomes a .class after compiling

 
komala nilima
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends i have one doubt regarding jsp.

pls spend some time to read this.

The basic OOPs concept which supports is we cant write or declare variables

outside of the class.

Then here is the doubt.


In writing JSP's we r using tags,how can it possible to write or declare the things outside of the class.If it is ok is this generates class files if not how one can access this JSP's as machine independent.

Thank u in advance
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
They do get compiled into class files.
In Tomcat, both the generated servlet code and the compiled classes reside under CATALINA_HOME/work.

If you're using a different container, your mileage may vary.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65530
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
pls spend some time to read this.


Please spend some time to write out real words.

If you are not going to take the few seconds it take to write "please" instead of "pls" and "you" instread of "u", why should anyone else spend their time trying to help you?

Please read this.
[ June 28, 2005: Message edited by: Bear Bibeault ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!