[jboss-as7-dev] workaround for AS7-659 (enable jsp dev mode)

Jason T. Greene jason.greene at redhat.com
Thu Dec 15 12:30:15 EST 2011


On 12/15/11 10:01 AM, Heiko W.Rupp wrote:
>
> Am 13.12.2011 um 12:01 schrieb jean-frederic clere:
>
>> On 12/12/2011 01:58 PM, Max Rydahl Andersen wrote:
>>> Hi,
>>>
>>> Since it does not look like AS7 will have automatic recompile of .jsp files as all other previous versions of AS before it I'm looking for ways to enable this more or less transparently at least for JBoss Tools users.
>>
>> Did you tried something like write-attribute:
>> +++
>> [standalone at localhost:9999 /]
>> /subsystem=web/configuration=jsp-configuration:write-attribute(name=development,
>> value=true)
>> {"outcome" =>  "success"}
>
> The description says
>
> "development" =>  {
>                  "type" =>  BOOLEAN,
>                  "description" =>  "Enable the development mode, which gives more information when an error occurs.",
>
> which is very different from what you guys just wrote .. Which is right (hint: fix the description string)?

Both are correct. Development mode enables jsp recompilation AND 
detailed error reporting.

-- 
Jason T. Greene
JBoss AS Lead / EAP Platform Architect
JBoss, a division of Red Hat


More information about the jboss-as7-dev mailing list