Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Servlets
Search Coderanch
Advance search
Google search
Register / Login
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
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Servlets
Default Value of Text Element
Gregg Bolinger
Ranch Hand
Posts: 15304
6
I like...
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
When processing a request in a
servlet
and I say
String
text1 = request.getParameter("textfield1");
And textfield1 has no value, will text1 be null or "" ?
ritchie diputado
Greenhorn
Posts: 5
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
the value will be "".
if textfield1 does not exist on the request the value will be null.
Gregg Bolinger
Ranch Hand
Posts: 15304
6
I like...
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Perfect, that is what I was hoping for. Thanks.
I just had the craziest dream. This tiny ad was in it.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Using javascript in Struts
how to acces text box in same jsp
on lost focus of textbox. + JSP + Server side Validation.
on lost focus of textbox. + JSP + Server side Validation.
Updating the value of Text box
More...