Struts Requests

Posted on 2012-08-15
Last Modified: 2012-08-16
I was reading about struts as follows. I was not clear on these statements.

request sent from the browser do not contain any data, then no need
to write formbean, action class. We just have to define an action mapping in the
configuration file with information sufficient for the controller to take care of the

>>>How we send browser request without any data

 request does include data, then we must write an action class.
>>>How to send request with data without HTML form

If the data comes by submitting a HTML form, then we also need to write a formbean class.

>>> why we need formbean if data comes from HTML form

Otherwise, no form bean is required.
>>> What is this scenario

Any ideas, suggestions, sample code, links, source code highly appreciated. Thanks in advance
Question by:gudii9
    1 Comment
    LVL 20

    Accepted Solution

    From where you read this thing. Can you please share it to understand the context?


    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
    Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
    Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
    This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

    755 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

    21 Experts available now in Live!

    Get 1:1 Help Now