Help coderanch get a
new server
by contributing to the fundraiser

heiner weilandt

Ranch Hand
+ Follow
since Sep 10, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by heiner weilandt

thanks a lot!
it works with the substring!
it's so easy.....
20 years ago
thank you for answering, but i'm a beginner and i don't know what you mean. can you give me an code-example like mine code above ?
i use the CLOB not a BLOB, sorry! i use it, but i don't know the length of this field. it could be 1 byte or 10000 bytes...
heiner
20 years ago
hi everybody,
my problem is to convert a blob-field to a string. i'm trying this, but i get only something i can't read like "[B@1a116c9"


20 years ago
i'm a newbie in xml.
can i convert a ResultSet into an XML-File with java and any package and HOW ? (a little example,please)
i want to convert the complete ResultSet in XML and the other way a complete XML-File with the same naming-rules to an ResultSet or database.
what is the right method of resolution. is any tool available ?

thanks for help
heiner
hi,
i have a problem to connect from an as/400 (websphere 4) to call an cobol-pgm on another as/400 about the ibm protocol sna.

with tcp/ip it works fine, but over an sna - protocol the as/400 prompt: "unknown host exception"
it is possible to connect over sna ?
thanx
heiner
21 years ago
hi,
i believe you want to do this:
HttpSession session = request.getSession();
// get bean from session
Bean Bean = (Bean) session.getAttribute("BeanId");
// example to call a getter-method from this bean
String value = AppFormBean.getValue();

hope this help
heiner
21 years ago
hi,
i want to develop an servlet that takes unknown post-parameters one by one and take it to a mail. i have the problem that the right sort of these fields in the html-file are changes. i don't know the names of the parameters and i don't know how many parameters they are.
- do you habe any idea, how i can get the orignial-sort from the html-file ?
- can i get the original content-parameter-string and do it one by one on my own ?
please help.
heiner
21 years ago
thanks for reply.
but i don't want a tool to translate automaticly. i want a tool that manage the property-files, like original-text-file and translation-text-file. this tool should manage the files and there content. the translation is made by us (human).
can you help me ?
21 years ago
i'm searching for a freeware-tool, that can be used to translate a complete resource-file (ex. german) into another property-resource-file (ex. french).
this tool should be used by an simple translator-user, that see the original text an can input the translation text and change them time by time.

does anybody know, where i can find that tool ?
thanks heiner
[ March 18, 2003: Message edited by: heiner weilandt ]
21 years ago
thanx for your answer, but it's my opinion to use the Locale without scanning any string to convert by hand.
i believe the right questions is to convert the java-internal-codepage to iso-8859-15.
[ March 06, 2003: Message edited by: heiner weilandt ]
21 years ago
JSP
i dont't want to display the euro-symbol by hand. i want to use the upper code to convert automaticly the currency by the Locale.
i think it is a problem by convert from html to internal java codepage. i use the jsp(html) and the java System.out.println() display this as "?". then i returned this "?" symbol by a getter-method to the jsp(html) and it's a "�" ???

i believe the Locale have the same problem to convert from java into this html-code, in this case iso-8859-15.
what is the internal java codepage ?
what can i do to convert between this two sides ?
or i'm wrong ?
21 years ago
JSP
hi,
i want to display the currency euro in a browser (JSP with a bean) and i got the problem that the "�" is displayed as a "?". by using System.out.println() the "�" is correctly displayed in the command. in html, i use "iso-8859-15".
---------------------------
Locale locale = new Locale ("fr","FR","EURO");
NumberFormat format = NumberFormat.getCurrencyInstance(locale);
return format.format(1234.56);
---------------------------
i use tomcat 4 and websphere 4 with jdk 1.3.1
thanks for help
heiner
[ March 06, 2003: Message edited by: heiner weilandt ]
21 years ago
JSP
i'm trying this:

and this exception apears in line 2:
java.lang.NullPointerException

whats wrong ?
LTPA and SSO are enabled.
21 years ago
i'm trying this:

and this exception apears in line 2:
java.lang.NullPointerException

whats wrong ?
LTPA and SSO are enabled.
21 years ago
yes, i found that class ! thanks. i'm trying.....
but:
i don't want to response an error, i want to response an code or something, that the browser comes up with the pop-up of a login-mask. is it possible to do this by an servlet, that is reachable by public users ?
21 years ago