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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T14:37:10+00:00 2026-05-15T14:37:10+00:00

<action name=userLogin class=com.cc.ad.web.common.UserLoginAction> <result name=error>/user-login.jsp</result> <result name=redirect type=redirect>${retUrl}</result> <result name=customerRedirect type=redirect>${customerRedirect}</result> <result name=supplierRedirect type=redirect>${supplierRedirect}</result>

  • 0
<action name="userLogin" class="com.cc.ad.web.common.UserLoginAction">
    <result name="error">/user-login.jsp</result>
    <result name="redirect" type="redirect">${retUrl}</result>
    <result name="customerRedirect" type="redirect">${customerRedirect}</result>
    <result name="supplierRedirect" type="redirect">${supplierRedirect}</result>
    <result name="diamondViewRedirect" type="redirect">${diamondViewRedirect}</result>          
    <result name="supplierPopupRedirect" type="redirect">${supplierPopup}</result>
    <result name="customerPopupRedirect" type="redirect">${customerPopup}</result>  
</action>

Above I show one of many things written in my Struts XML file. Here nothing is define in the method attributes so I am confused about which method of UserLoginAction class is called when this action is called.

  • 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-15T14:37:11+00:00Added an answer on May 15, 2026 at 2:37 pm

    If method name is not specified in the action configuration, Struts will look for a method named execute by default.

    Struts 2.0 Action Configuration Doc

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

Sidebar

Related Questions

<form action=inc/login/login.php method=post id=userLogon> <div class=field required> Username: <input type=text name=regduser tabindex=1 /><br />
I have an action that relies on User.Identity.Name to get the username of the
I have this code: function submitTwice(f){ f.action = 'http://mydomain.com/threevideopage.php'; f.target='name'; f.submit(); } I left
I have written php script for user login but instead of displaying the result
I am developing a user login authentication, using jsp/servlets and glassfish v3. Basically the
I am correctly passing the action name from the Controller to the paging class
I have a login form from which the user enters user name and password.
In route, how to use a dynamic action name, like {action} in 1.x. Is
I'm seeing a case where Action.where(:name => fred).first_or_create is generating incorrect SQL when run
I have the following route: routes.MapRoute( Default, // Route name {controller}/{action}/{id}, // URL with

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.