Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8344283
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T06:19:01+00:00 2026-06-09T06:19:01+00:00

In the execute method of the Struts Action class, we have the following four

  • 0

In the execute method of the Struts Action class, we have the following four parameters,
HttpServletRequest, HttpServletResponse, ActionForm, ActionMapping

Does this mean that any other protocol other than Http is not supported by STRUTS??? I wonder!

Also, in Struts v2.x we do not have these parameters embedded in to the execute method. Does it mean that Struts support all protocols from the Version 2.0?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T06:19:03+00:00Added an answer on June 9, 2026 at 6:19 am

    IN short it is not,Struts was developed to provide a better warpper around the way standard HTTP based web-application was being developed.

    Idea behind the framework was to make the development more easily and more flexible by taking away the complexities of the underlying HTTP protocol on which it was working.

    In core of the system even Strut use HTTP Request and Repose to perform its functions and other work for you.

    Update:
    Framework follow Servlet specification so it will for support ServletRequest request, ServletResponse response

    You asked about Struts2 signature so here is the answer for that, Struts2 provides a clean way to make your Action POJO based so as to make the testing easily that does not mean it not support Servlet specifications,

    Struts2 has cleaned the execute method signature so as to remove the underlying servlet dependencies on your Acton class but under the hood it uses set of interceptors to take away the HTTP complexities out of your action class and make it easy to go ahead to write unit test cases.

    Though Xwork which is core of S2 allow you to write standalone application but that is not very well publicize fact

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an abstract class with some methods,including an abstract method(Execute()).This method is overridden
My Action class have the following methods, 1.add 2.edit 3.loadEdit 4.remove 5.list 6.execute in
I Have following in my struts.xml file <action name=ProductVerification class=com.frontend.ProductVerification> <result name=success>/jsp/product_verification.jsp</result> <result name=input>/jsp/product_verification.jsp</result>
Hi I have something like this in struts.xml <action name=LoginAction class=controller.LoginAction> <result name=error>/Error.jsp</result> <result
I have a service class that I need to execute a method on a
I have the following action declared in my struts.xml: <action path=/updateAccountInfo type=org.myCompany.UpdateAccountAction name=myAccountForm scope=session
This is my struts.xml file. As you can see an action class and an
I have base class and Execute virtual method. I override execute method in derived
in struts 2 execute method is not called by default. I have HelloWorld.java as
I'm having an issue sending array parameters to a Struts 2 action class. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.