Announcement Announcement Module
No announcement yet.
"URI Template Patterns with Regular Expressions".equals( "Rocket Science") Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • "URI Template Patterns with Regular Expressions".equals( "Rocket Science")

    Hi there,
    I am trying to use Spring's "URI Template Patterns with Regular Expressions"
    for a job site and I am facing a few problems.

    I would appreciate if you could help.

    I am hoping to use SEO friendly URLs for "ADVANCED" job searches.

    So, a user can search jobs by technology (optional), industry (optional)
    and country (optional).

    Here is how a URL could look like: (search all types of jobs) (search jobs by "java" technology) (search jobs by "java" technology and "finance" industry) (search jobs by "java" technology and "finance" industry and "germany" country)

    The order should be irrelevant, for example I should be able to use the following URL:

    or any order and any one of the optional fields:

    t-{technology} = List jobs by technology
    i-{industry} = List jobs by industry
    c-{counry} = List jobs by country

    For example:{technology}_i-{industry}_c-{country}

    Please note that there is an underscore plus the separation characters mentioned above.
    Only the first field does not use an underscore before the separation characters, like this for example:{technology}

    Separation characters are t- (there is no underscore before t-, because this is the first
    field mentioned on the URL.

    You could save me from jumping off the cliff, please help!