Re: replacing a single quote with double quotes

2002-07-16 Thread Margaret Fisk
Why can't you escape both single quotes in the replace with? -Original Message- From: Ramesh Kadirisani [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 16, 2002 12:55 PM To: [EMAIL PROTECTED] Subject: Re: replacing a single quote with double quotes hi Peter, thanks for the response. i am

Re: sqlException

2002-07-12 Thread Margaret Fisk
Then set the mysql jar file in your classpath at runtime. I.e. Java -classpath c:\mysql\mysql.jar;. yourjavafile -Original Message- From: Lai, Kenny [mailto:[EMAIL PROTECTED]] Sent: Friday, July 12, 2002 9:38 AM To: [EMAIL PROTECTED] Subject: Re: sqlException i'm running the java file

Re: disable back button

2002-05-03 Thread Margaret Fisk
The best way I know of is to launch your application in another browser window after login or launch. In that case the back button is disabled because nothing came before. Another way it to set up an automatic redirect so that when a user clicks back, they get pushed forward again automatically.

Re: Regarding Hotkey in JSP page

2002-04-01 Thread Margaret Fisk
n think of that for some reason. why is there so much spacing above the font then? and shouldnt padding or margin get rid of that?? -Tim -Original Message----- From: Margaret Fisk [mailto:[EMAIL PROTECTED]] Sent: Monday, April 01, 2002 1:24 PM To: [EMAIL PROTECTED] Subject: Re: Regarding Hot

Re: Regarding Hotkey in JSP page

