On Friday 02 March 2007 08:56, Olli Wang wrote:
> Hi, is it possible to return content from controller rather than
> "real" static file? Take my case. I have a test.txt file in /static/
> and a expose method static, if I request url
> http://localhost:8080/static/test.txt, it returns "In file test.txt". But I
> do need the content returned from controller, that is "In controller". Any
> idea?

Yes - don't use that path. It's your code, isn't it? So, don't 
use /<project>/static as prefix, but instead

/controller/path/foo/bar

Diez

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to