Finally solved the issue.  I had to remove "/dwr/*" from the static filter
include section in web.xml.



dobber1134 wrote:
> 
> I already had allowScriptTagRemoting set to true and I tried setting
> crossDomainSessionSecurity to false.  Nether of these settings worked.  I
> removed allowScriptTagRemoting (since the default is true) and I no longer
> get the "throw 'allowScriptTagRemoting is false.';" but I still get the
> "contentType has no properties" log error on the client side.  I've posted
> this on the dwr mailing list with no response yet.
> 
> Any one have thoughts?  Much appriecated.
> 
> Jeremy
> 
> 
> Mats Henricson wrote:
>> 
>> Just a thought - could it be something about allowScriptTagRemoting or
>> crossDomainSessionSecurity described here:
>> 
>> http://getahead.org/dwr/server/servlet
>> 
>> IIRC, these things were changed very late in the 2.0 release cycle, since
>> Joe
>> considered it to be a grave security issue.
>> 
>> Mats
>> 
>> On 10/1/07, dobber1134 <[EMAIL PROTECTED]> wrote:
>>>
>>>
>>> More information:
>>>
>>> - Using the struts2 archetype.
>>> - DWR was working perfectly before the upgrade
>>> - The java method is indeed getting called by DWR
>>> - DWR writes out "throw 'allowScriptTagRemoting is false.';" in the
>>> response even though the parameter is set to true.  This causes DWR to
>>> "throw" an error on the client side.
>>> - I have updated web.xml to include "/dwr/*" in the staticFilter filter
>>>
>>>
>>> dobber1134 wrote:
>>> >
>>> > I am having the exact same error after the upgrade from 2.0rc1 to 2.0.
>>> >
>>> >
>>> >
>>> > mraible wrote:
>>> >>
>>> >> If I can reproduce the problem, I should be able to fix it.
>>> >> Unfortunately, I can't reproduce your problem. ;)
>>> >>
>>> >> Matt
>>> >>
>>> >>
>>> >> On 9/24/07, J. David Mendoza R. <[EMAIL PROTECTED]> wrote:
>>> >>> I'm using it with the struts 2 framework... as a workaround to dojo,
>>> >>> I'll
>>> >>> give dojo another try, cause I couldn't make it work with dwr... I'm
>>> >>> using a
>>> >>> 2.0m5 release for now...
>>> >>>
>>> >>> Thanks...
>>> >>>
>>> >>> David M.
>>> >>>
>>> >>
>>> >>
>>> >> --
>>> >> http://raibledesigns.com
>>> >>
>>> >> ---------------------------------------------------------------------
>>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>>> >>
>>> >>
>>> >>
>>> >
>>> >
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Problems-in-2.0-with-dwr-tf4502979s2369.html#a12987704
>>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Problems-in-2.0-with-dwr-tf4502979s2369.html#a13007422
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to