How to redirect jsp page without page being loaded?

Joined
Jun 30, 2009
Messages
2
Reaction score
0
Hi.

I have a page that redirects to an external website. The external website is not mine and therefore I cannot modify it.

What I do is that I pass username and password details from my login page to the site, and use the external website's database for authentication. If parameters are correct, the external website will display login successful, otherwise, it would display an error. I have already tested the method: 'hhtp://externalsite.com?username=user&password=pass" and it works.

What I would plan to do is: 1. redirect my login page to the site. 2. check if login details are correct via the site's database 3.redirect to my own local page afterwards.

So basically, i would like to use the external website's database so that i do not need to make my own user database. So how can I redirect the page to the site and redirecting it back to my local page? any ideas from the experts? thanks.

Luigi
 
Last edited:

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top