java.lang.IllegalArgumentException: The path of an
ForwardConfig cannot be null
while working with struts it displayed
pls very ungent

Answers were Sorted based on User's Feedback



java.lang.IllegalArgumentException: The path of an ForwardConfig cannot be null while working wit..

Answer / prashant rajput

You may get this error because of your corresponding Form,
if you have handled ActionErrors validate method.

Is This Answer Correct ?    36 Yes 4 No

java.lang.IllegalArgumentException: The path of an ForwardConfig cannot be null while working wit..

Answer / chandu

check for input attribute in action tag

Is This Answer Correct ?    23 Yes 0 No

java.lang.IllegalArgumentException: The path of an ForwardConfig cannot be null while working wit..

Answer / sasmita

You need to add validate="false" if you don't want
validation for that particular action or you can add
input="current.jsp" attribute for that particular action.

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More Servlets Interview Questions

What are the types of protocols supported by httpservlet ?

1 Answers  


Why setMaxAge() and getMaxAge() methods are used in Cookies?

2 Answers  


What are the functions of Servlet container?

1 Answers  


What’s the use of the servlet wrapper classes??

1 Answers  


List out difference between a JavaBean from a Servlet?

1 Answers  


Can we use threads in Servlets?

1 Answers  


what are the disadvantages of cookies?

8 Answers  


How can the session in servlet be destroyed?

1 Answers  


Is Servlet Class Thread safe?????? How to make servlet Thread safe ???

4 Answers   Cognizant,


Can we use javascript in Servlets?

2 Answers   Wipro,


What is the major difference between context parameter and context attribute?

1 Answers  


A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?

1 Answers  


Categories