File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Struts 2   Ajax   Help with design Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply locked New topic

Struts 2 Ajax Help with design

Gazzali Zayn

Joined: Sep 01, 2011
Posts: 4
Hi Guyz

I have a form which has the following

Project Name: (select with 3 options)
Project hours: ( text)
Project Members text)
Project ID text)
also a submit button

Now when i select an option from ProjectName , My text for the rest (Project Hours, members and ID) should be dynamically populated(calls the action Class and then business service and then gets data from db and finally it is sent back).
I am using Struts2 framework.

now for this design how exactly should I continue. I thought AJAX was a good idea , I have downloaded struts2-dojo-plugin.jar and trying to work something with it (never tried this before ).

Please let me know your suggestions. What exactly should i do to get this done?

Thanks in Advance

I agree. Here's the link:
subject: Struts 2 Ajax Help with design
It's not a secret anymore!