1
@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 콘텐츠는 일반 html을 검색합니다. jsp compliation life cycle과 관련이 있습니까 ??Fatwire 게시 후 처음으로 콘텐츠 가져 오기