facebook

Struts enablement for other than form

  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #246221 Reply

    I’ve implemented the struts login tutorial and that works fine. However, I do not see a way to struts enable other kinds of input (other than a form). For instance, how could a radio button be struts enabled? When right clicking on the design view (struts-config.xml) there is a really nice option (new –> form,action,jsp ) but I don’t see any struts options for other kinds of user input.

    #246237 Reply

    Riyad Kalla
    Member

    ivana,
    Your Form is your bean that stores the state of your controls, wether they are buttons, radio buttons, check boxes, drop downs, selection boxes, etc.

    Any of these should help clarify how to develop with Struts:
    http://www.google.com/search?q=struts+tutorial&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-US:official

    #246250 Reply

    I have read these other tutorials (demystifying in particular I found quite mystifying) but they do not address my question. If I right click on the design view of struts-config.xml and click on new and select “form,action,jsp” (I want to get my input, my action, and my jsp all created and struts connected etc.) I am presented with dialogues which result with html form only, I mean, there is no way that I can see to get this wizard behavior with anything other than html form.

    #246255 Reply

    Hold on! Please excuse me for the previous post. I went over it again and now see that I overlooked JSP Input type which lists checkbox and other types. I will experiment with this and see if I can get the 3-wizard combination to work for other than just form. Please excuse my oversight on this problem.
    Thanks for the help.
    JD

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Struts enablement for other than form

You must be logged in to post in the forum log in