有没有办法在 websphere commerce CmdImpl 类中获取 url 参数。我正在尝试这样
SmartDataBeanImpl bean = new SmartDataBeanImpl();
HttpServletRequest request = bean.getHttpRequest();
String currencyId = request.getParameter("currencyId");
但我在第 3 行得到了 NullPointer 异常