Jxp 1.5.1
Sponsored Links
Jxp 1.5.1 Ranking & Summary
File size:
1.7 MB
Platform:
Any Platform
License:
LGPL (GNU Lesser General Public License)
Price:
Downloads:
1185
Date added:
2006-08-04
Publisher:
thlee
Jxp 1.5.1 description
Jxp (Java scripted page) is a script-processor/template-engine that can execute template files containing text + java code. Jxp contains a parser to parse the script file into an abstract syntax tree and a tree processor (JxpProcessor) that will process the syntax tree to execute the code using reflection API to produce output.
Main features:
- Java as template language. Why learn another one? ;)
- support common java language 1.4 constructs (partial 1.5 syntax support on jdk 1.4)
- practical template sources management framework
- support caching of parsed syntax tree to eliminate reparse of template
- a servlet implementation to enable web-scripting
- extensible processing context for defining built-in function on the scripts
Below is an example of a script file:
This is normal text
This is text with variable
This is another text with variable `var1`
This is yet another text with expression `var1.toString()`
< %
import java.util.*;
//print
println("This text is printed by jxp");
//populate the list with 1 to 10
var i = 0;
List l = new ArrayList();
for (int i = 0; i<10; i++)
{
l.add(new Integer(i));
}
//include another script
include("config.jxp");
//try and catch
try
{
File f = new File("data.txt");
} catch (Exception e)
{
//do nothing
}
//function definition and function call
function void f1(String arg){
//do somethod
}
f1("test"); //call it here
//synchronize
Object o = new Object();
synchronized (o)
{
//do something
}
% >
Enhancements:
- This release fixes a small dependency problem.
- A syntax was added for specifying text which should not be parsed.
- The plus operator for strings was fixed.
- A default package was added in class lookup.
- Method lookup was improved in ReflectUtils (common-java) using a best match strategy (scoring) instead of first match.
- The ability to lookup a class in the default package was added.
Main features:
- Java as template language. Why learn another one? ;)
- support common java language 1.4 constructs (partial 1.5 syntax support on jdk 1.4)
- practical template sources management framework
- support caching of parsed syntax tree to eliminate reparse of template
- a servlet implementation to enable web-scripting
- extensible processing context for defining built-in function on the scripts
Below is an example of a script file:
This is normal text
This is text with variable
This is another text with variable `var1`
This is yet another text with expression `var1.toString()`
< %
import java.util.*;
println("This text is printed by jxp");
//populate the list with 1 to 10
var i = 0;
List l = new ArrayList();
for (int i = 0; i<10; i++)
{
l.add(new Integer(i));
}
//include another script
include("config.jxp");
//try and catch
try
{
File f = new File("data.txt");
} catch (Exception e)
{
//do nothing
}
//function definition and function call
function void f1(String arg){
//do somethod
}
f1("test"); //call it here
//synchronize
Object o = new Object();
synchronized (o)
{
//do something
}
% >
Enhancements:
- This release fixes a small dependency problem.
- A syntax was added for specifying text which should not be parsed.
- The plus operator for strings was fixed.
- A default package was added in class lookup.
- Method lookup was improved in ReflectUtils (common-java) using a best match strategy (scoring) instead of first match.
- The ability to lookup a class in the default package was added.
Jxp 1.5.1 Screenshot
Jxp 1.5.1 Keywords
template files
Jxp 1.5.1
Java code
files containing
JXP
java
text
template
code
syntax
Jxp 1.5.1
Interpreters
Programming
Bookmark Jxp 1.5.1
Jxp 1.5.1 Copyright
WareSeeker periodically updates pricing and software information of Jxp 1.5.1 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Jxp 1.5.1 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
java runtime
text messages
java games
glitter text
understanding pligg template files
java sample programs source code
textron
java downloads
text twist
template files wordpress
javanoid
java runtime environment
texts from last night
text message break up
cheap textbooks
javascript code
what is java
java code hack
Version History
Related Software
libvarexp is a C++ library that allows its users to detach any kind of information from the representation of that information. Free Download
pong_curses is an implementation of pong in glorious text mode. Free Download
PIDA is the Python Integrated Development Application. Free Download
Pedeto is a plugin for Eclipse that provides a fully featured IDE for Perl. Free Download
OpenSign is a collection of Java applets providing client-side digital signing functionality using x.509 certificates. Free Download
Spket IDE project is powerful toolkit for JavaScript and XML development. Free Download
TemplAT is a general-purpose text-file template engine, designed to be used as an API from Java applications or servlets. Free Download
(g)WebcppUI is a Gtk+ port of WebcppUI. Free Download
Latest Software
Popular Software
Favourite Software