hello team,

i have a problem with accessing previous url in jsp.
let suppose i am at page1,and a link in pagr1 will redirect to page2, i have to access the previous url which is in that case page1.

any help

thanks in advance.

i used document.referrer but its not working.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.