sirpelidor
12-04-2007, 12:02 PM
Hi, newbie question here:
I have downloaded a j2ee app (can be download here (http://code.google.com/p/joid/downloads/list)), put it in my tomcat's webapps folder. Restarted tomcat and go to http://localhost:8080/JOIDFramework and it works at home (all it does is to grab the url i've typed and go out to the internet, do something, and redirect back to my local web app)
when i bring my app to office behind the firewall, it stopped working. I think it has to do with the proxy. I'm new to j2ee and I don't know where to look for proxy. so my question is here:
1) how do i do proxy in j2ee? do I need to write my own proxy class?
2) if so where should I place my proxy? is there something like httpclient class?
3) in that case, the j2ee code seems very hard to manage...can i config proxy at the j2ee framework level (i.e. tomcat) ?
thank you
I have downloaded a j2ee app (can be download here (http://code.google.com/p/joid/downloads/list)), put it in my tomcat's webapps folder. Restarted tomcat and go to http://localhost:8080/JOIDFramework and it works at home (all it does is to grab the url i've typed and go out to the internet, do something, and redirect back to my local web app)
when i bring my app to office behind the firewall, it stopped working. I think it has to do with the proxy. I'm new to j2ee and I don't know where to look for proxy. so my question is here:
1) how do i do proxy in j2ee? do I need to write my own proxy class?
2) if so where should I place my proxy? is there something like httpclient class?
3) in that case, the j2ee code seems very hard to manage...can i config proxy at the j2ee framework level (i.e. tomcat) ?
thank you