Invoking Controller Commands From Store JSP
Maybe your like
Tuesday, 21 April 2015
Invoking Controller Commands from Store JSP
WCS business logic layer provides various artifacts like Controller Commands, SOI Services, BOD (SOA) Services and REST Services to execute business logic. These commands and services can be invoked from view layer (For ex: Web Store) using Struts, JSTL tag libraries and WCS framework. Struts is used for managing view – controller interaction. In this post we will see how to invoke controller command from a Store JSP. Assume you have created a custom command implementation com.mycompany.MyOrderItemAddCmdImpl for com.ibm.commerce.orderitems.commands.OrderItemAddCmd, to add an item to shopping cart. The list below provides high level steps required to invoke this custom command from one of the Store JSP (with StoreId = 10001)- Register this command in CMDREG table by executing following insert statement.
- Update struts-config-ext.xml in Stores.war/web-inf folder with following entry
- You can now POST form from JSP to below URL, by setting action attribute of form to /MyOrderItemAdd.
No comments:
Post a Comment
Newer Post Home Subscribe to: Post Comments (Atom)Total Pageviews
About Me
Guruprasad View my complete profileBlog Archive
- ► 2016 (1)
- ► June (1)
Tag » Com.ibm.commerce.struts.base Action Execute View Cmn0203e Command Not Found
-
CMN0203E: Command Not Found: Com.yment ...
-
Transaction Serve Error After Struts 2 Migration
-
Struts 2 Configuration File Changes - HCL Product Documentation
-
Access Control For New Views In WC 6? - Narkive
-
0907 Callaghan-pdf - StudyLib
-
CMN0420E Websphere Commerce Error - Stack Overflow
-
Update WebSphere Commerce Struts Configuration Files For Web ...
-
Composer: Command Not Found (WebSphere Forum At Coderanch)
-
[PDF] IBM 000-723 IBM WebSphere Commerce V7.0 Application ...
-
Commerce学习摘要(基础部分) - CSDN博客
-
Agenda. Brief Introduction To Feature Pack 3+ SEO Troubleshooting ...
-
Action Configuration - Apache Struts
-
Adding A View And ACP Entry Queries - Websphere Commerce
-
[PDF] Struts Survival Guide