Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Struts
Dojo is undefined - Struts 2
chiru capri
Greenhorn
Posts: 2
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
While
testing
Struts
2 build 11 with dojo for ajax I am getting
'Dojo' is undefined error
. I have verified the filter mapping and it is
<filter-mapping>
<filter-name>MyProj</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping
Error in IE -
"
Message: 'dojo' is undefined
Line: 22
Char: 1
Code: 0
URI:
http://qqqq.xxxx.com:9081/MyProj/struts/simple/dojoRequire.js
"
need urgent help please
Joachim Rohde
Ranch Hand
Posts: 433
I like...
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Maybe this
thread
helps:
https://coderanch.com/t/420595/Struts/Struts-Dojo-dojo-undefined-error
David Newton
Author
Posts: 12617
I like...
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Did you include the <s:head> tag? Including the page that's causing the error is usually pretty helpful, otherwise we're just guessing.
chiru capri
Greenhorn
Posts: 2
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Yes I did that ...but still its giving the issue
Is there any configuration that needs to be done based on OS?
I tested the application on Windows it was working but when I deployed the EAR on AIX it started troubling me. Any specific set-up of configuration that has to be taken care?
David Newton
Author
Posts: 12617
I like...
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
You'll have to provide more information. What server, what servlet/jsp version it supports, the
JSP
, the complete struts.xml, and so on.
I can't read your, or your computer's, mind.
Not looking good. I think this might be the end. Wait! Is that a tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Filter Chain: Standard Filter Strategy
Order of Filter Execution
Struts2 struck with a issue of 404
The Struts dispatcher cannot be found error
Struts DOJO on WAS6.1 giving File Not Found Errors
More...