[ 
https://issues.apache.org/jira/browse/FELIX-6646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17761174#comment-17761174
 ] 

Carsten Ziegeler commented on FELIX-6646:
-----------------------------------------

[~rakeshk15] I committed a potential solution in the http-4.x branch: 
https://github.com/apache/felix-dev/tree/http-4.x
Instead of invoking doGet from your doPost method, you let it just return and 
then AbstractServlet will call doGet in your servlet. Could you maybe give this 
a try?

> 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)

Reply via email to