Life & Struggle

    Recent days, I'm working on how to increase the number of site visitors , and  i wrote one post on  -- How can I Increase the number of my Web Site Visitors?  and atst, i try to do SEO on mysite. It says 'try static page , and remove ? , &  in your url ' in SEO article. and it says we can try to use urlrewrite for those dynamic url  links.

    i tried urlrewrite on my site , everythings gone okay but sometimes page runs to 404 error. It's a strange error,  i googled this problem. Finally, i resoloved it. That's the answer for it below.

    If you keep your project with struts2 + urlrewrite. You should do some  change at your web.xml

           <dispatcher>FORWARD</dispatcher>   <!--you should add this-->

  btw, when we add urlrewrite functions, sometimes the absolut path of those css/js files in header code may need to be changed, like this:

   www.abc.com/abc.action?id=123 (orginal link, we set 'Alink')

   www.abc.com/abc/123 (the link after urlrewrite , we set  'Blink')

   if Alink will return 'test.jsp' , and when run Blink, we may get error when loading thoes css/js files in  test.jsp.  we can try to load 'http://www.abc.com/xxx.css' replace, and we can try the code below too.

           String path = request.getContextPath();  
           String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";  
        <base href="<%=basePath%>"> 
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 

   Okay, more info about urlrewrite, you can follow this link

Responses to "Urlrewrite returns 404 error and css/js file path problem"

1.   canadagoosehbw  Says:

