You should only have to update the one in the "src" folder. Try running:
mvn clean jetty:run-war That should definitely update the copies in the "target" folder. HTH, Nathan <quote who="nmall"> > > Hi, > > Here are the directories that contain the .jsp files - i picked one of > them > to find out. > > $ ls -lrt `find . -name mainMenu.jsp` > -rwx------+ 1 None 480 Apr 24 22:59 > ./target/war/work/appfuse-struts-2.0-m4/WEB-INF/pages/mainMenu.jsp > -rwx------+ 1 None 751 Apr 24 23:06 > ./target/work/webapp/WEB-INF/pages/mainMenu.jsp > -rwxr-xr-x 1 None 749 Apr 24 23:10 > ./src/main/webapp/WEB-INF/pages/mainMenu.jsp > -rwx------+ 1 None 749 Apr 24 23:13 > ./target/aclproject-1.0-SNAPSHOT/WEB-INF/pages/mainMenu.jsp > > When I make changes to src/main/webapp/WEB-INF/pages/mainMenu.jsp and do a > mvn -e compile or jetty:run-war, the others don't get populated with the > latest version automagically. Which of these are really needed. > > Thanks a lot for your help! > nmall > > > > nmall wrote: >> >> Hi, >> >> Couple of questions: >> >> In the struts-basic project, the jsps are packaged and not present in >> the >> src directory. I pulled them in and put them in >> src/main/webapp/WEB-INF/pages directory. Is this right. Now when I do >> mvn >> -e compile or mvn -e jetty:run-war, it doesn't put them automatically in >> the target directories. What is the right place to do it. And would we >> have to do a complete mvn jetty:run-war to pick up the latest jsps. >> >> Next question is a jsp question - pardon my ignorance. Where is the >> horizontal menu buttons ( containing Upload, Adminstration etc being >> defined in this jsp). Is it the glasslist line. What does glasslist do. >> Thanks so much for your help! >> I searched all of the struts documentation but could not find this in >> the >> tags. >> >> >> <%@ include file="/common/taglibs.jsp"%> >> >> <head> >> <title><fmt:message key="mainMenu.title"/></title> >> <content tag="heading"><fmt:message >> key="mainMenu.heading"/></content> >> <meta name="menu" content="MainMenu"/> >> </head> >> >> <p><fmt:message key="mainMenu.message"/></p> >> >> <div class="separator"></div> >> >> <ul class="glassList"> >> <li> >> <c:url value= "><fmt:message key="menu.user"/> >> </li> >> <li> >> <c:url value= "><fmt:message key="menu.selectFile"/> >> </li> >> </ul> >> >> > > -- > View this message in context: > http://www.nabble.com/maven-and-jsps-tf3641389s2369.html#a10173573 > Sent from the AppFuse - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
