A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Problem regarding Struts and Dojo integration
Joined: Aug 31, 2007
Jan 14, 2008 01:15:00
I am using .jsp pages for my
web application, and it contains dojo widgets such as, textareas, textboxes etc.
In the .jsp's form action, it points to a Action Mapping (which in turns calls the Action class execute() method)
In the execute method, I forward the user to another .jsp page (which also contains dojo widgets)
However, whenever I forward pages using ActionForwards, the next .jsp page would give an error "dojo is undefined"
However, when not using ActionMappings in the form's action, such as :
action="AnotherJSPPage.jsp" instead of action="AnotherActionMapping"
This error would not occur. Does anyone know any solution to this? I'm on a tight schedule because my project is due next week and I have just encountered this error.
It is sorta covered in the
JavaRanch Style Guide
subject: Problem regarding Struts and Dojo integration
dojo loading FilteringTable problem
DOJO Grid and JSON
Help needed with DOJO and JSP
DOJO Tree using 0.4
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014