• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem regarding Struts and Dojo integration

 
Brandon Bay
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic