| Line 2... |
Line 2... |
| 2 |
|
2 |
|
| 3 |
import in.shop2020.serving.services.SpecialPageConfigurer;
|
3 |
import in.shop2020.serving.services.SpecialPageConfigurer;
|
| 4 |
import org.apache.struts2.dispatcher.mapper.ActionMapping;
|
4 |
import org.apache.struts2.dispatcher.mapper.ActionMapping;
|
| 5 |
import org.apache.struts2.rest.RestActionMapper;
|
5 |
import org.apache.struts2.rest.RestActionMapper;
|
| 6 |
|
6 |
|
| - |
|
7 |
/**
|
| - |
|
8 |
*
|
| - |
|
9 |
* @author rajveer
|
| - |
|
10 |
*
|
| - |
|
11 |
* Saholic mapper will allow us to dynamically map the urls with action. We will be able to create the pages dynamically in cms.
|
| - |
|
12 |
*/
|
| 7 |
public class SaholicMapper extends RestActionMapper{
|
13 |
public class SaholicMapper extends RestActionMapper{
|
| 8 |
|
14 |
|
| 9 |
@Override
|
15 |
@Override
|
| 10 |
public org.apache.struts2.dispatcher.mapper.ActionMapping getMapping(javax.servlet.http.HttpServletRequest request, com.opensymphony.xwork2.config.ConfigurationManager configManager){
|
16 |
public org.apache.struts2.dispatcher.mapper.ActionMapping getMapping(javax.servlet.http.HttpServletRequest request, com.opensymphony.xwork2.config.ConfigurationManager configManager){
|
| 11 |
ActionMapping mapping = super.getMapping(request, configManager);
|
17 |
ActionMapping mapping = super.getMapping(request, configManager);
|