Post your strus-config mapping piece for this action and action class name (actual name). It's evident that there is something wrong with mapping name (typo), which is not matching with action class name.

Originally posted by Himanshu Rawat: Hi, i m getting this error...

message: No action instance for path /library could be created

description: The server encountered an internal error (No action instance for path /library could be created) that prevented it from fulfilling this request.

i have given action mapping in struts-config.xml file bt still its givin me error...can nybody tell me how to resolve this...

Hey Mote, Try this. Change your action name from /library to /something/library and make according changes. Can't give any proper explanation for this. But this may work. Also are you using DispatchAction? If yes send the JSP file also. Asty

Himanshu Rawat
Ranch Hand

Joined: Nov 27, 2005
Posts: 141

posted Mar 28, 2006 02:21:00

0

hi asthana,

I am actually working on CVS and its working on 1 system bt nt working on other system. why so?? when code is same!!!.

I am using jsp struts 1.1 (<html:form action="form name" bla blaaa> so eveyrthing is inside in that form tag. and on cliking it , is going to appropriate ActionForm....

If it works on one system but not another I would first try to identify the difference between the two systems. Are you deploying your application as a war file or ear file?

When do you get the error message? Is it when your first page is displayed, or when you click the submit button?

- Brent

Himanshu Rawat
Ranch Hand

Joined: Nov 27, 2005
Posts: 141

posted Mar 29, 2006 00:33:00

0

hi, i m deploying it as exploded war file. I am not getting error on first page. First page is displayed but when i click on some hyperlink(which goes to some action class) then it gives me error. moreover its givin me error on every link...

finally i was able to solve the problem...the problem was of build path.if u r deploying application from eclipse then make sure to check build path.There should be no errors in that. If there is error in ny build path(like missing jar file) then in classes folder eclipse inside workspace ,ecipse will nt creat ny classes and therefore i was getting that error..cos there was no classes inside that folder...nyways stupid mistake i've done...took lot of time....