Samuel Behrman

Ranch Hand
+ Follow
since Oct 02, 2009
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Samuel Behrman

Well if the code fragment you give above is literally what you are writing, then you are setting id to the text "myId". When you try to parse this as a Long it throws an exception because the string is not a valid number -- it doesn't contain any digits.

I presume what you want to say is something more like

frm.action="second.jsp?id="+myId

Assuming that myId has been defined somewhere and is a number.
9 years ago
Hi, Abhishek.
In my opinion, you can have a try of RAQ Report. With it, you can make report easily and then export it to Excel. The only thing you need to do is selecting desired function in the menu.
An example is shown below:


I wish this would be helpful.
Regerds,
Behrman.
The upload functionality (the file input element) in current browsers does not support this. Therefore it is not possible with a serverside techology.

You can not even try to automate it with DHTML autofilled file input fields either since the element is write protected for obvious security reasons.

You would need more than a little clientside (Java) coding to accomplish something like that.

I'd recommend teaching users to zip their folders (which is easy with a right click on Win) and then upload them. You could then automate the unzipping process of the folder(s) on the server.
9 years ago
JSP
The "JDK" is the Java Development Kit. I.e., the JDK is bundle of software that you can use to develop Java based software. The "JRE" is the Java Runtime Environment. I.e., the JRE is an implementation of the Java Virtual Machine which actually executes Java programs.

Typically, each JDK contains one (or more) JRE's along with the various development tools like the Java source compilers, bundling and deployment tools, debuggers, development libraries, etc.
9 years ago
Direct conversion is not possible without using some UDF, but you can extract text using SUBSTRING function:

DECLARE VARIABLE c1 VARCHAR(32000);
SELECT SUBSTRING(blob1 FROM 1 FOR 32000) FROM t1 INTO c1;

Please note that maximum length for VARCHAR is 32767 bytes (which might be less characters in multi-byte character sets like UTF8).

Various database access layers also have ability to retrieve BLOB data as string. For example, in PHP you could use:

$row = ibase_fetch_assoc($qry, IBASE_TEXT);

This automatically converts all textual BLOBs to VARCHARs, so you don't need to fetch blobs writing specific PHP code.
I think you've hit the nail on the head.

A possible way to ease the burden would be to factor out a method

void setUpEnvironment(ProcessBuilder builder) {
Map<String, String> env = builder.environment();
// blah blah
}
and pass any ProcessBuilders through it before starting them.

Also, you probably already know this, but you can start more than one process with the same ProcessBuilder. So if your subprocesses are the same, you don't need to do this setup over and over.
9 years ago
I think it is jdk6.
9 years ago
You can use native compilers but produced applications are native and there are a lot of problems with debugging.
(http://www.geocities.com/SiliconValley/Lakes/6686/jcomp.html#native)

My advise is to use exe that launches java virtual machine. These are tools similar to javaw application, which contain information about classpath, java and app parameters internaly. They load jvm.dll (java.dll) and invoke main method of main class.

You can visit http://www.geocities.com/j2exe
There is a free tool for non-comercial use.
9 years ago
In my opinion, you can download a converter here:
http://www.word-to-pdf.com/
9 years ago
Do you simply want to change the English letters into Arabic? You could try mapping from English letters to Arabic, but remember that some English letters are read in groups, eg SH, TCH, STR (as in construction and instrument) and that is difficult to transliterate.
9 years ago