Struts Scripting Overview


Bean Scripting Framework Overview

Before getting into the details of using Struts Scripting, it's necessary to give a brief overview of BSF. BSF is a scripting framework that allows scripting languages to be leveraged by Java applications. As part of this, BSF allows scripting languages to access Java objects and methods. BSF by default supports many popular scripting languages. The following table lists the default scripting languages supported by BSF along with their associated file extension(s).

Language

File Extension(s)

beanbasic

bb

beanshell

bsh

bml

bml

jacl

jacl

java

java

javaclass

class

javascript

js

jpython

py

jscript

jss

judoscript

jud, judo

jython

py

lotusscript

lss

netrexx

nrx

perl

pl

perlscript

pls

pnuts

pnut

ruby

rb

vbscript

vbs

xslt

xslt

Languages not supported by default by BSF can be plugged into BSF by providing a BSF engine for the given language. For more details on BSF, see the BSF Web site: http://jakarta.apache.org/bsf/.



Struts. The Complete Reference
Struts: The Complete Reference, 2nd Edition
ISBN: 0072263865
EAN: 2147483647
Year: 2004
Pages: 165
Authors: James Holmes

Similar book on Amazon
Struts 2 in Action
Struts 2 in Action
Murach's Java Servlets and JSP, 2nd Edition
Murach's Java Servlets and JSP, 2nd Edition
Jakarta Struts For Dummies
Jakarta Struts For Dummies
Head First Servlets and JSP: Passing the Sun Certified Web Component Developer Exam
Head First Servlets and JSP: Passing the Sun Certified Web Component Developer Exam

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net