I want to be able to click a button from my JSP page that will redirect to my amazon.com account and open up the link for how many of my products have been sold. But I am not to sure if this can be done. I have just started with JSP and Servlets so also would a Servlet be better for this?
Well, first off, you can't "click a button on a JSP page". A JSP is a template for a web page, not a web page itself. So you'd have to "click a button on the HTML page generated from the JSP and sent to your client (browser)". Beyond that, I'm not sure what you mean. A simple < a href=... > tag is enough to send the user from a "local" page to a "foreign" one. If what you wanted was a sort of "picture-in-picture" view of site B while at site A, that's an old framing trick. Of course there are also tricks used by many sites to PREVENT them from being framed by another site...
Customer surveys are for companies who didn't pay proper attention to begin with.
Joined: Aug 17, 2001
First I know that you click a button is a HTML page but I want the user to click a button go to a nother web site and have my JSP dynamiclly fill in all the users info and then log them in.