Forums Register Login

Asynchronous Request Processing weird output

+Pie Number of slices to send: Send


When I run this servlet this generates thousand of lines of output.
Whats the problem
+Pie Number of slices to send: Send
I can't get your code to run at all, but I see at least two problems that you need to fix before you'll get anywhere. First, name your class something besides Null. That's a reserved word. Second, look carefully at line 28 and you'll find something wrong.
+Pie Number of slices to send: Send
One error missed ; at the end of line 28.

And I think Java is case sensitive so null and Null are different.
And I checked it it is working
+Pie Number of slices to send: Send
Java is case-sensitive, true. But the underlying OS may not be, and that has resulted in problems on more than one occasion.

Actually, I had a package named "com.mycompany.financials.servapp.core.floomod" or something like that and ran into issues because "core" is the default name for a core dump file and at the time in question, the OS mis-interpreted the "core" directory name to think it was working with a core dump.

So you cannot just just any old name with impunity.

Besides, while the compiler knows that "Null", "NULL" and "null" are different things, when you discuss them with colleages, the relative capitalizations are not going to be as apparent, which can result in a whole lot of confusion.
+Pie Number of slices to send: Send
Oh I am sorry Tim
I am just a kid.
+Pie Number of slices to send: Send
Well, people have been trying to get me to grow up for years.
+Pie Number of slices to send: Send
So what about the problem
+Pie Number of slices to send: Send
What have you done about it? Please post your code updated with the suggestions that have been made.
expectation is the root of all heartache - shakespeare. tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 893 times.
Similar Threads
how to do?
Applets from local machine and files
Question from Marcus Green
methods problem
Nullpointer exception in servlet
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 14:28:14.