2002-04-01 Thread Margaret Fisk
Try changing the font size to smaller. They are probably getting their size from the body or paragraph tag and so reducing the button size just truncates them. Margaret -Original Message- From: Chen, Gin [mailto:[EMAIL PROTECTED]] Sent: Monday, April 01, 2002 10:34 AM To: [EMAIL PROTECTE

Re: Carriage return for Oracle

2002-03-20 Thread Margaret Fisk
It really depends on the language you are using to interpret the results from the database. For example, if you include a (i.e. 1st line2nd line3rd line) and display the results from the query in HTML, you should get a display of: 1st line 2nd line 3rd line Replace in this concept with whatever

Re: Junk in JSP files with Japanese

2002-03-12 Thread Margaret Fisk
Have you tried commenting out the character? It may be required to interpret the page as Japanese, but by putting comments around it it should not display...similar to how you hide JavaScript. -Original Message- From: Jatin Taneja [mailto:[EMAIL PROTECTED]] Sent: Saturday, August 12, 200

Re: XML-Parsing

2002-01-09 Thread Margaret Fisk
If it is configuration information that is important to the whole application, I personally would probably read it in once and store it as session variables. This will also prevent problems if someone modifies the configuration file while the application is open. If you read the configuration each

Re: Servlet refresh

2001-11-30 Thread Margaret Fisk
You may also need to delete the compiled version in the WORK folder under your tomcat installation. That is where Tomcat stores its version of your code.   Margaret -Original Message-From: Chris Tucker [mailto:[EMAIL PROTECTED]]Sent: Friday, November 30, 2001 12:54 PMTo: [EMAIL PR

Re: url from servlet ??

2001-11-28 Thread Margaret Fisk
If you don't want a link to be relative to the page launching it, you have to put the full address including the http:// is the href. -Original Message- From: sufi malak [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 28, 2001 9:40 AM To: [EMAIL PROTECTED] Subject: url from servlet

Re: Login Authentication against database...

2001-11-16 Thread Margaret Fisk
I actually do a two stage authorization. I do use a Select * from users where username=form.username but then I take the password received in the query and compare to to the form.password. I do this because of password encryption, but it makes it harder for someone to use inappropriate terms i

Re: Login Authentication against database...

2001-11-14 Thread Margaret Fisk
Title: Message I agree with jmc's suggestion. However, I would also recommend that you use the lower case function in both Java and the database to compare since a user may enter the name with any number of capital letters.   Margaret -Original Message-From: Joe Cheng [mailto:[EMAIL

Re: pls help to check if it is SQL syntax error

2001-11-12 Thread Margaret Fisk
You are missing an "and between +"' and lname Margaret -Original Message- From: Miao, Franco CAWS:EX [mailto:[EMAIL PROTECTED]] Sent: Monday, November 12, 2001 3:51 PM To: [EMAIL PROTECTED] Subject: pls help to check if it is SQL syntax error I put two SQL update statement in one Smt s

Re: XML and Java

2001-11-09 Thread Margaret Fisk
Just a comment. If I'm reading you correctly, there is some confusion about xml and xsl. Xml is the data that is in the tree structure. Yes, this is often created dynamically by extracting data from a source (often a database) and enclosing it in the hierarchical XML tags. XSL is the style sheet

Re: URGENT HELP WANTED RE: TOMCAT 3.2

2001-10-02 Thread Margaret Fisk
de up. For instance Urgent , abhi, etc I am logged on here because I am doing JSPs & servlets which is my job. It is treating a person as if they are stupid. Can you please explain the messages. Regards, Zahid >From: Margaret Fisk <[EMAIL PROTECTED]> >Reply-To: A mailing list ab

URGENT HELP WANTED RE: TOMCAT 3.2

2001-10-01 Thread Margaret Fisk
Hi everyone, I'm running into a major problem and hoped someone had seen it before. Tomcat has suddenly stopped running this morning. It won't launch the index at http:\\localhost:8080\index.jsp or any other of my files. If I turn back the date on the computer, it works again, but other processes

Re: recompiling JSP pages

2001-09-06 Thread Margaret Fisk
You may be able to delete the compiled versions in the working folder of your JSP server. Then they will be recompiled when you run them the next time. For Tomcat, it is under Jakarta-tomcat/work. -Original Message- From: Angel "Java" Lopez [mailto:[EMAIL PROTECTED]] Sent: Thursday, Sept

Re: getting the options in a dropdown from the database

2001-08-27 Thread Margaret Fisk
Just a thought, but you should query the database into an array and then get the Select results from the array. -Original Message- From: Usha Rani [mailto:[EMAIL PROTECTED]] Sent: Monday, August 27, 2001 8:20 AM To: [EMAIL PROTECTED] Subject: getting the options in a dropdown from the d

Re: off-topic: just a technical discussion about naming

2001-07-13 Thread Margaret Fisk
I do programming, support and documentation for my company to give you some perspective of where I am coming from. It is critical for programmers to provide step-by-step documentation for both the technical writers and those responsible for supporting what is programmed. As far as naming, there

Re: Simple custom tag example or tutorial

2001-07-13 Thread Margaret Fisk
This is an excerpt from a JSP file using a taglib. The call to the taglib should be in the head section: <%@ taglib uri="/Taglib/presentation-taglib.tld" prefix="presentation" %> Creating a variable within the page that takes a variable from the request URL. string yourmajor = request.getParameter

Re: class and bean finder tool

2001-06-26 Thread Margaret Fisk
Windows Explorer's Search will actually search the contents of a jar or zip and tell you if the file is in there. Then you have to open it in WinZip or equivalent to see the file. -Original Message- From: Frank Mancini [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 26, 2001 12:02 PM To: [

Re: jdbc url string: java.sql.SQLException Error

2001-06-20 Thread Margaret Fisk
Oracle uses the Oracle client to connect. Make sure you have your database set up in the tnsnames.ora file for the client on the machine where you are running you webserver (or on a network drive with the Oracle client bin folder in your webserver's path statement.) The syntax I'm using (and this

Re: Checking for Empty Result Set

2001-06-18 Thread Margaret Fisk
I am using the below code. Haven't had a problem yet, but haven't really confirmed it works deliberately either. The logic though sounds just like what you're looking for. if(rs.getFetchSize()==0) {percent="Not Applicable";}

Re: java.awt.List error

2001-05-31 Thread Margaret Fisk
You need to say something like private awt.List or util.List. What the error means is that there are more than one of the imported java classes with a method call List. You must distinguish between them. Margaret -Original Message- From: Nguyen, Thang P [mailto:[EMAIL PROTECTED]] Sent: W