Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within IDEs and Version Control
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Other IDEs, Version Control
error page in web.xml never called
Andre Solberg
Greenhorn
Posts: 13
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
I'm trying to add some custom error pages to my application:
<error-page>
<error-code>404</error-code>
<location>/error404.jsp</location>
</error-page>
But instead I just get this when running on the
j2ee
preview server in eclipse.
HTTP ERROR 404
Problem accessing /app/asdf. Reason:
NOT_FOUND
What am I doing wrong?
Thanks
Jaikiran Pai
Sheriff
Posts: 10445
227
I like...
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Have you tried running it outside Eclipse, in a real server?
[
My Blog
] [
JavaRanch Journal
]
Andre Solberg
Greenhorn
Posts: 13
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
I just tested on a
Tomcat
server, and it's working. Would still be nice if I could
test
locally before deploying, but I can't find any settings in the j2ee preview that has anything to do with this. Any suggestions?
thanks
Jaikiran Pai
Sheriff
Posts: 10445
227
I like...
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I'm not an
IDE
expert. I'll move this to our IDE forum where someone might be able to help.
[
My Blog
] [
JavaRanch Journal
]
Here. Have a potato. I grew it in my armpit. And from my other armpit, this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Handle all error codes other than one
Defining error page
Intercept a 404 Error
Configurting all errors to single page
A recursive error was detected.
More...