A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
spaces in JSP
Joined: Jun 22, 2012
Nov 06, 2012 09:03:49
what way could I introduce spaces in a jsp. I need separate
<input type="text" name="userButton" id="userEmail" value="n" /> <input type="submit" name="button" id="userButton" value="l"" />
And also give format to them(colour, size...)
Joined: Jan 28, 2008
Nov 06, 2012 09:34:54
I use & nbsp; some time space image. not sure this is what you are looking for.
<edit>space between & nbsp is not required. I given here to show the string here ;) </edit>
Author and ninkuma
Joined: Jan 10, 2002
Nov 06, 2012 09:39:39
just produces HTML, so the answer is the same as how would one do styling in HTML, and that is: CSS.
Asking smart questions
Books by Bear
Joined: May 26, 2003
Nov 06, 2012 12:56:02
Angus: Bear is correct one should use CSS. I still have code that uses though.
Seetharaman: You write & as & so it shows up in the forum.
How To Ask Questions The Smart Way
Blogging on Certs:
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
I agree. Here's the link:
subject: spaces in JSP
communication out.println and request parameter
problem in output format
Getting elements by id
out.print ln dynamic form value picking
How to set data from the DataBase into jsp:useBean tag?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014