Soumil Shah

Ranch Hand
+ Follow
since Jul 13, 2009
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Soumil Shah

I guess there is a problem with IE. Once I had also faced the same problem. Just try it with firefox or any other browser to confirm...
What I am doing right now is.... Let's say on 'SearchCriteria.jsp" user enters only first name and clicks 'Submit' button... control goes to servlet, which validates the criteria, if failed sets the attribute and forwards it to 'error.jsp' where I am simply displaying it on the page using What I want is, instead of displaying on page, a warning / error box will be displayed with an error message.
11 years ago
JSP
Hi,

I want to create a custom message box to display warning / error message.

For instance, user wants to search particular customer's details, so he enters 'Last Name'.... but there some predefined criteria / validations .... like while searching, user has to enter both 'Last Name' AND 'First Name' / 'Last Name' AND 'DOB' etc.

So when user enters ONLY 'Last Name', i want to show error message box (not an alert box).

Please help me with this.
11 years ago
JSP

Pat Farrell wrote:

Soumil Shah wrote:it is better if girls could answer to this...


You are so silly. This is a developers forum. I bet the ratio is 90 guys to ever 10 girls, or worse, maybe 99 to 1.


OK..Pat.. So at least that 10 girls or 1 girl should answer... don't get frustrated Pat....
11 years ago

John Todd wrote:Is it true that girls like music players or it is just a myth?


it is better if girls could answer to this...
11 years ago
also you are not using curly braces for if-else conditions... as there are more than one statements within them... it should be...


One more suggestion.. instead of if-else, you could also achieve this with switch-case....
11 years ago

Ulf Dittmer wrote:

Soumil Shah wrote:the number in the middle of each triple is the same as the digits of the number at either ends when added together.


4+2 = 11 ?


good catch... it should be 47...
11 years ago

pawan chopra wrote:I would like to know What topics in maths one should know to learn algorithms?


entire maths...
11 years ago
Here is another one...
There are four 3-digits natural numbers; each of them equals the sum of the cubes of its digits. Three of them are :
153=1+125+27
370=27+343+0
407=64+0+343

What is the fourth one? It does not begin with 0, otherwise it isn't 3-digit number.
11 years ago

fred rosenberger wrote:6


the number in the middle of each triple is the same as the digits of the number at either ends when added together.
e.g. 3+7=10=8+2
11 years ago
So finally whats the missing number?
11 years ago
Can anyone discover the missing number?
37,10,82
29,11,42
96,15,87
42,?,15
11 years ago

Jesper Young wrote:
Please send me all your money on 20 December 2012, you won't need it anyway after the world has ended.


no money...
11 years ago