Thanks for your response.

I shall have a look to the link you provided.

By "inthe construction of the representation", I mean it is in the
"getRepresentation" method of my resource, when I identified that a
combinaison of specific rules is verified that I do the forward, because
I know that in that case, the complete representation is provided by
another servlet (or JSP) and I wan't to send the representation
without making a redirect.

Benoît


"Jerome Louvel" <[EMAIL PROTECTED]> a écrit dans le message de news: 
[EMAIL PROTECTED]

Hi Benoît,

There is no direct equivalent to Servlet "internal forward" in Restlet.
However, we have a powerful alternative based on a custom RIAP protocol
(Restlet Internal Access Protocol).

You can find more documentation on RIAP in our wiki at:
http://wiki.restlet.org/docs_1.1/g1/13-restlet/48-restlet/86-restlet/90-rest
let/45-restlet.html

However, I'm not clear on what you exactly want to achieve or mean by "in
the construction of the representation". Do you want to create a composite
representation based on several others provided by the same application? If
so, RIAP will definitely help, for example by support XSLT includes.

Best regards,
Jerome


-----Message d'origine-----
De : news [mailto:[EMAIL PROTECTED] De la part de Dissert Benoît
Envoyé : mercredi 6 août 2008 15:03
À : [email protected]
Objet : Forward of the request in a Restlet resource

Hello,

Is there a "standard" Restlet way to make a forward (a J2EE forward, not a
redirect), and to decide it in the construction of the representation.

(I say a "standard", because I manage to do this, but I won't show the code
I wrote since it is a real dirty workaround of the framework).

Thanks in advance,

Benoît






Reply via email to