Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Dispatch JSPs with faked request/response

Hi,

On Tue, Nov 8, 2016 at 11:58 AM, Maximilian Böhm
<maximilian.boehm@xxxxxxxxxxx> 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


Back to the top