Hi I'm very sorry for the delayed reply, didn't have internet the past few days, anyway the reason why I can't directly do this: Why cant you do Window.open("
http://localhost:8080/docs_for_preview/result") is because I am not only using my localhost as the container for the application. I am deploying it in some other server and I wouldn't be able to hardcode this: localhost:8080 in there. I am also launching the my_app application, remember in my directory:
TOMCAT
- webapps
-- docs_for_preview
-- my_app
and so, when Window.open launches, it launches via the context root:
http://hostt:port/my_app/docs_for_preview/result which does not work since docs_for_preview is outside of my_app. What can I do such that even if Window.open is called from my_app, it can still call dynamically go back to
http://host:port/docs_for_preview?
Thanks!!!