Improve company productivity with a Business Account.Sign Up

x
?
Solved

simple struts-form problem

Posted on 2004-08-17
2
Medium Priority
?
247 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 100 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

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…

606 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