• 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
Marshal
Posts: 37181
515
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!