Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
UrlRewrite on OC4J
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Stijn  
View profile  
 More options Jun 10, 10:34 am
From: Stijn <stijnhal...@gmail.com>
Date: Wed, 10 Jun 2009 07:34:55 -0700 (PDT)
Local: Wed, Jun 10 2009 10:34 am
Subject: UrlRewrite on OC4J
Hi,

i'm using UrlRewrite version 3.2.0 in combination with OC4J.
The UrlRewrite filter is the first filter that is executed.
Our url looks like: something/something2.dhtml?
someService=applicationName.

In our urlrewrite.xml we have defined following rule:

    <rule>
        <name>integration with queryString</name>
        <from>/something/([a-zA-Z\-0-9_/]+).dhtml(.*)$</from>
        <to>/integration.do?navigation=$1&amp;$2</to>
    </rule>

So every parameter that is added after the .dhtml should be added to
the /integration.do url...
But unfortunately, everything after the .dhtml is skipped...

In the urlrewrite.xml we have use-query-string=true...

Thanks for the help!


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Avlesh Singh  
View profile  
 More options Jun 10, 3:43 pm
From: Avlesh Singh <avl...@gmail.com>
Date: Thu, 11 Jun 2009 01:13:39 +0530
Local: Wed, Jun 10 2009 3:43 pm
Subject: Re: UrlRewrite on OC4J

The underneath should work as expected

<rule>
  <from>/something/([a-zA-Z\-0-9_/]+).dhtml*\?*(.*)$</from>
  <to>/integration.do?navigation=$1&amp;$2</to>
</rule>

Notice the escaped "?" in the from section of the rule.

Cheers
Avlesh


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google