Welcome To Snipplr
Everyone's Recent Snippets Tagged java
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Does not include any of the U.S. properties such as Guam, Virgin Islands, and Puerto Rico.
0
1022
posted 17 years ago by jrphelps
1. mvn archetype:create -DgroupId=deng -DartifactId=mywebapp -DarchetypeArtifactId=maven-archetype-webapp
2. Replace web.xml with http://snipplr.com/view/3800/minimal-webxml-webapp-descriptor-version-24
3. Replace pom.xml in this snipplet.
4. mvn...
1
1047
posted 17 years ago by thebugslayer
this goes under src/main/resource/META-INF/persistence.xml
0
913
posted 17 years ago by thebugslayer
This redirects visitors to a new URL using a 301 redirect. Using a 301 redirect is the safest way to let search engines like Google, Yahoo!, Live and Ask know your address has changed.
0
964
posted 17 years ago by jonhenshaw
You can use these attributes to format the display of your form bean properties. This works pretty well in displaying currency and date/time values. For example, you can display 1234.567 as $1,234.57 and 08/12/2006 as Aug 12, 2006.
In order to ge...
0
1117
posted 18 years ago by springett