03-17-2006
Code conversion from JSP to PYTHON
Guys
I need to convert a code from JSP (Java Tags are also there inside JSP) to PYTHON.
I have OK kind of knowledge in PYTHON, but dont have a muck knowledge in JAVA/JSP.
Any idea how to approach?
Thanks in advance to all
C Saha
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
We have an HP UX-11 server running Unix and we wish to run Java Server Pages on this system. Can anyone see a reason why these pages will not work under this environment.
Thanks for you help.
Matthew (2 Replies)
Discussion started by: MLarra51
2 Replies
2. Programming
Hello..
is there any way to send a file or a string from jsp website to java program
which all I will develope
i remember that i can make socket connection between jsp and java but:confused::confused:
I dont now how
if there any website or booke explain that or if there another way ... (2 Replies)
Discussion started by: vip_a1
2 Replies
3. Shell Programming and Scripting
Hello All,
I have some python code that pulls together titles and displays them on web pages.
Here is the section of code I am struggling with:
#string to grab title
titlePattern =r'''\s*(\(+\))?(?P<title>.*)'''
#returns the title part of the subject line
def getTitle... (0 Replies)
Discussion started by: jhampt
0 Replies
4. UNIX for Advanced & Expert Users
Good evening, everybody
A good math friend told me that it would be possible to shrink the size of the numerical datas I produce with a physical simulation code I programmed for my PhD.
It usually writes at least 100 GB to complete the simulation, and it seems that it is too high. There are... (7 Replies)
Discussion started by: Cybertib
7 Replies
5. Shell Programming and Scripting
I have a file command.txt. It's content are as follows:-
The content of file is actually a command with script name and respective arguments.
arg1 and arg2 are dummy arguments , format : -arg arg_value
test is a argument specifying run mode , format : -arg
In my python code, i read it and... (1 Reply)
Discussion started by: animesharma
1 Replies
6. Shell Programming and Scripting
How to convert below bash code in perl and python.
for BLOCK in /sys/block/emcpow*
do
echo "100000" > "$BLOCK"/queue/nr_requests
echo "noop" > "$BLOCK"/queue/scheduler
done (2 Replies)
Discussion started by: learnbash
2 Replies
7. Shell Programming and Scripting
Hi All,
I am looking for a generic code which can search for the existing delimiter(what ever it may be) in a file and convert it to Pipeline. The file may have Pipeline delimiter already in that case just leave it. Please find below some sample records.
Sample records1:
... (2 Replies)
Discussion started by: Arun Mishra
2 Replies
8. Programming
Hi. I have timestamps that I am trying to convert to epoch time. An example:
I am trying to convert this to an epoch timestamp but have one little glitch. I have this:
import time
date_time = ''
pattern = ''
epoch = int(time.mktime(time.strptime(date_time, pattern)))
print epoch... (1 Reply)
Discussion started by: treesloth
1 Replies
9. Shell Programming and Scripting
Hi experts -
I'm relatively new to python, but I have an requirement to automate getting a file from a WebLib server using an API.
The file I'm requesting from this sever is an excel spreadsheet (.xlsx).
I get a valid response back via an xml doc from the server.
In this xml file I get... (8 Replies)
Discussion started by: timj123
8 Replies
10. Programming
Hello everyone ,
I need your help to end my python code.
I've this code in python :
from ipywidgets import interact, Dropdown
from ipywidgets import *
from ipywidgets.embed import embed_minimal_html
import pandas as pd
import os
import sys
#################### Dropdown servers... (1 Reply)
Discussion started by: Tim2424
1 Replies
LEARN ABOUT DEBIAN
janinoc
JANINOC(1) General Commands Manual JANINOC(1)
NAME
Janino - a runtime Java Compiler.
SYNOPSIS
janinoc [options] source-file ...
DESCRIPTION
Janino is a compiler that reads a Java expression, block, class body, source file or a set of source files, and generates Java bytecode
that is loaded and executed directly. Janino is not intended to be a development tool, but an embedded compiler for run-time compilation
purposes, e.g. expression evaluators or "server pages" engines like JSP.
janinoc is a front-end that compiles all specified input files.
OPTIONS
-d output-dir Where to save class files
-sourcepath dirlist, -extdirs dirlist, -bootclasspath dirlist
Where to look for other source files
-encoding encoding
Encoding of source files, e.g. "UTF-8" or "ISO-8859-1"
-verbose
More output.
-g [none|{lines,vars,source}]
Generate all, no, or only some debugging info.
-warn:pattern-list
Issue certain warnings, examples:
-warn:* All warnings
-warn:IASF Only warn against implicit access to static fields
-warn:*-IASF Enables all warnings, except those against implicit access to static fields
-warn:*-IA*+IASF Enables all warnings, except those against implicit accesses, but do warn against implicit access to static fields
-rebuild
Compile all source files, even if the class files seems up-to-date
-help Prints a help message
AUTHORS
The Janino Team http://janino.net/
Arno Unkrig <aunkrig@codehaus.org>
Janino July 2007 JANINOC(1)