[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Struts and DWR

Posted on 2006-05-15
Medium Priority
Last Modified: 2008-01-09

I want to integrate DWR and struts. The website states that they have something called the Struts-Creator. The problem is I can't find any help other that setting it in the web.xml. Any help would be appreciated...
Question by:el_dios
  • 2
  • 2
LVL 11

Expert Comment

ID: 16688407
I don't think there is a direct way of using DWR with struts. But u can create "creators" like follows

You can use struts form bean for creators. I have not done DWR in details, but will do in the coming days. Can't help much at the moment in integration of DWR with struts.

Author Comment

ID: 16690256
>>I don't think there is a direct way of using DWR with struts

see this link http://getahead.ltd.uk/dwr/server/struts

A creator is already supplied for struts...

LVL 11

Accepted Solution

fargo earned 1000 total points
ID: 16690312
exactly. I also gave the link for creator. But the thing is u cannot directly call an action, because then handling of actionforward cannot be proper. Lines from your link "but it does not allow you to share actions between DWR and Struts." So, you can very well extract the logic from your action classes to some DAO and call them directly using DWR.

Expert Comment

ID: 20852316

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Often times it's very very easy to extend a volume on a Linux instance in AWS, but impossible to shrink it. I wanted to contribute to the experts-exchange community a way of providing a procedure that works on an AWS instance. It can also be used on…
Moore’s Law has proven itself time and time again since it was first introduced. So what’s next? Will Moore’s law continue to remain relevant, or will new technology take over and bring us the next big advancement in computing?
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

868 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question