This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Servlets and the fly likes online html editor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "online html editor" Watch "online html editor" New topic
Author

online html editor

Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
Hi,
I would like to a provide a online html editor in one of my web-application(servlet,jsp). A online html editor like the one in hotmail compose(rich text editor), yahoomail compose(color and graphics), is it possible ?? if so can you give me some reference links..
Regards
Balaji
Garrett Smith
Ranch Hand

Joined: Jun 27, 2002
Posts: 401
This is more appropriate for dhtml, I think.
It would be possible to make an html editor with server side technology. You'd need either frames or XMLHttpRequest (mozilla, win IE) on the client.
http://unstable.elemental.com/mozilla/build/latest/mozilla/extensions/dox/interfacensIXMLHttpRequest.html
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk30/htm/xmobjxmlhttprequest.asp
I wouldn't do it that way; It would require users to wait for each reply.
The one in yahoo is windows-only and only works in IE. I think the mozilla team is working on isContentEditable for mozilla. You might try to use the Range object for moz.


comp.lang.javascript FAQ: http://jibbering.com/faq/
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
Thanks a lot for the info Smith,
I will look into them now.
Regards
Balaji
 
jQuery in Action, 2nd edition
 
subject: online html editor