I think they will be using a java.net.HttpURLConnection. Does it matter?

On 5/9/07, Jeremy Thomerson <[EMAIL PROTECTED]> wrote:
> What are they going to use to "call" it?  wget?  perl?  etc....
>
> Jeremy Thomerson
>
>
> On 5/9/07, Lowell Kirsh < [EMAIL PROTECTED]> wrote:
> >
> > One of the requirements of the site that I'm building is that oneof
> > the pages be exposed programatically so that other programs can 'call'
> > it. They would know whether they'd succeeded or not by inspecting the
> > http status code returned. Since this is just a regular page  of the
> > site, when the call is successful a web page is rendered and returned.
> > In this case it would be ignored. But when there is an error, I'd like
> > to relay that to clients.
> >
> > One thing I've been trying to do (without any success) is to throw an
> > AbortWithWebErrorCodeException from my constructor with a non-200 code
> > and a message. Now supposing that it works, I'd like to know how a
> > client could extract the message from the response. Is it sent as a
> > header, the entire body, or part of the body?
> >
> > And if there is another approach that would work in my case, I'd love
> > to hear about it.
> >
> > Thanks,
> > Lowell
> >
> >
> -------------------------------------------------------------------------
> > 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
>
>

-------------------------------------------------------------------------
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