• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WSAD 5.1.2 caching jsps

 
Jason Berk
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
anybody here use WSAD 5.1.2 w/ struts? I'm pulling my hair out with WSAD's inability to recompile JSP files when I change them. I have an index.jsp with this code:

<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<logic:forward name="showForm"/>

in my struts-config I have:
<global-forwards>
<forward name="showForm" path="myApp.form" />
</global-forwards>

but when I surf to the index.jsp, I get this error:

javax.servlet.jsp.JspException:
Cannot find global ActionForward for name form
at
org.apache.struts.taglib.logic.ForwardTag.doEndTag(ForwardTag.java:92)
at
org.apache.jsp._index._jspService(_index.java:86)
blah...blah...blah....

I ran a search just to be sure...and the word "form" never even appears in source code ANYWHERE in the project. WSAD doesn't have the "clean" feature that Eclipse does, so how the hell do I get WSAD to use the latest index.jsp?

Jason
 
Alana Sparx
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jason



is the probalem not the above path? Should the path not map to some actionmapping, like


and further doen in your struts jsp you have an action-mapping detailing 'CustomerDetails' where you specif the Action, the Form and the forward pages?

hope this helps

As!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic