This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

does jsp becomes a .class after compiling  RSS feed

 
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: 66141
141
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!