I am trying a very simple Ajax call in jsp but I cannot get it to
work..delaying my friday beer session:)
I have <s:head/> 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
What I am missing? Going through the past posts I have found out that most
of the fixes are present in 2m5. But I must be missing something!
Arvinder
--
View this message in context:
http://www.nabble.com/DOJO-problem-in-struts-basic-2m5-tf4120841s2369.html#a11719545
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]