Really? What about the getResponseCode() method?

http://java.sun.com/j2se/1.4.2/docs/api/java/net/HttpURLConnection.html#getResponseCode()

But I'm sure if you are right about not being able to get it from that
class, my clients will use the jakarta (or other) client instead.

So the idea of using a POS (plain old servlet ;-) did cross my mind,
but I was hoping to make my web page serve both purposes so that I
could minimize the amount of coding I would have to do. Hopefully I
can actually use the AbortWithWebErrorCodeException to serve this
purpose.

On 5/9/07, Erik van Oosten <[EMAIL PROTECTED]> wrote:
> Lowell,
>
> Yes, it matters a great deal. The class java.net.HttpURLConnection does
> not give you return codes, it just throws an exception. You need to use
> something like apache commons HttpClient.
>
> Btw, if you can not massage Wicket into doing what you want, you can
> always add a self-written servlet (or a servlet from any other
> web-framework) in the same web-application.
>
> Regards,
>      Erik.
>
>
> Lowell Kirsh wrote:
> > I think they will be using a java.net.HttpURLConnection. Does it matter?
> >
>
> --
> Erik van Oosten
> http://www.day-to-day-stuff.blogspot.com/
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to