My web.xml contains this:

        <.url-pattern>/admin/*<./url-pattern>

Every time I've tried to use "/*" I ended up with some problem. I've never had the time to spend trying to figure out why, but maybe I should.

  -- Scott

Martijn Dashorst wrote:
Isn't it possible that this is due to the web.xml url pattern '/' instead of '/*' ?

Martijn

Johan Compagner wrote:

so you always get a internal one?
that is strange because if you are in development mode:

if ("development".equalsIgnoreCase(configurationType))
       {
           setResourcePollFrequency(Duration.ONE_SECOND);
           setComponentUseCheck(true);
           setStripWicketTags(false);
           setUnexpectedExceptionDisplay(SHOW_EXCEPTION_PAGE);
       }
       else if ("deployment".equalsIgnoreCase(configurationType))
       {
           setComponentUseCheck(false);
           setStripWicketTags(true);
           setUnexpectedExceptionDisplay(SHOW_INTERNAL_ERROR_PAGE);
       }

the exception page is the SHOW_EXCEPTION_PAGE

maybe you have overriden that somewhere?

johan


Scott Sauyet wrote:

Okay, still missing something basic.

I was looking at the Library in wicket-examples, and it failed. (I have no idea why, and am downloading the lastest beta of examples.) But when it failed -- after log-in -- Wicket presented me with a nicely formatted error report listing the stack-trace, the markup in question with the offending line highlighted, and the component tree. It's very nice, and much easier to use than my current error-hunting technique, which involves an "Internal Error" page and hunting through Tomcat logs. Uggh.

I can't find where the Library application is configured to show that. How do I turn this on for my application? The most likely line I found was

        getSettings().configure("development");

but that didn't make a difference for me. Have I simply done this wrong, or am I missing something else?

Thanks,

  -- Scott Sauyet



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user





-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user







-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to