This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Code Behind  RSS feed

 
Vu Pham
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,

ASP.NET has code-behind technique, does Java support it? Please tell me, thanks very much

Vu Pham
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36396
453
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Vu,
We don't call it code behind, so I went looking for a definition. I found "Code-behind refers to code for your ASP.NET page that is contained within a separate class file. This allows a clean separation of your HTML from your presentation logic." from Microsoft.

Java doesn't have a one to one mapping between class files and JSPs. It does have the concept of separating HTML and logic via servlets, tags, EL, etc.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!