github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

dcrec1 / vraptor2_sexy_urls

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 3
    • 0
  • Source
  • Commits
  • Network (0)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (2)
    • master ✓
    • working
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Sexy URLs in VRaptor — Read more

  cancel

http://www.diegocarrion.com

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

added installation, configuration and license to README 
dcrec1 (author)
Mon Jan 26 16:10:31 -0800 2009
commit  2e53b6f8cf1827f56a5cd3a8f436fb7eaf0232d2
tree    15c372eccb907bac3b520305a400d6c0721db93f
parent  b35461f1fbe560fcc448f321d600d3c0aca36e50
vraptor2_sexy_urls /
name age
history
message
file .classpath Loading commit data...
file .gitignore
file .project
file LICENSE.txt
file README.textile
file build.xml
file deploy.txt
file pom.xml
directory src/
file upload.sh
README.textile

INSTALLATION

  • Get the latest version with:
git clone git://github.com/dcrec1/vraptor2_sexy_urls.git
  • If you’re using Maven, install in the local repository with:
mvn install
  • If you’re not using Maven, package the sources and take the jar from the target folder:
mvn package

CONFIGURATION

  • Write this in your web.xml file:
<filter>
    <filter-name>vraptor2</filter-name>
    <filter-class>org.vraptor.VRaptorFilter</filter-class>
</filter>
<filter-mapping>
    <filter-name>vraptor2</filter-name>
    <url-pattern>/*</url-pattern>
</filter-mapping>
  • If you’re using Maven, you should add this dependency to your pom.xml:
<dependency>
    <groupId>org.vraptor</groupId>
    <artifactId>vraptor</artifactId>
    <version>2.6</version>
    <scope>compile</scope>
</dependency>

  • Name your controllers like UserController
  • Name your views like user/show.ok.ftl
  • Call your actions like http://www.host.com/user/show

LICENSE

(The MIT License)

Copyright© 2008 FIX

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ‘Software’), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED ‘AS IS’, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server