Results 1 to 3 of 3
  1. #1
    DoubleDee is offline Member
    Join Date
    Aug 2010
    Location
    Arizona
    Posts
    28
    Rep Power
    0

    Default Handling Error Messages?

    I have a "Create Account" web form, and am looking for a better way to handle (non-validation) error-messages.

    When the form is submitted, I process the form and assign various "outcome codes" (e.g. 61='Insert Succeeded') to a session variable, and then redirect to an "Outcome Page" where I use a switch statement to display the appropriate message.

    How do you handle error codes/message?

    Any suggestions to create a more sophisticated approach?

    Thanks,


    Debbie

  2. #2
    pbrockway2 is offline Moderator
    Join Date
    Feb 2009
    Location
    New Zealand
    Posts
    4,565
    Rep Power
    12

    Default Re: Handling Error Messages?


  3. #3
    vinci123 is offline Member
    Join Date
    Aug 2011
    Location
    INDIA
    Posts
    64
    Rep Power
    0

    Default Re: Handling Error Messages?

    on web page you might better with javascript in validation

Similar Threads

  1. Help, please. I don't understand these error messages.
    By DarkExperience in forum New To Java
    Replies: 32
    Last Post: 12-05-2011, 07:58 PM
  2. Cannot figure out error messages
    By Teclis in forum New To Java
    Replies: 6
    Last Post: 03-29-2011, 09:31 PM
  3. [SOLVED] error messages
    By raghu9198 in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 12-10-2008, 06:21 AM
  4. Error Messages Not Showing Up
    By nvidia in forum Web Frameworks
    Replies: 0
    Last Post: 04-07-2008, 10:41 PM
  5. Jsf Error Messages - Retain
    By vaswin in forum JavaServer Faces (JSF)
    Replies: 0
    Last Post: 08-05-2007, 08:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •