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 912209
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T17:20:30+00:00 2026-05-15T17:20:30+00:00

The below piece of code was written in struts-config file.but i am not able

  • 0

The below piece of code was written in struts-config file.but i am not able to understand it.

   <action path="/showWelcome"
            type="com.code.base.presentation.struts.actions.StrutsIoCAction"
            name="LoanDetailPageLoadForm"
            parameter="GET_WELCOME_PAGE"
            input="welcomePage"
            validate="false"
            scope="request">
        <set-property property="requestDTOKeyName" value="ItemDataRequest" />
        <set-property property="responseDTOKeyName" value="ItemDataResponse" />
        <set-property property="exceptionDTOKeyName" value="ProfileSekerException" />

        <set-property property="businessServiceId" value="ItemsDataMgmtService" />

        <forward name="success" path="welcomePage" />
        <forward name="failure" path="sysError" />
    </action>

My question is

  1. what is the usage of path attribute?
  2. what is the usage of parameter attribute?
  3. what is the usage of input attribute?
  4. what is the usage of <set-Property>?

Help me guys on this.

Note:
as per my understanding there should be “showWelcome.jsp” page in the application but it is not there.(then what is use of that?)

  • 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-05-15T17:20:30+00:00Added an answer on May 15, 2026 at 5:20 pm
    1. It specifies where the action is mounted. For example, this action would respond on http://yourservice.dom/showWelcome.
    2. Parameter is the string you get by calling ActionMapping.getParameter(). Any string you want to pass to your action.
    3. Input is a path where the user would be redirected if he fills the form incorrectly. As there’s validate=false, I’d say that would never happen.
    4. Obviously, it sets a property on com.code.base.presentation.struts.actions.StrutsIoCAction. I think it calls setter, i.e. it would call setRequestDTOKeyName(), setResponseDTOKeyName() etc.

    But if you’re going to use struts for a considerable time, QA won’t get you far, read some docs on struts’ config file.

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

Sidebar

Related Questions

I really can't understand how the below piece of code is working... options.each {
I've an external DLL written in C++. The piece below declares a struct type
I have below piece of code in my actionscript file (defined in a function)
I am looking for optimisation ideas regarding the below piece of code written in
Below is a piece of code I have written in C and in-line assembly
Please do not beat me a lot of code that is written below. var
In the below piece of code, theta x and y are varying smoothly for
I have a piece of code (below) that can get the text of an
Firstly sorry for the long piece of code pasted below. This is my first
Answer solved in edit below I had this piece of code Dictionary<Merchant, int> remaingCards

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.