File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Problem regarding Struts and Dojo integration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problem regarding Struts and Dojo integration" Watch "Problem regarding Struts and Dojo integration" New topic
Author

Problem regarding Struts and Dojo integration

Brandon Bay
Greenhorn

Joined: Aug 31, 2007
Posts: 29
I am using .jsp pages for my J2EE 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.
 
 
subject: Problem regarding Struts and Dojo integration
 
Similar Threads
DOJO Tree using 0.4
DOJO Grid and JSON
dojo and javascript DOM issue
Help needed with DOJO and JSP
dojo loading FilteringTable problem