File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hi

 
singhpore shankar
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a login form and if a user enters username password correctly we should direct the user to some page.
else if it is incorrect we should redirect to login form back
and give him a message and i need to verify usename and password from backend data(i am using ms-access) and JSP
so i need some help
i need source code for this

 
Niki Nono
Ranch Hand
Posts: 256
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you will have to use response.redirect(); function of jsp.
do some R&D on the function and i am sure you will find the correct implementation.
 
lekha phijo
Greenhorn
Posts: 29
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
let the action tag in your jsp direct to another jsp which is like a controller.
This jsp should use response.redirect as mentioned by Niki to ur error page or ..

Good Luck!!!
 
Yuriy Zilbergleyt
Ranch Hand
Posts: 429
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wouldn't that be response.sendRedirect()?
 
Niki Nono
Ranch Hand
Posts: 256
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
my mistake yuriy.
it should be response.sendRedirect but let singhpore look into the details.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic