PHP-like embedded scripting in HTML with Java.

termer
termer
Aug 01, 2018
(more info)
A little sneek peek at a feature on I'm working on for my webserver.

Twister (the webserver)
https://github.com/termermc/Twister
More From: termer
Related Videos
4 ratings
71 views
Want to add this video to your favorites?
Sign in to VidLii now!
Want to add this video to your playlists?
Sign in to VidLii now!
Want to add flag this video?
Sign in to VidLii now!
Video Responses (1) Sign in to make a video response
Text Comments (3) Sign in to post a comment
skreutzer (3 weeks ago)
skreutzer
0
3:06 Isn't there a semicolon missing? Are you actually compiling to Java bytecode and running it, or interpreting Java? In any case, what about security/sandboxing? What's out.append(), a predefined object in your TES scripting/programming environment?
Show all 3 replies
skreutzer (3 weeks ago)
skreutzer
0
@termer Looking at the code briefly the second time, it looks like the server is dispatching the route to Document.process(), which reads a corresponding servers-side scripting file and passes it to a BeanShell interpreter, which then executes the Java methods of your environment like Document.Out.append(). Is that what's going on? Maybe just in other, my words :-) Didn't know about BeanShell before, so +1.
termer (3 weeks ago)
termer
0
@skreutzer You're exactly right
skreutzer (3 weeks ago)
skreutzer
0
0:39 Isn't there a semicolon missing?
termer (3 weeks ago)
termer
1
@skreutzer It is missing, but it doesn't matter in this case.
skreutzer (3 weeks ago)
skreutzer
0
@termer True of course.
JC (1 year ago)
JC
-1
speak up retard
termer (1 year ago)
termer
0
@JC Turn your volume up
Sign up for a free account, or sign in to post a comment.
Date: Aug 01, 2018 Views: 71 Ratings: 4
Time: Comments: 3 Favorites: 0