Register / Login
File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of
Clojure in Action
this week in the
Problem regarding Struts and Dojo integration
posted 8 years ago
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.
I agree. Here's the link:
dojo loading FilteringTable problem
DOJO Grid and JSON
Help needed with DOJO and JSP
DOJO Tree using 0.4