Project

General

Profile

Is there anyway that any customized WebResponse without any HTML tag could be returned to another WebServer;

Added by Michael Z. over 9 years ago

Supposing that my Wt application just plays a "business logic or model (MVC)" role without any HTML page rendering task needed, under this circumstance, is that anyway making wt application just pack logic data (results) in some customized format, such as XML, in the WebResponse message and returned the message back to another WebServer from which incoming WebRequests are received. After customized WebResponse message receiving, all the packed data will be parsed and rendered in another "mobile" format, such as WAP, and will be sent to mobile terminals? The reason that I want to use Wt framework is that all of WebSession detail things can be reused.

If that way exists, can give me an example?

thanks in advance.


Replies (1)

RE: Is there anyway that any customized WebResponse without any HTML tag could be returned to another WebServer; - Added by Wim Dumon over 9 years ago

Hello,

this sounds like a use case for WResource, probably also deployed as a static resource (see WServer documentation).

BR,

Wim.

    (1-1/1)