• 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
  • Devaka Cooray
  • Tim Cooke
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
Saloon Keepers:
  • Piet Souris
Bartenders:

Server Side JavaScript in .jsp

 
Ranch Hand
Posts: 249
Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a book (Beginning JavaScript by Paul Wilton) which has a chapter on server side JavaScript, but it uses (pardon my language, but it is necessary for the discussion) .asp pages (hope I didn't offend anybody). Does .jsp also support server side JavaScript, or does it depend on the server?

Thanks.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
On the server, but I am not sure why would would need to use server side JavaScript since JSP should be able to do the same thing.

Eric
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Take a look at the "Bean Scripting Framework" http://jakarta.apache.org/bsf/ - a system supporting scripting languages within Java - they specifically mention JSP. According to that page, BSF supports:

Javascript (using Rhino ECMAScript, from the Mozilla project)
Python (using either Jython or JPython)
Tcl (using Jacl)
NetRexx (an extension of the IBM REXX scripting language in Java)
XSLT Stylesheets (as a component of Apache XML project's Xalan and Xerces)


Bill
 
Mike Firkser
Ranch Hand
Posts: 249
Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
More of a curiosity then a "I want to do this". As I said, I saw in a book that you can use it with .asp. I have no experience with .asp, so either it (server side Javascript) supplements .asp, or the author just thought it was neat.

I just tried some experimenting with it using Weblogic, and it didn't seem to work.

Thanks for the quick reply.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic