• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Automate login..... HELP

 
Tom Ben
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17989
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
Tom Ben
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic