- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
@Autowired
private xxx abc;
protected void doGet(HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException {
doPost(request, response);
}
protected void doPost(HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException {
System.out.println("Inside the do Servlet!!!");
String pageId = request.getParameter("pageId");
abc.resetSessionVariables();
FatwireContent content=new FatwireContent();
abc.setFatwireContent(content);
System.out.println(abc.retrieveFatWireContent(
"xxxx", "xxxx"));
abc.getFatwireContent().setImportantinformation(
abc.retrieveFatWireContent(
"xxxx", "xxxx"));
abc.getFatwireContent().setMainlegalfootnote(
abc.retrieveFatWireContent(
"xxxx", "xxxx"));
abc.getFatwireContent().setMethodology(
abc.retrieveFatWireContent(
"RetirementAdvisorTool", "Methodology"));
abc.getFatwireContent().setThingstoImproveOutcome(abc.retrieveFatWireContent(
"xxxx", "xxxx"));
if (pageId != null && "Step1".equals(pageId))
response.sendRedirect("xxxx.faces");
else
response.sendRedirect("xxxx.faces");
}
以上代码仅在发布后第一次填充 fatwire 内容。在所有其他时间,我都可以看到 fatwire 内容被打印,但页面中没有任何内容。 fatwire 内容正在检索纯 html。和jsp编译生命周期有关系吗?
最佳答案
Logging the invoked managed bean action in a PhaseListener
在 Phase Listener 中添加了该方法,现在工作正常。
关于java - Fatwire 内容在发布后才第一次获得,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16940288/
此问题与 FatWire Content Server 版本 7.6 有关。 我有一个 FatWire 模板,它会遍历一些 Assets 并返回一些标记。大约需要 2 分钟才能完成。结果成功缓存在 F
@Autowired private xxx abc; protected void doGet(HttpServletRequest request, HttpServletResp
我想知道 Java 和 FatWire 之间的关系。 我知道可以使用 JSP 创建模板,但它是否涉及任何标准 Java 编程?另外,是否可以将其与 Spring 或 Grails 等 MVC 框架集成
我想允许我的网站的最终用户从服务器下载文件,我尝试使用经典方法,使用 2 个 jsp 文件: index.jsp: download the file 下载.jsp: 但是,它不适用于 Fatwir
问候, 我正在使用 FatWire CS,需要合并 Web 服务。 FatWire 有这方面的标签,但该系统之前的开发人员选择构建一个自主开发的解决方案,而不是使用 FatWire 提供的解决方案。现
我是一名优秀的程序员,十分优秀!