Solved

simple struts-form problem

Posted on 2004-08-17
2
229 Views
Last Modified: 2010-03-31
My Action-Mapping in struts-config.xml is as follows:

<action-mappings>

<action  attribute="registerMaskForm" input="/jsp/RegisterMaskList.jsp" name="registerMaskForm"      path="/registerMask"      scope="request" type="de.grassgmbh.calender.action.RegisterMaskAction" unknown="false" validate="true">

<forward name="r_success" path="/jsp/ShowList.jsp" redirect="false" contextRelative="false" />
</action>

</action-mappings>

However, if i submit, the /jsp/RegisterMaskList.jsp, it goes to /registerMask.do   ( condition "r_success"works fine )

It should go to /jsp/ShowList.jsp

What might be the problem ? Any ways to trace out tht porblem ?

Thanks.
0
Comment
Question by:sangeetha
2 Comments
 
LVL 35

Accepted Solution

by:
TimYates earned 25 total points
ID: 11821619
<forward name="r_success" path="/jsp/ShowList.jsp" redirect="true" contextRelative="false" />
0
 
LVL 2

Author Comment

by:sangeetha
ID: 11828807
Still the problem exists. I have explanined my problem in detail with 500 points here.

http://www.experts-exchange.com/Programming/Programming_Languages/Java/Q_21097832.html

thanks.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
hash value 2 39
Performance issue while iterating with streams 5 40
JAVA part two 5 42
unix in java example 9 43
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

744 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

12 Experts available now in Live!

Get 1:1 Help Now