This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to get error raised page in jsp?

 
Mohanasundar Nagarajan
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear,

I’m facing problem with getting URL of the jsp page.


Here is the scenario,

I have configured error pages for 404 and 500 in web.xml of tomcat application server. Whenever error raises server displaying configured page. There I want to get from which URL this page is invoked (Actually error occurred page url).

In error page I have written


It is displaying error page URL. But I want the URL I’m seeing in the address bar.


Thanks,
Mohanasundar
Senior Software Engineer
 
Tim Moores
Bartender
Pie
Posts: 2493
7
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See the section "New error attributes" in http://www.servlets.com/soapbox/servlet23.html
 
Mohanasundar Nagarajan
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tim Moores wrote:See the section "New error attributes" in http://www.servlets.com/soapbox/servlet23.html


Thanks a lot. I got the solution.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic