action mappings and the input attribute in Struts

Posted on 2006-04-21
Last Modified: 2012-08-13
I have the following Struts action mapping:


and based on this mapping I invoke my application:


The index.jsp in the URL above seems to be used since index is set to "/index.jsp".  Is there a way that I can use something like helloThere instead of index.jsp by making a change or addition in the struts-config.xml file?  Also what is the purpose/definition of the input attribute in the action tag?

Thanks, J.
Question by:jwright9
    LVL 19

    Accepted Solution

    what input attribute does is when validate fails, you know where to go back.
    so input gives the value to let struts framework know where to go back when something is wrong during the validation.
    LVL 19

    Expert Comment

    >>Is there a way that I can use something like helloThere instead of index.jsp
         sure, as long as it directs a valid URL or page.

    Author Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Suggested Solutions

    Great sound, comfort and fit, excellent build quality, versatility, compatibility. These are just some of the many reasons for choosing a headset from Sennheiser.
    Digital marketing agencies have encountered both the opportunities and difficulties that emerge from working with a wide-ranging organizations.
    This video discusses moving either the default database or any database to a new volume.
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now