File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes no-break space equivalent tag in JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "no-break space equivalent tag in JSP" Watch "no-break space equivalent tag in JSP" New topic
Author

no-break space equivalent tag in JSP

John Lincoln
Ranch Hand

Joined: Feb 11, 2003
Posts: 192
Hi,

I have to insert a lot whitespaces in my pages. Is there a equivalent of

in taglibs of JSP.

Please help.

thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60745
    
  65

JSP has nothing to do with the issue. JSP is a templatng technology to create HTML to send to the browser.

You would create whitespace just like with any other HTML page.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Jason Cox
Ranch Hand

Joined: Jan 21, 2004
Posts: 287
You can use an HTML entity for a non breaking space. Unfortunately, everytime I try to use the entity the forum parses it.

Try this link -
http://www.w3schools.com/tags/ref_entities.asp

There is a non-breaking space entity on the list.
[ September 27, 2006: Message edited by: Jason Cox ]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60745
    
  65

 
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60745
    
  65

Or, of course, you could use CSS margins and padding.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: no-break space equivalent tag in JSP
 
Similar Threads
if loop inside for loop problem
Newbie-general question: interaction b/w jsp, beans, and servlets
Jsp equivalent code for asp code-->response. isClient Connected()
how to pass data from view to model?
mySQL INTEGER == LONG in Java and ....???