/**
* Return the catalog singleton as HTML
*
* Forwards to serviceprovidercatalog_html.jsp to build the html
*
* @param serviceProviderId
*/
@GET
@Path("{someId}")
@Produces(MediaType.TEXT_HTML)
public void getHtmlServiceProvider(@PathParam("someId") final String someId)
{
ServiceProviderCatalog catalog = ServiceProviderCatalogSingleton.getServiceProviderCatalog(httpServletRequest);
if (catalog !=null )
{
httpServletRequest.setAttribute("catalog",catalog);
// Start of user code getHtmlServiceProvider_setAttributes
// End of user code
RequestDispatcher rd = httpServletRequest.getRequestDispatcher("/se/ericsson/cf/scott/sandbox/serviceprovidercatalog.jsp");
try {
rd.forward(httpServletRequest, httpServletResponse);
} catch (Exception e) {
e.printStackTrace();
throw new WebApplicationException(e);
}
}
}
ServiceProviderCatalogService.java 文件源码
java
阅读 36
收藏 0
点赞 0
评论 0
项目:scott-eu
作者:
评论列表
文章目录