Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Code-behind for JSPs

Status
Not open for further replies.

nomailer

Programmer
Jan 16, 2004
3
AT
Hi,

is there any framework, which provides a code-behind feature like in .NET for JSPs.

And if not, why?

Thanks a lot!
 
Hi,

I donot have much Idea about the .NET, If you are looking for a Famework that gives the facility of code-behind you can make use of jakarta-struts. Which uses the Java, Servlets, JSP, XML and JSP Tag library to the best use. I think it is as good as .NET

Cheers,
Venu
 
Arrrggggggggggghhhhhhhhhhhhhh .....

Stay away fom Struts - its a bloated, over complicated windy framework !

( Sorry venur, I know you're a fan :0) )
 
Hi,

I know Struts, but I am searching for something like the "code-behind" in .NET.

Or is there no need for it?

MVC "in" Struts is good, but there are a lot of xml files, and if there is a mistake in it, everything "goes wrong".

Does anyone know such a "code-behind" for Java or a good pradigm or web application framework?

Thanks!!!
 
Can you explain "code-behind" - we don't know what it means ?!!
 
Hi,

code-behind means, that you can program it like a "normal program". You define the layout and in "another file" (not really, but...) you define your reaction on events.

like:

<asp:button .... bla bla

and in the &quot;code-behind&quot; you have things like
void button1_onClick(...) {
// do something
button1.caption=&quot;....&quot;;
}

It`s a really &quot;small&quot; explanation, but I hope you understand what I mean. (see code-behind --> .NET).

Is there something like this in Java/JSP or is there such a web application framework, or such a thing?

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top