This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes JDOM in Javascripts? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "JDOM in Javascripts?" Watch "JDOM in Javascripts?" New topic
Author

JDOM in Javascripts?

Yo Da
Greenhorn

Joined: Jun 10, 2004
Posts: 2
Hi,

I have a question about JDOM and Javascripts. Is it possible for me to use a javascript in a HTML page that uses JDOM? Or must I create a servlet that handles JDOM?

Thankful for any replies.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
JDOM is not available to JavaScript code -- it's a Java API (i.e. you need to create the servlet).

PS. I'm moving this thread to the XML forum where it belongs.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JDOM in Javascripts?
 
Similar Threads
mistake in for loop
Looking for correct data type to take in stream of xml
XML APIs?
Document Object
html:multibox