Categories
Tags
Adventure BMW 650GS BMW 1200GS CentOS Death Valley Diving eclipse find FLV Fraser Island Golden Gate grand canyon Great Ocean Road grep GWT Hibernate holiday Hollywood Lucene Maps maven Motorbike mule ride Nokia N95 NYC Oz Paris Perl road trip San Francisco Search sed Singapore Solr struts2 Tomcat USA Vegas Video x264 YosemiteLinks
Category Archives: HOWTO
HOWTO: Remove GWT package from url when using gwt-maven
Seriously, who wants a url like /my.long.package.name.Application/Application.html To remedy this use the following steps: Make the webapp directory the same as the output for your gwt code. … <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <configuration> <webappDirectory>${project.build.directory}/${project.build.finalName}/my.long.package.name.Application </webappDirectory> </configuration> </plugin> … Ensure that your … Continue reading
HOWTO: Run your java web app as the root context on Tomcat
If you have a context XML fragment in your war (META-INF/context.xml) then it’s as easy as renaming your war file to ROOT.war If you’re using the maven build system then just alter your pom to have: <build> <finalName>ROOT</finalName> … </build> … Continue reading
HOWTO: Setup a shell Java Struts 2 web app using Maven 2 & Eclipse 3.4
The latest project I’m working on is a Java web app using Struts 2. I wanted to use the eclipse IDE since it’s industry standard and the Maven 2 build system for compatibility with other company projects. I did plenty … Continue reading