What is the proper way to map an action directly to a view?
WebWork examples has one example of this, but it doesn't seem to work on
webwork 1.0.3:
jspaction.action=jspaction.jsp
jspaction.success=jspactionsuccess.jsp
jspaction.error=jspactionerror.jsp
This is the error message:
java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:190)
at com.evermind[Orion/1.5.4 (build 10585)]._cp._vnc(.:1569)
at com.evermind[Orion/1.5.4 (build 10585)]._cp._wxc(.:3891)
at com.evermind[Orion/1.5.4 (build 10585)]._cp._wkb(.:2068)
at com.evermind[Orion/1.5.4 (build 10585)]._co._wbb(.:449)
at com.evermind[Orion/1.5.4 (build 10585)]._co._fs(.:189)
at com.evermind[Orion/1.5.4 (build 10585)]._bt.run(.:62)
So it seems like webwork is trying to load a class that doesn't exists.
--
I will checkout new version from CVS and hope that the problem is fixed
there.
And I'm using Velocity... can I use the method above with Velocity also.
Why would I like to use actions instead of directly mapping to jsp or vm
file? The main reason is that I can change the logic behind the scenes
and is I want to do something more, then I just wrote an action class
and the links are still valid, so I do not have to modify other files.
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
_______________________________________________
Webwork-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webwork-user