wood burning stoves 2.0*
The moose likes Struts and the fly likes WSAD 5.1.2 caching jsps Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "WSAD 5.1.2 caching jsps" Watch "WSAD 5.1.2 caching jsps" New topic
Author

WSAD 5.1.2 caching jsps

Jason Berk
Ranch Hand

Joined: May 03, 2006
Posts: 41
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

Joined: Feb 14, 2006
Posts: 121
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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WSAD 5.1.2 caching jsps
 
Similar Threads
Difference between action and forward attribute in html:link tag
Struts 1.1 using RAD7
Tiles newbie, please help
problem dispaly error message in struts
Newbie Question