Best way to open new browser window - HTTP request in java or webpage
posted 5 years ago
I have a web page that based upon the users actions, submits a request to a servelet. The servelet uses a properties file and what the user selected to build a url. I need to now open a new browser tab / window using that url. I could perform these actions on the web page, but I'm not sure which is best or exactly how to do it in java.
I've learned about using URLConnection, but I'm not sure what to return so that the new page is opened. The Url is to a page from a different app running on a different server.
look! it's a bird! it's a plane! It's .... a teeny tiny ad
the new thread boost feature: great for the advertiser and smooth for the coderanch user