Ankur Gupta wrote:
I have apache tomacat 7.0.61 and linux server 6.1 enterprise.
There is a requirment of sending sms to the customers, but the request to
send sms to the vendor is throught this sftp linux server.
Now, when i redirect to the page it does not respond.But when i access the
same website through command line wget "http://xyz.com"; linux does execute
that and i can get sms.
one more information before wget i set http_proxy in command line like
$export http_proxy=xx.xx.xx.xx:yy/
so there is a need to set proxy in apache tomcat too in order to redirect
to public page?
Thank you


Hi.
On this list, we have quite a lot of experience at decyphering user requests 
for help.
We even have some good SSL specialists available to answer questions.
But your question above is hopelessly confusing.
Could you try to rephrase this, so that we could have a hope to understand what your question is really about ? (maybe a little schema may help)

In the meantime, I'll answer this :

Q : > so there is a need to set proxy in apache tomcat too in order to redirect
> to public page?

A: no.
In simplified terms : the browser makes the connection to Tomcat to send its request; and Tomcat sends responses to the browser on that same connection. So it does not need a proxy for that. If your application is sending a redirect response to the browser, that is a response, so it goes through that same connection.

If your webapp itself needs to access another webserver, then it would be another matter, and it might need a proxy for doing that.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to