Offtopic: Could you please post to this mailing list in plain text?

2002-01-29 Thread Kai Hackemesser
Hi, it would be nice if you post in plain text. Half of the messages yesterday were not. ciao! Kai === To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For digest: mailto [EMAIL PROTECTED] with

Re: What is SQL SELECT Syntax for strings?

2001-05-11 Thread Kai Hackemesser
conn.prepareStatement(SELECT FROM PRODUCTS WHERE DESC = (?)); should be SELECT * FROM PRODUCTS WHERE DESC LIKE '%?%' === To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For digest: mailto [EMAIL

Urgent: How may I ...

2001-03-07 Thread Kai Hackemesser
Hi! how may I force a new User/Password Input Dialog when I used WWW-Authenticate for User-Check? If the user has first time logged in, and I want him to be logged out, and he again wants to be logged in, the browser keeped his login data in mind. The user hasn't to reenter his data. But I want

Re: can I use DLL on Windows in JSP

2001-03-06 Thread Kai Hackemesser
know there is no possibility to access DLLs from Java classes. ciao! Kai Hackemesser === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body

Re: can I use DLL on Windows in JSP

2001-03-06 Thread Kai Hackemesser
Well, if your jsp/servlet will reside on a Windows machine, an easy way to use your DLL's would be to make a Java wrapper in Visual J++ and call the DLL's methods from those... hmm. That may be possible. But is that 100% pure JAVA? I think not. I'm a 100% pure JAVA programmer. ciao! Kai

Re: can I use DLL on Windows in JSP

2001-03-06 Thread Kai Hackemesser
I 'm very new user of JSP. I 've a problem here, I 've many DLL(restore in windows\system32\) files that I was use it like ASP service object. Now, I very interrest in JSP and wanna know can I use it like past? You can't. JSP is Java (!) Server Pages. You can access every Java class in

response.getHeader(Authorization) and further

2001-03-06 Thread Kai Hackemesser
Hi! I want to make the authorisation of a user, who is logged in, invalid. The situation is following: The user has logged in: String authorization = request.getHeader("Authorization"); if(authorization == null) { response.setStatus(response.SC_UNAUTHORIZED);

out.flush()

2001-02-22 Thread Kai Hackemesser
"Inserting in table yyy" etc.). But the JSP page appears on screen not before everything has been done. I tried to force output with out.flush(), but even then output doesn't come up until end. So my question is: how may I get the JSP output to screen at once? c

Re: Sequence Problem

2001-02-21 Thread Kai Hackemesser
You should ask that the writers of your JDBC driver. - Original Message - From: sandarbh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 21, 2001 3:20 PM Subject: Re: Sequence Problem if we use column index it does not give a problem but then same should apply for

Re: sorta offtopic maybe

2001-02-20 Thread Kai Hackemesser
Hi, Daniel, 1. you may try http://www.asplists.com/asplists/aspjscript.asp for scripting questions. 2. the alert window is (like the commit window) not changeable, they are some kind of system funktion. If you need to get a custimizable dialog box you should write your own. ciao! Kai -

Re: string to vector conversion?

2001-01-10 Thread Kai Hackemesser
a function as follows: public Vector FieldToVector (String[] Field) { Vector Output = new Vector(); for (int i=0; i Field.length; i++) { Output.add(Field[i]); } return Output } You can now call Vector v = FieldToVector (request.getParameterValues("pld_scripisin"));

Re: Database is freaking out!!!!

2000-12-22 Thread Kai Hackemesser
If your mySQL table has a timestamp field and you update or insert a row without setting a value to the timestamp field, it will be set to actual time. This is valid for the first timestamp field only if there are more than one in a table. This is documented in mySQL documentation. Kai

Re: can not get columntype of date

2000-12-20 Thread Kai Hackemesser
in JDK documentation that it can lead to unpredictable results (depends on database and/or row length), if you request the same field two times. Solution: get your field contents in extra variable if you need them more than one time. ciao! Kai Hackemesser - Original Message - From: Alp

Help with Tomcat Installation needed

2000-12-20 Thread Kai Hackemesser
to increase that environment space in config.sys by inserting comspec=c:\win\command.com /e:32768 /p, but that didn't help. How do I get rid of that problem? ciao! Kai Hackemesser === To unsubscribe: mailto [EMAIL PROTECTED

out.flush() - or how do I show partially created pages?

2000-12-07 Thread Kai Hackemesser
Hi! My question: I want to show my jsp page partially on creation. I make many administrative database accesses with it and I want to see the process status. I tried to show my page partially by calling out.flush(), but this didn't wort as I thought. How do I show partially created pages? ciao!

Re: How do I display a Greek character in JSP? - Urgent ...

2000-12-04 Thread Kai Hackemesser
http://www.w3.org/TR/html4/sgml/entities.html#h-24.3 - Original Message - From: G.Nagarajan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 04, 2000 10:35 AM Subject: Re: How do I display a Greek character in JSP? - Urgent ... Hi king, The pages are in German. Do you

Re: a doubt on sessions

2000-11-29 Thread Kai Hackemesser
I have a doubt on session, can any body tell me if it is necesary to invalidate a session when the user presses a button that have a the following javascript code: "javascript:window.top.close()", that closes the browser window?. The session invalidates after time when the browser was

list admin: Please remove dead emails and Out-of-Office-Idiots - PLEASE!!!

2000-11-29 Thread Kai Hackemesser
- The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to mail.hotmail.com.: RCPT To:[EMAIL PROTECTED] 550 Requested action not taken:user account inactive 550 [EMAIL PROTECTED]... User unknown

Re: session invalidate

2000-10-23 Thread Kai Hackemesser
%@ page session="false" % will preserve you from automately created sessions. - Original Message - From: [EMAIL PROTECTED] [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, October 23, 2000 1:33 PM Subject: session invalidate Hi, I have a servlet that in case of no-session call a

How comes...

2000-10-17 Thread Kai Hackemesser
Hi! I'm using apache + Tomcat. I get following error on my request: Internal Server Error The server encountered an internal error or misconfiguration and was = unable to complete your request. ... Apache error log says: [Tue Oct 17 15:06:24 2000] [error] [client 127.0.0.1] Premature end of =

Re: Problems with flush???

2000-10-16 Thread Kai Hackemesser
JSP-Servlets never show code in the browser, if it is within the % % tag. If you have this problem with all of your pages, you should check if you have configured your jsp-server correctly. Kai - Original Message - From: Camilla Straubel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: Problems with flush???

2000-10-16 Thread Kai Hackemesser
: Camilla Straubel [EMAIL PROTECTED] To: 'Kai Hackemesser ' [EMAIL PROTECTED] Sent: Monday, October 16, 2000 11:09 AM Subject: RE: Problems with flush??? Hi Thanks for your answere. The problem is this donĀ“t happens all the time. Do you know if their is a max buffer that can be displayed in a JSP

Re: why it could not find the servlet the second time around?

2000-10-16 Thread Kai Hackemesser
I may help with own experience. JSP Servlets will be removed from the threads if they aren't used some time. your descriptions looks like you initialize something which on second initialisation causes an error. So I think you have some variables in a %! % tag which will be responsible for this.

out.flush()

2000-09-27 Thread Kai Hackemesser
Hi! I want to send my html page part by part (giving the user status of some database operations). i tried calling out.flush() explicitly, but my page allways comes up at the end of my jsp page. why? how can I change that? ciao! Kai

Fw: out.flush() (urgent)

2000-09-27 Thread Kai Hackemesser
- Original Message - From: Kai Hackemesser [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 27, 2000 7:16 PM Subject: out.flush() Hi! I want to send my html page part by part (giving the user status of some database operations). i tried calling out.flush

Re: difference between %!...% and %....%

2000-09-25 Thread Kai Hackemesser
I've checked the java sourcecode generated by tomcat from my jsp page. variables initialized with %! % become classwide defined variables. - Original Message - From: Geert Van Damme [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 25, 2000 11:30 AM Subject: Re: difference

Re: Response has already been committed

2000-09-20 Thread Kai Hackemesser
Check the error output of your JSP container. I have found that this error message comes with an external error output on the server. - Original Message - From: Gabriel J Zimmerman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 19, 2000 7:53 PM Subject: Response has

Re: Database access in JSP...

2000-09-20 Thread Kai Hackemesser
Is it possible to send a SQL-Statement to a bean and retrieve a Resultset? - Original Message - From: hima bindu [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 20, 2000 12:09 PM Subject: Re: Database access in JSP... Hi! yes,u can definitely access database from

An exception occurs on my page... how to stop the whole page processing?

2000-09-20 Thread Kai Hackemesser
Hi! I want to know how I can stop the page processing of a JSP page when an exeption has occured and I have shown the message. on ASP it was response.end, and here? ciao! Kai === To unsubscribe: mailto [EMAIL PROTECTED]

A question about ResultSets

2000-09-18 Thread Kai Hackemesser
Hi! I have found that I can't ask the same Recordset field two times with getString() or equals. I get the SQL exception "no Data" on second try. Is this a rule or a mistake on my side? here is some code where it happens: try { String RSTB3000_Query = "SELECT ROUTING_AREA FROM

Error Message, what to do?

2000-09-16 Thread Kai Hackemesser
java.lang.IllegalStateException: Response has already been committed at org.apache.tomcat.core.HttpServletResponseFacade.sendError(HttpServletRespon seFacade.java:157) at org.apache.jasper.runtime.JspServlet.unknownException(JspServlet.java:299) at

Re: I need some help with JSP reference

2000-09-16 Thread Kai Hackemesser
I'm not sure if I understood JSP reference correctly. If I create code between % and %, are the objects available in another % % part, or not? Yes, they are. Just think about % % as a part of doGet/doPost method and all HTML as several out.println statements. I tried, but got a warning

I need some help with JSP reference

2000-09-13 Thread Kai Hackemesser
Hi! I'm not sure if I understood JSP reference correctly. If I create code between % and %, are the objects available in another % % part, or not? I tried, but got a warning from tomcat compiling this. === To unsubscribe: