This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Struts and the fly likes DWR with Struts.... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "DWR with Struts...." Watch "DWR with Struts...." New topic
Author

DWR with Struts....

Gaurav Rawat
Greenhorn

Joined: Apr 26, 2006
Posts: 10
I tried to work with DWR with struts ,as per the integration shown at web page but still the config isn't working .Also didn't find any releavant example of struts with dwr using the struts creator ..
My config goes like:--

though when running it produces an error as 21:20:39,661 ERROR [DefaultCreatorManager] Error loading class for creator 'Stru
tsCreator[submitData]'.

Please help me on the same ,or refer to an example of the same if there ...

thanks in advance ...
Gaurav


SCJP 1.5 <br />SCWCD preparing...
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
I've used DWR extensively in Struts appliactions, and frankly I never found any use for the Struts creator. It just offers you the ability to use AJAX to call methods on your ActionForm bean. Since Struts tags already have access to the ActionForm bean, why do you need AJAX access to it? I'd suggest using the "new" creator, and just use a Plain Old Java Object (POJO) with methods that DWR can call through AJAX to do whatever it is you need to do.


Merrill
Consultant, Sima Solutions
Gaurav Rawat
Greenhorn

Joined: Apr 26, 2006
Posts: 10
Thanks Merrill ...just wasted a long time pondering how to use the strutscreator ,ya rightly said it makes more sense to work arounf a POJo and implement ajax,....

cheers !
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DWR with Struts....
 
Similar Threads
DWR questions
integrate DWR with struts
JSP with DWR.XML
DWR Security Exception
DWR; javascript files not found