This is probably because you have Acegi protecting this resource.
Matt On 7/25/07, fadhli <[EMAIL PROTECTED]> wrote:
Hi everyone, Recently, I implemented DWR in my appfuse webapp. I had put the src javascript reference at default.jsp. It's the same place where the prototype and scriptaculous.js is place. The problem I'm facing right now is that when the user login and presses enter, the page will display http://localhost:8080/dwr/engine.js and display the whole engine javascript. But if user clicks on the button Login this behaviour doesn't happen. This happens in both Firefox and IE. The following is the code snippet where I put my dwr/engine.js src file <head> <%@ include file="/common/meta.jsp" %> <title><decorator:title/> | <fmt:message key="webapp.name"/></title> <link rel="stylesheet" type="text/css" media="all" href="<c:url value='/styles/${appConfig["csstheme"]}/theme.css'/>" /> <link rel="stylesheet" type="text/css" media="print" href="<c:url value='/styles/${appConfig["csstheme"]}/print.css'/>" /> <script type="text/javascript" src="<c:url value='/scripts/prototype.js'/>"></script> <script type="text/javascript" src="<c:url value='/scripts/scriptaculous.js'/>"></script> <script type="text/javascript" src="<c:url value='/scripts/global.js'/>"></script> <script type='text/javascript' src='/dwr/engine.js'></script> <script type='text/javascript' src='/dwr/util.js'></script> <decorator:head/> </head> here's the screenshot of what happened... http://img.photobucket.com/albums/v399/fadhlirahim/dwr-after-login.jpg -- /fadhli
-- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
