Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

redirect url  RSS feed

 
kathir vel
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I gave name and address fields are empty.but the following redirection is not working.Can anyone help me?Thanks.



[BSouther: Added UBB CODE tags]
[ August 08, 2007: Message edited by: Ben Souther ]
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
but the following redirection is not working

What is not working ? Can you tell us precisely what is happening ?

By the way, did you know that there is a "empty" operator in EL ?
 
khushhal yadav
Ranch Hand
Posts: 242
Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi kathir

You either replace ' ' with '' i.e.
Means , it seems as if there is space between your single qoutes.
that's why flow of control is not able to enter in your if loop.

Or do what Christophe is saying that is use


Your code will work fine.

Regards,
Khushhal
 
kathir vel
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Thank you khushhal and Christophe for your clarifications.I got it.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!