Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "WSAD 5.1.2 caching jsps" Watch "WSAD 5.1.2 caching jsps" New topic

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:
<forward name="showForm" path="myApp.form" />

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

Cannot find global ActionForward for name form

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?

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

Have you tried LearnNowOnline?
subject: WSAD 5.1.2 caching jsps