This challenge has made me create three different solutions all present in the comments, but I'll show where they are within my custom Web Framework:
dewd@rubynho:~/code/libraries/web_rules/examples/arcchallenge$ ls
jsp_said.rtj php_said.rtj said.rb
The cool thing is that they work simultaneously, just like multiple "php pages" would in a PHP setup. The future should look like this in my opinion. :-)