Win a copy of TensorFlow 2.0 in Action this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Checking user input in servlets-4a

 
Sheriff
Posts: 4012
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Up to now I've been using a javaranch.common method to check that the necessary fields were filled in. Just found out that it will accept a string made up of spaces only (user can just enter spaces in the forms). Do we need to build in a check against that?
Thanks,
Pauline
 
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You think I am going to help you catch up to me? No way!
If I remember correctly, I did receive a nitpick for not checking that.
 
Pauline McNamara
Sheriff
Posts: 4012
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Matt. No need to worry about me, I'm just moseyin' along nice and slow like.
 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think I'm being pointed to such an animal from nitpicks I'm getting for Reverse Servlet. It checks that kind o stuff.
rick
 
Ranch Hand
Posts: 424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Easy solution:
Direct hints edited out. Peter, please don't post this kind of hint here, it doesn't help students who would rather go look for the solution themselves. The question above asked WHETHER something should be done, not HOW.
[ May 15, 2002: Message edited by: Pauline McNamara ]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic