[ https://issues.apache.org/jira/browse/FELIX-6646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17761176#comment-17761176 ]
Rakesh Kumar commented on FELIX-6646: ------------------------------------- But isn't in that case I need to add all the code which is present in {*}org.apache.felix.webconsole.AbstractWebConsolePlugin.doGet{*}? Because that renders the whole page including header, footer, navigation etc.? {code:java} protected void doGet( HttpServletRequest request, HttpServletResponse response ) throws ServletException, IOException { if ( !spoolResource( request, response ) ) { // detect if this is an html request if ( isHtmlRequest(request) ) { // start the html response, write the header, open body and main div PrintWriter pw = startResponse( request, response ); // render top navigation renderTopNavigation( request, pw ); // wrap content in a separate div pw.println( "<div id='content'>" ); renderContent( request, response ); pw.println( "</div>" ); // close the main div, body, and html endResponse( pw ); } else { renderContent( request, response ); } } } {code} > Plugin registered using AbstractServlet renders a blank page > ------------------------------------------------------------ > > Key: FELIX-6646 > URL: https://issues.apache.org/jira/browse/FELIX-6646 > Project: Felix > Issue Type: Bug > Components: Web Console > Affects Versions: webconsole-4.9.0 > Reporter: Rakesh Kumar > Assignee: Carsten Ziegeler > Priority: Major > > WebConsole v4.9.0 plugin registered using AbstractServlet renders a blank > page. > Earlier i was using > *AbstractWebConsolePlugin* as a base class and the implementation rendered a > form where user submits the form value and a POST is fired to the plugin > where plugin does some processing and set some variable in > DefaultVariableResolver and finally calls the doGet(which is in > AbstractWebConsolePlugin) to re-render the form again with populated values. > > This was working fine. > > But with version 4.9.0 the doGet of > {code:java} > org.apache.felix.webconsole.servlet.AbstractServlet{code} > is called which does not render anything, just shows a blank page. -- This message was sent by Atlassian Jira (v8.20.10#820010)