Struts and DWR

Posted on 2006-05-15
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
    LVL 11

    Expert Comment

    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.
    LVL 3

    Author Comment

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

    see this link

    A creator is already supplied for struts...

    LVL 11

    Accepted Solution

    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.
    LVL 4

    Expert Comment

    LVL 4

    Expert Comment


    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    form submissions on a web page 2 134
    Fisheye tool 2 96
    Set up Wildfly 10 8 280
    eclipse luna javeEE perspecive missing 5 58
    ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
    This paper addresses the security of Sennheiser DECT Contact Center and Office (CC&O) headsets. It describes the DECT security chain comprised of “Pairing”, “Per Call Authentication” and “Encryption”, which are all part of the standard DECT protocol.
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    729 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

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now