Hi all,
I'm a developer on the sourceforge xpetstore
project which aims to
show how to develop a full J2EE app with open
source tools. We
have currently developed a front end using struts
that talks to a
back end implemented in EJB. This is all done with
the aid of xdoclet.
Now we're trying to show an alternative. We want to
use webwork for the
frontend and replace ejbs with hybernate. We want
to continue to use
xdoclet for this.
However I'm a complete newbie to webwork and having
read the documentation
I'm still getting a bit confused.
Firstly, using xdoclet all you can build the views.properties file. This file seems to contain actions and associated views, for example:
# Action
views
myaction.action="">myaction.success=success.jsp myaction.error=error.jsp myaction.input=input.jsp myaction.add.action="">myaction.add.success=success2.jsp
myaction.add.error=error.jsp myaction.cmd2.action="">myaction.cmd2.success=success3.jsp myaction.cmd2.error=cmd2_error.jsp So this file seems to define all that is needed. Is
this the case? Do
I still need the actions.xml file? Do I need to
tell some other config
file that all I need is the views.propeties
file?
thanks very much,
Brian
|
- RE: [OS-webwork] Newbie questions Brian McSweeney
- RE: [OS-webwork] Newbie questions Jason Carreira
- Re: [OS-webwork] Newbie questions Brian McSweeney