Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: cyan01
  • Content: Threads
  • Order by date
  1. cyan01

    "security warning" on XP/IE 6.0.2900, but NOT on w2k/IE 6.02800

    Hi, Experts, My company has a few webpages constantly trigger "security warning" on XP/IE 6.0.2900.2180.xpsp-sp2-gdr.050301-1519. I have noticed that if I enable Tools->Internet Options->Security->Internet->Custom Level->Miscellaneous->Display Mixed Content, then the warning is gone. However...
  2. cyan01

    How to handle backslash in user input

    Experts, I need to develop a perl code to catch invalid user inputs. In my case, a backslash ("\") is considered invalid. Here is my code: my @invalidCharList = ('-', '\+', '\.', '/', '\\'); #my @invalidCharList = ('-', '\+', '\.', '/'); print "$0..testing..., @invalidCharList\n"; print...
  3. cyan01

    Help needed in converting utf-16 to utf-8

    I have a bunch of files in utf-16 fotmat. I need to write a perl code to convert them into utf-8. Could someone show me a sample code? Many thanks!
  4. cyan01

    How to declare/assign a array ref on fly while "use strict"

    Hi, experts, I have a sample code listed below: #! /usr/bin/perl use strict; print "$0..testing...\n"; my @list = ("a", "b", "c"); print "@list\n"; for(my $i = 0; $i <= $#list ; $i++) { for(my $j = 0; $j < 10; $j++) { if($i == 0) { push @{$list[$i]}, $j; } elsif($i...
  5. cyan01

    Having difficulties to install firefox on Solaris 8 (sparc)

    Hi, Experts, I am having trouble in installation of firefox 1.0.4 on solaris 8 (ultra sparc 5). I have installed all the patches recommended. After I ran firefox, I got following error message: ld.so.1: ./firefox-bin: fatal: libgtk-1.2.so.0: open failed: No such file or directory ld.so.1...
  6. cyan01

    Looking for more info about embedded perl in html

    Hi, Experts, I happened to notice there is a new (it is new to me ^_^) apache that can handel embedded perl. A typical piece of code could be like this: <html> <body> Test emdedded perl script in html. <%@ Language=PerlScript %> <% for (my $i = 0; $i < 10; $i++) { print "\$i = $i<br>\n"; }...
  7. cyan01

    A tld file related question

    Hi, Experts, I am new to jsp. And right now I am having a hard time to get an example working. The following is my tag file, named as calalog.tag. The file path is: %CATALINA_HOME%\webapps\myjsp\WEB-INF\tags <%@ attribute name="normalPrice" fragment="true" %> <%@ variable...
  8. cyan01

    Javabean subclass does not compile.

    Hi, Experts, I'm new to jsp and javabean. I have a very simple base class Book.java and a subclass TechnicalBook.java. The file structure is as follows: %CATALINA_HOME%\webapps\test\WEB-INF\classes\booklibrary\Book.java...
  9. cyan01

    Javabean subclass does not compile.

    Hi, Experts, I'm new to jsp and javabean. I have a very simple base class Book.java and a subclass TechnicalBook.java. The file structure is as follows: %CATALINA_HOME%\webapps\test\WEB-INF\classes\booklibrary\Book.java...
  10. cyan01

    How to convert a Greenwich Mean Time to an ordinary date/time in sql?

    Hi, Experts, I have an Oracle table which has a field whose datetype is NUMBER. The values in this field are the outputs of a perl library function "time", i.e. the number of non-leap seconds since 01/01/1970, UTC (Greenwich Mean Time). What is the sql syntax to convert this value into an...
  11. cyan01

    How to convert a Greenwich Mean Time to an ordinary date/time in sql?

    Hi, Experts, I have an Oracle table which has a field whose datetype is NUMBER. The values in this field are the outputs of a perl library function "time", i.e. the number of non-leap seconds since 01/01/1970, UTC (Greenwich Mean Time). What is the sql syntax to convert this value into an...
  12. cyan01

    How to convert a Greenwich Mean Time to an ordinary date/time?

    Hi, Experts, Suppose I have a number which is the value returned by perl library function time, i.e. my $utc = time; How can I convert $utc into an ordinary datetime, e.g. mmddyyHHSS or vise versa? Thanks!
  13. cyan01

    How to setup/configure mysql on w2k?

    I recently installed mysql-essential-4.1.9-win32 and with some friends' help at this forum, I can logon mysql server fine. Now, I have some further questions. I appreciate your attention and help very much. 1) According a book I have (Beginning JSP 2.0), I should run the following command...
  14. cyan01

    How to integrate jstl with tomcat 5.5?

    The following question was posted on jsp forum. But I got no answer there. So I guess I would try it here. ======================================================= I am new to JSP and am study a book "Beginning jsp 2.0". But I am having trouble in running the examples in this book. Here is the...
  15. cyan01

    lost connection between my sun box (solaris 8) and my pc

    Hi, Experts, I have an ultra-1 (solaris 8) and a pc (w2k) at home. They are connected through a linksys router. Both of them can surf the internet fine (such as cnn.com) and both of them can ping the router (192.168.1.1). However, I can not ping the ultra-1 from my pc, neither can I telnet/ftp...
  16. cyan01

    how to install/start mysql?

    Hi, Experts, I just downloaded mysql-essential-4.1.9-win32 and mysql-4.1.9-win32.zip. I have ran mysql-essential-4.1.9-win32 and followed every steps. But at the last step, I choose not to auto start mysql. Here are my questions: 1) Do I still need to install mysql-4.1.9-win32.zip or it is...
  17. cyan01

    how to install JSTL on w2k?

    Hi, Experts, I am new to JSP and am study a book "Beginning jsp 2.0". But I am having trouble in running the examples in this book. Here is the details: 1) The example that I am running: <%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %> <html> <body> You sent the...
  18. cyan01

    how to restart tomcat5.5 on w2k?

    Hi, Experts, I just installed tomcat5.5 on my windows 2000 box. During installation/configuration, I was asked whether I would like to start tomcat now and I said yes. Then I noiced tomcat is running and I successfully ran a few sample jsp codes. However, after I rebooted my machine, I can no...
  19. cyan01

    Newbie q's about tomcat/jstl/jsp

    Hi, I have a few newbie questions. 1) How to tell which version of tomcat installed on a unix server? I would think there must be some kind of command like "tomcat -v"? 2) How do I tell whether a server has jstl installed? 3) I am testing a piece of jsp code from a book. But it does not...
  20. cyan01

    how to redirect a url from child window to its parent?

    Hi, Experts, I have some difficulties in javascript again. Here is what I want: 1) on one web page (call it parent window), under certain condition, a popup window (call it child window) will be poped up. -- This is done 2) There is a url link (e.g. http://www.cnn.com) on the newly popup...

Part and Inventory Search

Back
Top