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

  • Home
  • SEARCH
  • 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 6022661
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T03:53:22+00:00 2026-05-23T03:53:22+00:00

I am following the struts 2 framework and using the JBoss server to deploy

  • 0

I am following the struts 2 framework and using the JBoss server to deploy my application.
I came through this strange behaviour. Please explain it.

i have the following mapping in my struts.xml

<action name="Request" class="InboxAction">
<result name="success">/jsp/requestinbox.jsp</result>
<result name="none">/jsp/requestoutbox.jsp</result> 
</action>

On my local machine when i run my application. If the result name is “success” the respective requestinbox.jsp is invoked and if the result is “none” the requestoutbox.jsp is invoked.

But when i deploy it in my JBoss server, requestinbox.jsp is displayed when the result is “success”. But if the result is “none” I am getting a blank page.

I removed the content from the requestoutput.jsp page and replaced with the following line “This is a test” and then I ran my application i was able to see the above line “This is a test”.

I tried restarting the JBoss server but no luck. Please tell me the problem and a possible solution.

Thanks in advance..

  • 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-23T03:53:23+00:00Added an answer on May 23, 2026 at 3:53 am

    If you can see the “test” text then your configuration must be right.
    I’d say there could be some problems with your values on valuestack. Make sure you have provided proper getters and setters for your action and also check the tags in your page to see if values being referred are actually exposed. That’s what I would check first.

    Edit for comment

    <s:iterator value='listToDiplay'>
        "... whatever you do with values ..."
    </s:iterator>
    

    You need to expose the listToDisplay with a getter method like:

    public List getListToDisplay(){
        return listToDisplay;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using Spring and struts and have the following entry in '/META-INF/context.xml' <Context cachingAllowed=false
I am using display tag in portals(Struts Portal Framework) deployed in websphere portal, using
I am following the Struts 2 Tutorial - Using Struts 2 Tags So far
I'm using Spring and struts and have the following entry in 'C:/source/webapp/WebContent/META-INF/context.xml' with tokens
I am using Struts + Velocity in a Java application, but after I submit
I have the following environment set up: Java 1.5 Sun Application Server 8.2 Oracle
I am developing a medium size Java Web Application with Struts as MVC framework
I have devoloped a Struts 2 web application. For running it on a server,
I am using struts and hibernate in my problem. I tried the following query
i was following the guide http://appfuse.org/display/APF/Using+Struts+2 to make a simple appfuse site, but 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.