RE: [dwr-user] DWR-Servlets integration

View: New views
1 Messages — Rating Filter:   Alert me  

RE: [dwr-user] DWR-Servlets integration

by Lance Semmens-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

A couple of options:

1. Don't use DWR... use a servlet which checks request parameters and
writes to response.getOutputStream()

2. Build the latest dwr source and use the file converter (it may be
called image converter). There is an example in the war... I'm not sure
how stable / cross browser this is.

Cheers,
Lance.

-----Original Message-----
From: ddelrivero@... [mailto:ddelrivero@...]
Sent: 08 December 2007 00:11
To: dev@...
Cc: users@...
Subject: [dwr-user] DWR-Servlets integration

Hi there,

I need to use DWR to marshall/demarshall complex data objects sent from
javascript, in order to pass them as parameters to a servlet that
outputs a
rendered image generated upon those parameters. I know you can't modify
the
response headers, so, can you come up with an idea to acomplish this?

I have setup a pojo to get those parameters and call the
RequestDispatcher
in order to call the servlet I want, but this servlet writes on the
response
and modifies the header response type.

I think I have to write an extension for DWR to handle this.. any idea?

Thank you.
Damian del Rivero

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...