Discussion:
Command not found in Wepsphercommerce 6
(too old to reply)
Jaweed Ali jaweed
2006-11-18 02:49:45 UTC
Permalink
Hi

I am running the wc toolkit 6.0 and i made my controler command in the WebspherecommerceServerExtensionLogic and created a jsp page in CommerceAccelarator which in turn to submit to mycontroler command i also wrote mapping in struts-config file tha jsp page calls ok and displayed thru commerce accelarator but when i cubmit that page to mycontroler command it shows error Command Not Found Mycontroler.

Any Help....

Thanks
m***@ca.ibm.com
2006-11-20 17:41:44 UTC
Permalink
We have a tutorial in the information center specifically about creating controller commands:
http://publib.boulder.ibm.com/infocenter/wchelp/v6r0m0/topic/com.ibm.commerce.developer.tutorial.doc/tutorial/ttd13.htm

From the tutorial:

In general, creating a new controller command involves the following steps:

Register the new command in the command registry.
Create an interface for the command.
Create an implementation class for the command.
Create and loading access control policies for the command.
Test the command.
m***@ca.ibm.com
2006-11-20 17:44:21 UTC
Permalink
Not sure if you set up the access control for the command. The tutorial says:
You must specify access control policies for the new command.
p***@yahoo.com
2006-11-20 21:44:15 UTC
Permalink
check in the database whether you have registered the command in cmdreg and url reg . As you said you are submitting your jsp to command then you must have urlreg entry and a corresponding cmdreg entry in database


thanks
pravar

Loading...