>> The cronjob can make a real HTTP request to your application using Jetty's 
>> HttpClient.
That's something we have thought of as well. But it is not really nice 
solution, is it?

So I guess, it is not meant to work just out of code without request? Or are 
there any architectural possibilities I miss?

Thanks again! 

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] 
Im Auftrag von Simone Bordet
Gesendet: Dienstag, 8. November 2016 15:35
An: JETTY user mailing list <[email protected]>
Betreff: Re: [jetty-users] Dispatch JSPs with faked request/response

Hi,

On Tue, Nov 8, 2016 at 11:58 AM, Maximilian Böhm <[email protected]> 
wrote:
> Hi everyone,
>
> short intro: I'm Max, a SW-developer based in Passau, Germany. The company I 
> work has used Jetty for more than a decade now. Thank you!
>
> I've just migrated a legacy application from Jetty5 to the most 
> current version. What a fun :)
>
> I have one problem left. Basically I need to call the RequestDispatcher with 
> faked requests and reponses.
>
> A simple use case is the creation of newsletter emails by a cronjob. There is 
> just no request.

The cronjob can make a real HTTP request to your application using Jetty's 
HttpClient.
http://www.eclipse.org/jetty/documentation/9.3.x/http-client.html

--
Simone Bordet
http://bordet.blogspot.com
---
Finally, no matter how good the architecture and design are, to deliver 
bug-free software with optimal performance and reliability,
the implementation technique must be flawless.   Victoria Livschitz
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit https://dev.eclipse.org/mailman/listinfo/jetty-users
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to