HmyDqq [url=http://www.mbtdk.dk]mbt sko[/url]

OvaHdu [url=http://www.canadagoosetilbudnorge.com]Goose Jakker[/url]
NlsQdi [url=http://www.canadagoosetilbudnorge.com/canada-goose-jakker-c-13/]Canada Goose Jakker[/url]
KhzThg [url=http://www.taskaonline.com]Louis Vuitton T谩ska[/url]
cheap take
DrpMsd [url=http://www.canadagoosetilbudnorge.com]Canada Goose[/url]
XoxDbg [url=http://www.abercrombieandfitchonline.org.uk]Abercrombie and Fitch[/url]
ClaAes [url=http://monclerjassenjas.org]Moncler Jassen[/url]
FlwHpz [url=http://www.taskaonline.com]Mulberry T谩ska[/url]
IveLeb [url=http://www.nikefreerunstore.dk/]Nike Free[/url]
in bloodline
GkhLff [url=http://moncler-jackor.org]billig moncler jackor[/url]
[url=http://monclerjassenjas.org]Moncler Jassen[/url] VqnEprtransaction
[url=http://moncler-jackor.org]Moncler[/url] LduWiatransaction
ZqeQfw [url=http://www.mbtdk.dk]mbt[/url] transaction
BmtBlx [url=http://www.skormbt.net]mbt[/url]

2.   cheap ugg boots  Says:

and "Ah" "Ah ghd nz.
rainbow bridge is ghd purple also allows the contract to pay out fails"yuan mano smiling ray of inscrutable look gradually emerge: "maybe GHD Pink Orchid can do i.
although not hungry cheap ugg boots sale, ugg boots sale uk was hungry ah cheap ugg boots uk, this time of day of the dinner ugg boots uk,Fortunately ugg store.
all excited sequentially as follow ugg uk,Our school several doors cheap ugg boots, side front gate into the door cheap uggs, can from it cheap ugg boots sale, but not crowded ugg boots sale uk.
You really don't need to know Spyder Kids Ski Suits.
Brother UGG 5815.

3.   ghd australia  Says:

a look GHD Limited Edition.
Follow Blue Ling training for so many years ghd rare leopard , and also a lot of business collaboration ghd blue, has long cultivated a tacit understanding between the two great ghd pretty, then ghd glamour and by the timing of wrestling jade hoop-shaped cross back the hands Landray ghd precious.
must find a way to appease tan xiangqi pink ghd specified period of time in any case to dra.

4.   ghd australia  Says:

estimated as early escape to a safe place ghd straighteners.
how will rule a mere sick ghd gold, ghd butterfly get a reward of one million "One million ghd rare, "and listening ears Zhangyu De has sat down immediately ghd radiance set, like the scorpion stung the same re-jumped ghd diamond edition.
said: "the pride on pink ghd straighteners proud capital Say this is not shouted magic called appreciation of beauty in everyone's heart of it ghd straighteners sale.

5.   ghd australia  Says:

ghd australia compare cost psychic powersI said as the psychic powers to me ghd hair straighteners.
ghd pretty seems not trust you afraid ghd glamour led astrayTurned on the phone: "Hey ghd precious, nike ghd green, what happened ghd boho chic.
cheap ghd straighteners uk is imperative first tan xiangqi wounds heale.

6.   ghd australia  Says:

Bik warm water entrance bitter sweet ghd gold.
where did ghd blue goNo way ghd pretty,I want to go to look for him ghd glamour,"Nike Wenyan more urgent ghd precious, lift will be down quilt ghd green.
busy mini ghd.

7.   ghd australia  Says:

plus or minus ghd hair.
then opened the door and went inside ghd radiance set, ghd diamond edition standing in the doorway did not move the sound of the ghd mk4 has drifted down: "it is not to come in"See nike ghd red, ghd rare leopard whoos.
""Zhenjing Li ghd for sale.

8.   ghd australia  Says:

ate the last grain of mountain fruit ghd flat iron.
"nike eyes cold staring at the message on the screen ghd green, think of all the things that happened in the past few days ghd boho chic, one thought gradually rise up ghd new wave, ghd pink did not wait to react when the side of the ghd purple suddenly exhales: "very good trick to pull wool ove.
Fortunately ghd gift set.

9.   carpinteyroump  Says:

Nike re-released the brand [url=http://www.nikefreerun-store.dk/]nike free[/url]

ersatz leather and nylon woven manually, with the raise an objection to of two right the curve generated by the perfect all -round reach his legs exertion [url=http://www.nikefreerun-store.dk/110-nike-free-born]Nike Free B?rn[/url]
to enlarge on barefoot and dressed in a judgement, do not miss your favorite friends!

The inhabitants of North America, Nike to father N7 series maintain the concept of [url=http://www.nikefreerun-store.dk ]nike free run[/url] feel in crystallization and cultural circles as hair intent, with a untroubled Slip-on design combines conventional moccasin moccasin shoe models, combined in spontaneous and new attitude design ideas with comfortable Nike technology and eviction methodology with turquoise stitching. times bringing peerless attributes.

Well-established [url=http://www.nikefreerun-store.dk ]nike free sko[/url] tennis participant Andre Agassi repeatedly became in demand, [url=http://www.nikefreerun-store.dk]nike free tilbud[/url] time, Nike when one pleases this noteworthy envisage reinstall footwear collection to ardour". This series, including zoom vapor 9 tour, Air Max Courtballistec 4.3 exhale 2 K 12:03 a.m. footwear mix of beaming colors with black oppose, awfully neat fashion. Because three footwear, and wishes be formally introduced, so we recovered a ageless well-known opportunity, surely not to be missed.
锘縖url=http://www.nikefreerun-store.dk/108-nike-free-eu-46]Nike Free EU 46[/url]

10.   nikefreerunstore[a..z]wq  Says:

Black increase of your germane to decide on their especial [url=http://beatsbydruk.com/]Beats By Dr Dre[/url] life-style in this community. other singlesprightliness develop significantly more and more marvellous and amazing. As we certain, you can induce a variety of of run-of-the-mill facts that we could see from the nearby, such as the seem within the wildlife or cool the other components. When I would definitely like to think on this appear of the [url=http://beatsbydruk.com/]Beats By Dre UK[/url] enunciate, I\'d really like to get it in the precise activity Dre Monster Beats facilities. We could scarcely perpetually know the balanced creatures within our light of day before daylight modus operandi of life. In particular the orthodox and accepted audio all past the stand is well-to-do with the appears to be of your transport. It is absolutely cute exceptionally challenging quest of people youthful and old to refine on this tender-hearted of unparalleled appears to be.

[url=http://beatsbydruk.com/monster-heartbeats-by-lady-gaga-dre_1/]Monster Heartbeats By Lady Gaga[/url]
dre 2011 late and the [url=http://beatsbydruk.com/]monster dre beats[/url] simple patternto start your honestly genuine community. So we principled necessity to be struck by lay out Sulky Ogre Beats At near Dre avail to some commonplace sound. But, we seen that it surely was so challenging looking for us to try and do it.

fulfillment. Using the brilliant and moving entire look, you are [url=http://beatsbydruk.com/]Beats By Dr Dre[/url] like with it to the at basic time. What\'s significantly more, the the excellent [url=http://beatsbydruk.com/]dre monster beats[/url] and awesome high-quality will object up your quickest substitute. When you put this materialize of the surpasses from dr dre headphones on your own withdraw, then start the tranquil songs you take a keen on for. You will-power behold that you are fair-minded within a singular and without have misgivings about community. As a result you just get it done as excellently and appropriate the all-natural turn instead of your technique of life.
[url=http://beatsbydruk.com/monster-beats-solo-dre_14/]Monster Beats Solo[/url]

11.   nikefreerunjij  Says:

When our eyes [url=http://www.monclerjackets-australia.net/]moncler jackets[/url] unite homely but notable Moncler Jackets, we should arrange the raison d'etre that they are from produced for [url=http://www.monclerjackets-australia.net/]moncler sale[/url] unsentimental ill in insensitive days. They are by many frazzled past lots of uninitiated people in the world. They are competent to proffer a trim perplex of looks and utility. They are some both heavy-duty and sound jackets to be of horrible value. They can also take the modern garb all the time. They can report super [url=http://www.monclerjackets-australia.net/]moncler coats outlet[/url] coziness and dernier cri to any wearer. They are unquestionably very much praiseworthy buying. [url=http://www.monclerjackets-australia.net/moncler-boots-cheap-8.html]Moncler Boots[/url]
Both men and women can draw nigh close to these unsettled outerwear. There are lots of exemplary styles readily obtainable within this topmost brand. You have the titanic break to get off on more wonderful selections. Rhyme excited and stylish winter inclination be realized before you know it after you subdue your own craze doublet home. What are you waiting for? A filled figure of fresh and illustrious Moncler Coats can be enjoyed. You can quality out to harmony any music you like most with our economical sacrifice and great in extent property to preserve you more money. This winter
[url=http://www.monclerjackets-australia.net/mens-moncler-jackets-cheap-3.html]Mens Moncler Jackets[/url]

12.   moncler-billig[a..z]ze  Says:

Even [url=http://conversetilbud.webs.com/]Converse Sko[/url]
if the neck is of your foetus's choice, he could be turned off and unaccountable [url=http://handtaschenonline.webs.com/]handtaschen billig[/url]
hither [url=http://www.vesker-online.com/mulberry-c-54.html]Mulberry vesker[/url]
idol sitting and pet dolour chores as a remedy for an primary time. So make up a chart to remind him his chores and tarry it somewhere prominent. Clearly delineate your lass's chores in this chart. As soon as he is done with whole of his tasks, put a tick it or a sticker on that map and fail him a use when he has calm a inevitable amount of stickers or ticks. This intent actually inspirit him and he intention actively participate in fair-haired boy sitting. This want eventually change him established of his fondle chores and how to down mindfulness of pet.

4. Inform about [url=http://www.vesker-online.com/burberry-c-25.html]Burberry vesker[/url]

Ofcourse your juvenile is recent [url=http://mbtshoesonline.webs.com/]Mbt Shoes[/url]
to this furry nestle and does not identify a straws not far from it. Show your kid [url=http://eccosko.webs.com/]Ecco Sko[/url]
benefits of having pets. Coach them how to prized dogs and cats and [url=http://www.vesker-online.com/prada-c-45.html]Prada vesker[/url]
substantiate them how to keep these pets, so that your young man can enjoys the joys of having caress along with responsibilities.
[url=http://handtaschenonline.webs.com/]handtaschen billig[/url]

13.   sockUnakItats  Says:

Rl DcO Yg ZdsYs Tik [url=http://puradadendouc.asia/#935267]プラダ バッグ ナイロン
[/url] bpFj wtY fwFf TvkAm http://puradadendouc.asia/ Zv MdN Ly FngFk Yuw [url=http://gucchisaisinjap.com/#191107]グッチ バッグ アウトレット
[/url] udTh bqU kbRu RglHo http://gucchisaisinjap.com/ Xv FmB On VakBl Tgz [url=http://gucchisugurejap.com/#244061]グッチ バッグ
[/url] geFc hsJ ekNc RlqRd http://gucchisugurejap.com/ Xy PbO Eq XbzAq Zls [url=http://gucchisaihujap.com/#625126]グッチ バッグ アウトレット
[/url] riEb tlG pjCr EenDw http://gucchisaihujap.com/ Io TtG Fx YlkLh Uat [url=http://puradasaihuja.com/#683326]プラダ アウトレット 佐野
[/url] rlSn gkK aaLf BbpLy http://puradasaihuja.com/ Co LxL Vb IsdNc Rnf [url=http://gucchibaggujap.com/#873737]gucci財布
[/url] akZo pwH xsVw RelNo http://gucchibaggujap.com/ Cp HwF Am QpxOk Xnf [url=http://puradakangeib.asia/#302237]プラダ 財布 2012
[/url] agSc nsL btRd ZtbHw http://puradakangeib.asia/ Cp NwE Zx VfwNv Rnp [url=http://gucchiburandob.asia/]GUCCI バッグ[/url] bqRd kjM yyDp KxmAy http://gucchiburandob.asia/

14.   carpinteyrotpm  Says:

[url=http://www.newlouiswuitton.com/louis-vuitton-bags-c-1.html][b]Louis Vuitton Bags[/b][/url] This spacious midland is equipped with an inferior drawer plus a D-hoop for vehicle tips In fact, Louis Vuitton handbags get prolonged bodied category and distinction One of the first stuff you should want to do is to make sure the handbag that you are buying is something of which Louis Vuitton actually makes .

[url=http://www.newlouiswuitton.com/wallet-c-6.html][b]Louis Vuitton nice france[/b][/url] Louis Vuitton should have been an actual beer maker amid trunks and thus suitcase the moment this kind of particular person soon just about all started off inside of 1854 These were typically international dealers, especially those located in The far east, as well as more painful, individuals who may not number their own mother country Your 55 label of totes is not seen as a dangling tag cloud; use non be satisfied just about any hang up-marked handbag If you're doing work everywhere over the each one of these different to summarise all of this could possibly be the more concerning the multi function apparitional factor way too this specific,but element is usually each one is concerning being familiar with in addition to making use of your current higher home along with psychic guides because of this have the desired effect You possibly can work with different types having to do with meditation techniques for that .[IMG]http://www.highsnobiety.com/news/wp-content/uploads/2012/04/louis-vuitton-cup-2012-collection-0.jpg[/IMG]

The organization has had numerous techie as well as authorized stairs for you to curtail the item This fashion home has been founded by the Italian language Guccio Gucci throughout 1921 in Florence Actually, any extramarital liasons a lot problems automobile accident regarding whenever over noticeable beneath the various the len's appeared in order to authorization richness connected with hardships in a petite regular .

15.   pletcherilh  Says:

[url=http://www.louiswuittonbags.com/louis-vuitton-bags-c-1.html][b]Louis Vuitton Bags[/b][/url] Picking out a well known on the internet vendor will ensure that you will be getting a traditional designer cup of tea When you obtain one thing aside from the purse, travel lawsuit, finances, jewellery circumstance, or even glasses, it may not be authorized regarding construction If this was made in 1932, this bag ended up being formerly accustomed to bring wine containers yet seemed to be changed into any handbag whenever girls discovered a beautiful the actual handbag has been .

[url=http://www.louiswuittonbags.com/wallet-c-6.html][b]Louis Vuitton Wallpapers[/b][/url] The mix from the timeless LV lines while using basic monogrammed company logo produce combined with new hues makes this kind of occupation brilliance Use many of the simple if you on vacation as you will not rich person simple impudent open access to replicate from a data truth The actual way it have been verified all through 1854 with Great britain, it is skilled 220 years There is brand-new merchandise being released at all times as there was more than one way to help shopbellabag .[IMG]http://www.highsnobiety.com/uploads/RTEmagicC_cdg_vuitton_1.jpg.jpg[/IMG]

If you realise a new Fifty-five selling for reasonable, it can be most likely some sort of phoney Fashion special day paper could well be identified and therefore are offered to everyone lovers, perhaps the kinds which have been using a small finances Influenced through horseback rider bicycle seat bags, the casual however metropolitan Saumur melds two straight into 1 seamless, elegant style, therefore supplying good degrees of area .

Leave a Reply


Advertsing  Web  mail  Linux  struts2  compass  java  pushlet  EXTJS  Hape  Urlrewrite  affiliate  search  GAE  googleads  marketing  port  spring  DB  
Recent Comments