Struts2 vs JSF

2006-11-15 Thread frankiestd168
There is a lot of comparison between Strusts 1.x and JSF, for example, this article.. http://websphere.sys-con.com/read/46516.htm Some of the developers prefer to use JSF more. (component oriented..) Surely, now Struts2 has a lot more improvement + Webwork2, Is there any comparison between Stru

Struts2, "model-driven" interceptors

2006-11-08 Thread frankiestd168
this is a question for Struts2 interceptors.. I saw some examples, the action class implements ModelDriven, So this function is added in action class: public Object getModel() { return user; } Then jsp can directly access the properties of the User object. Beside this, what is the ben

Velocity vs FreeMarker

2006-11-01 Thread frankiestd168
I'm not sure if I understand correctly.. In Struts2 documents & sample code, it mentions Velocity and FreeMarker, both can be used as a template,(i.e. *.vm and *.ftl ) Any suggestion, which is better? I'm new to Struts2, so, a little confuse what to learn first? i am following this example..

Struts2 set data to session

2006-10-30 Thread frankiestd168
Before in Struts1, I can set data to session/request in action class, then display it in jsp.. In action class: request.setAttribute("aName", "aValue"); request.getSession().setAttribute("bName, ""bValue"); then display value in jsp: <%= (String)request.getAttribute("aName") %> <%= (Strin

Struts2 runs in Eclipse

2006-10-24 Thread frankiestd168
Hi all, Is there any tutorial for setting up Struts2 webapps in Eclipse? sorry, i'm new to Eclipse, and Struts2.. really have no clue..help..pls.. thx. -- View this message in context: http://www.nabble.com/Struts2-runs-in-Eclipse-tf2504256.html#a6981946 Sent from the Struts - User mailing li

Re: Struts2 Showcase Example and Eclipse

2006-10-24 Thread frankiestd168
Hi, After reading this message, I got further question… http://www.nabble.com/Struts2-Showcase-Example-and-Eclipse-tf2468025.html I am new to Eclipse, and Struts 2, Here trying to run/debug the application within Eclipse with JBoss, I downloaded the Struts 2 sample src, C:\\struts-2.0.1\src\a

Struts 2 vs Struts 1.3

2006-10-23 Thread frankiestd168
Hi all Struts experts, Do you mind if you can suggest me to use Struts 2 or Struts 1.3 as a flamework.. I have some experience on Struts 1.2 before, and now I'm starting a new project, and I found that Struts 2 (Webwork 2) is newly released, they have lot of features.. but it's pretty new, not t