angularjs - Is there a way to access complete angular URL (with #!) in JAVA filter? -


we have many pages implemented using angular js. have created offline snapshot html , store web crawlers.

now when web crawler asks particular page, based on user agent value redirect request java servlet returns appropriate snapshot page crawler.

when request comes in servlet crawler (like endeca), url till #.. , after # in url lost hence servlet not able return corresponding snapshot.

i know not possible send complete url (along #) via http request want know if there way overcome issue.

curl -a "endeca webcrawler" "http://test.com/test#!/test1/id" 

in java servlet filter http://test.com/test

note: google , bing bit convert #! _escaped_fragment hence don't see issues crawlers.


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -