If that's the first error on the log, then it would mean that the
dojo.jsfile is not getting loaded, you can verify that with the
Firefox Web Dev
toolbar or firebug.

musachy

On 7/21/07, arvinder <[EMAIL PROTECTED]> wrote:


I am trying a very simple Ajax call in jsp but I cannot get it to work
I have <s:head theme="ajax" debug="true"/> in head and following in my jsp
body

    <s:url id="ajaxText" value="ajaxSili.html"/>

    <!-- Div where content will be displayed -->
    <s:div theme="ajax" id="t1" href="%{ajaxText}">
        loading content...
    </s:div>

My ajax action is spitting some static content, but I never get that on
this
page, but if I type in the action directly in browser the content is
displayed.
Firefox throws up following errors in the former case
dojo is not defined
http://localhost:9090/silitrucker/struts/simple/dojoRequire.js
dojo is not defined
http://localhost:9090/silitrucker/struts/ajax/dojoRequire.js

I must be missing something very basic!
Arvinder

--
View this message in context:
http://www.nabble.com/DOJO-problem-in-struts-2.0.6-tf4120974.html#a11719902
Sent from the Struts - User mailing list archive at Nabble.com.


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




--
"Hey you! Would you help me to carry the stone?" Pink Floyd

Reply via email to