|
Hi. I'm a c# developer and I'm trying to learn Java and I have a question. In c#, you create a new .aspx file which which has a codebehind file, a .aspx.cs file. And in this .aspx.cs file, you can use code to access, for example, a dropdownlist created in the .aspx file and dinamically add a ListItem. How do I do this in Java? Because it seems to me that when you create a Facelet file, which I suppose its the equivalent to a .aspx file, theres no codebehind file automatically associated to it. Tks in advance.
(comments are locked)
|
|
A code-behind page in .net is basically server side code associated with a specific .aspx page. There are several ways of looking at this in Java. You could have a look at servlets, conceptually mapping this to server side Java code.
(comments are locked)
|