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

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

The new *AbstractServlet *works differently than *AbstractWebConsolePlugin* . 
It currently assumes that a POST request is not rendering the response, but 
rather does a redirect (new GET request).
I see that this might be very unexpected. I need to think about how we can 
handle this. The major difference between the old and the new abstract class is 
that all the internals have been removed from the new servlet - which prevents 
this case.

> 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