File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Automate login..... HELP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Automate login..... HELP" Watch "Automate login..... HELP" New topic
Author

Automate login..... HELP

Tom Ben
Ranch Hand

Joined: Aug 17, 2001
Posts: 109
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?


Sun Certified Programmer on the Java 2 Platform
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15632
    
  15

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.
Tom Ben
Ranch Hand

Joined: Aug 17, 2001
Posts: 109
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Automate login..... HELP
 
Similar Threads
where do i put my jsp
Need to access a variable in jsp from action class
JSP views rendering 0 bytes and HTTP 200
How to configure jsp-flow.log file in log4j.xml file ?
how to call JSP from Servlet