Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / May 2005

Tip: Looking for answers? Try searching our database.

displaying error message on the new error.jsp page

Thread view: 
ashutosh - 27 May 2005 06:35 GMT
i m making a project in which i m using jsp as front end, java servlet,
java beans and mysql database.
now when i enter user_id and password on my login screen(jsp page) it
authenticates with the database. if it matches its ok but if not it
displays the sql error message on the internet explorer window. i want
that when such error generates a new jsp page(error.jsp)  opens
dynamically and show that error. can anybody suggest which additional
coding (or changes) do i require in my jsp page, servlet or java beans
to implement this concept.
OR u can suggest any valuable link(URL) on internet which can help me.
Manish - 27 May 2005 06:50 GMT
Hi,
 in page directive u need to write errorPage="error.jsp"
and isErrorPage="false" and
In error.jsp , isErrorPage="true"
This is in case of exception and error.
Manish


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.