A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
URLRewriting using urlrewrite.xml
Joined: Feb 07, 2011
Feb 07, 2011 05:01:44
I want ti use feature of urlrewriting in my project.
I have added jar urlrewrite-3.2.0.jar in my WEB-INF/lib directory. and also added WEB-INF/conf/urlrewrite.xml file .
I have set rules as follows <urlrewrite>
my output shloud be ------ > /viewpackagedeal.do?dealid=531 type
and in my
file I have link
<a href="viewpackagedeal.do?dealid=995" target="_blank">
I even triend doing <a href=<%response.encodeURL("viewpackagedeal.do?dealid=995")%> target="_blank"> still the it doesnot work ...
please help me ..I am going wrong some where ?
Joined: Oct 27, 2005
Feb 07, 2011 05:29:16
Welcome to the Ranch!
I'll move this thread to our
forum, since I think that's a better place for it.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions
How To Answer Questions
I agree. Here's the link:
subject: URLRewriting using urlrewrite.xml
Missing CharacterEncodingFilter, UrlRewriteFilter?
URL rewrite errors
Got Problems with Tuckey UrlRewriteFilter and Spring 3 Web MVC
htaccess and mod_rewrite issue
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015