-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Vinay,

Vinay Chilakamarri wrote:
| While I got this to working, I now want to configure each of these
| hosts to serve a REST API.

How does your REST API differ from your, er... HTTP one?

| In other words, I have to map a URL like:
*http://localhost/rec1/getInfo *to
| an actual URL like* http://localhost:445/rec1/info.xml

Do you want your client to redirect to that second URL, or do you want
to return data that is available at that second URL?

Typically, REST services are ... services, and not just static data
(which your URL appears to be). If you are just talking about re-writing
URLs from one format to another, you can use "Redirect" directives in
Apache httpd (it was unclear from your original post if you are using
httpd or Tomcat) or use the url-rewrite package
(http://tuckey.org/urlrewrite/) from any webapp.

If you just want redirection after processing, a simply
"HttpServletResponse.sendRedirect" ought to do the trick.

Again, it's very unclear what you are really asking, here.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkhZdOAACgkQ9CaO5/Lv0PBzQwCdHOfMiJGBKI1PZVQzAZBsyEhU
G9oAn3+P9DQ7T8HTR8b3eWB7KMNvDdY7
=Okh+
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to