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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T07:01:36+00:00 2026-05-26T07:01:36+00:00

This is my struts.xml <struts> <include file=example.xml/> <constant name=struts.devMode value=true /> <package name=register namespace=/register

  • 0

This is my struts.xml

<struts>
  <include file="example.xml"/>

  <constant name="struts.devMode" value="true" />

  <package name="register" namespace="/register" extends="struts-default,json-default">
    <action name="Registration"  class="example.Registration">
      <result name="success">/SucessPage.jsp</result>
      <result name="input">/UserData.jsp</result>
    </action>

    <action name="validateEmailValue" method="validateEmailValue" 
            class="example.Registration">
      <result type="json"/>
    </action>
  </package>
</struts>

in jsp page

<s:form action="http://localhost:8080/MyRegistrationProject/register/Registration" 
        name="data" validate="true"> 

it validate data but in my action class there are do method execute and validateEmailValue

I have make ajax call using getjson

$.getJSON("http://localhost:8080/MyRegistrationProject/register/validateEmailValue",
    { email:emailId },
    function(data) { alert("success") }
);

When I make call for validateEmailValue it gives following error

No result defined for action example.Registration and result input

Any Insight? Thanks

  • 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-26T07:01:37+00:00Added an answer on May 26, 2026 at 7:01 am

    I believe you implemented validate() in your action class example.Registration right?

    Even though you specified to call the method validateEmailValue() on your action validateEmailValue, it will first run validate() and check if the validation succeed, and will forward the page to INPUT result if validation failed.

    Since your validateEmailValue action do not have a INPUT result declared, system throw the error you saw.

    Try adding the INPUT result to your validateEmailValue action and see what is shown.

    <result name="input" type="json"/>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

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>
This is my struts.xml file. As you can see an action class and an
I have this configuration in struts.xml <action name=updateAction class=it.myApp.action.ajax.UpdateActionAction> <result name=success type=json/> <result name=error
In my Struts-config.xml file, <action path=/getTareWeight type=com.astrazeneca.usbod.scale.actions.GetTareByBarcodeAction name =getTareByBarcodeForm scope=request validate=true input=/jsp/getTareByBarcode.jsp> <forward name=success
Taking this article on classes and structs as an example: http://msdn.microsoft.com/en-us/library/ms173109.aspx namespace ProgrammingGuide {
Does Apache Tiles have a devMove like Struts that would reload the tiles.xml file
I am using <s:form action=someAction> my struts.xml contains <action name=someAction class=com.test.testaction.getValue method=getValuedemo> <result name=success
I've below entries in struts.xml <action name=download method=download class=com.pqr.myaction> <result name=error type=redirectAction>callme</result> </action> <action
This is my struts config file : The root of my project is StrutsProject
I have some code within struts.xml like: <action name=viewApplicationPDF class=com.xxx.abc.web.action.XApplicationPDFAction> <result name=success>/WEB-INF/templates/xApplication.jsp</result> </action> 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.