Who can help rewrite code

I use wordpress made a website, http://www.beijing-tour-service.com but can not change the footer link. Is There any one can help?   the code is :
<div class="span-24">
        <div id="footer">Copyright &copy; <a href="<?php bloginfo('home'); ?>"><strong><?php bloginfo('name'); ?></strong></a>  - <?php bloginfo('description'); ?></div>
        <?php // This theme is released free for use under creative commons licence. http://creativecommons.org/licenses/by/3.0/
            // All links in the footer should remain intact.
            // These links are all family friendly and will not hurt your site in any way.
            // Warning! Your site may stop working if these links are edited or deleted  ?>
        <div id="footer2">Powered by <a href="http://wordpress.org/"><strong>WordPress</strong></a> | Buy <a href="http://www.bestincellphones.com" title="Free CellPhones">Free Cell Phones</a> Online. | Thanks to <a href="http://www.bromoney.com/cd-rates">CD</a>, <a href="http://www.bromoney.com/savings-account-interest-rates">Savings Account</a> and <a href="http://fatburningrules.com">Fat burning Furnace</a></div>
    </div>
</div>
</div>
<?php
     wp_footer();
    echo get_theme_option("footer")  . "\n";
?>
</body>
</html>

Looks like The Sieve of Eratosthenes.
A google search for that should help you with some logic.
Wikipedia has a really nice animation of how it works.
Post back when you have some source code that you need help with.
Thanks k???? lullzz???

Similar Messages

  • I have installed ios7 on my iPad 4. After installation it asked me pass code which I have never set. After multiple attempts it is disabled. I don't have backup on my iCloud or iTunes. Is there anyone who can help to enable it or to reverse iPad to ios6.

    I have installed ios7 on my iPad 4. After installation it asked me a pass code which I have never set. After multiple attempts it is disabled. I don't have backup on my iCloud or iTunes. Is there anyone who can help to enable it or to reverse iPad to ios6. I asked Apple store & tech said to format it but I will lose all the data..!

    Thanks for that. Much more constructive than the last comment. It's only the restriction code I can't recall, not the access passcode. So I can currently access the device, just not age restricted content. Does that's make a difference? I also wondered if anyone knew how many attempts you get to try to get it right. Now tried 21 times and so far nothing bad has happened but I am concerned I'll eventually be completely locked out of the device. That doesn't seem in the spirit of things though. Surely it's foreseeable that a child could repeatedly try to guess the code so I can't see that it would be right to lock the device down completely in that circumstance, particularly if the access code is being typed in correctly every time.
    Thanks

  • Someone who can help me to do.  Adobe Bridge CS6 Update 5.0.2 The update is not applicable. Error Code: U44M2P28

    Someone who can help me to do.  Adobe Bridge CS6 Update 5.0.2 The update is not applicable. Error Code: U44M2P28

    be sure to use the correct update (32 or 64 bit).
    http://www.adobe.com/downloads/updates/

  • HT4061 My iphone 4 is lost, who can help me find the iccid code of the SIM card in my iphone,my iphone's IMEI:01**********117.  Thanks a lot.

    My iphone 4 is lost, who can help me find the iccid code of the SIM card in my iphone,my iphone's IMEI:01**********117. 
    plaese send the iccid code to my E-mail Box.
    Thanks a lot.
    <Personal Information Edited by Host>

    Will do, if that's the only option I have. Thanks for the quick response

  • HELP ME!!!! who can help me ???

    My eclipse always halt suddenly. I have no idea how to solve it, and i have reinstall my JVM and eclipse.but it doesn't work, the eclipse halt again.
    The below is the eclipse log hs_err_pid3740.log. Who can help me? much appreciate!!!!
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d7f789e, pid=3740, tid=1468
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_09-b01 mixed mode)
    # Problematic frame:
    # V [jvm.dll+0xc789e]
    --------------- T H R E A D ---------------
    Current thread (0x00c7ed10): JavaThread "Worker-5" [_thread_in_vm, id=1468]
    siginfo: ExceptionCode=0xc0000005, reading address 0x00000054
    Registers:
    EAX=0x00000000, EBX=0x2563a6b0, ECX=0x00000180, EDX=0x0000001a
    ESP=0x37fff814, EBP=0x37fff848, ESI=0x0000001a, EDI=0x35298770
    EIP=0x6d7f789e, EFLAGS=0x00010202
    Top of Stack: (sp=0x37fff814)
    0x37fff814: 6d7f7858 0000001a 3699747c 22ca6f68
    0x37fff824: 00000000 6d7f8aaf 23aacde0 22ca6f68
    0x37fff834: 00c7ed10 36b7bff0 35298768 35298770
    0x37fff844: 35298b5c 37fff87c 6d7f9986 36997468
    0x37fff854: 36997488 36997484 00c7ed10 00c7ed10
    0x37fff864: 00c7ed10 00000000 00000001 00c7ed10
    0x37fff874: 00c7ed10 00c7ed10 37fff8a8 6d7f98b4
    0x37fff884: 37fff940 3699747c 36997468 36997488
    Instructions: (pc=0x6d7f789e)
    0x6d7f788e: 8b 54 24 04 8d 0c 91 8b 04 01 8b 40 0c 8b 40 14
    0x6d7f789e: 8b 40 54 c1 e8 09 83 e0 01 c2 04 00 8b 4c 24 04
    Stack: [0x37f00000,0x38000000), sp=0x37fff814, free space=1022k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    V [jvm.dll+0xc789e]
    V [jvm.dll+0xc9986]
    V [jvm.dll+0xc98b4]
    V [jvm.dll+0xca226]
    V [jvm.dll+0xca059]
    V [jvm.dll+0x82544]
    j com.sun.org.apache.xml.internal.serializer.ToStream.init(Ljava/io/Writer;Ljava/util/Properties;ZZ)V+73
    j com.sun.org.apache.xml.internal.serializer.ToStream.init(Ljava/io/OutputStream;Ljava/util/Properties;Z)V+55
    j com.sun.org.apache.xml.internal.serializer.ToStream.setOutputStream(Ljava/io/OutputStream;)V+26
    j com.sun.org.apache.xml.internal.serializer.ToUnknownStream.setOutputStream(Ljava/io/OutputStream;)V+5
    j com.sun.org.apache.xalan.internal.xsltc.runtime.output.TransletOutputHandlerFactory.getSerializationHandler()Lcom/sun/org/apache/xml/internal/serializer/SerializationHandler;+172
    j com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.getOutputHandler(Ljavax/xml/transform/Result;)Lcom/sun/org/apache/xml/internal/serializer/SerializationHandler;+250
    j com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Ljavax/xml/transform/Source;Ljavax/xml/transform/Result;)V+46
    j org.eclipse.mylyn.internal.tasks.ui.util.TaskListWriter.writeDOMtoStream(Lorg/w3c/dom/Document;Ljava/io/OutputStream;)V+44
    j org.eclipse.mylyn.internal.tasks.ui.util.TaskListWriter.writeTaskList(Lorg/w3c/dom/Document;Ljava/util/zip/ZipOutputStream;)V+25
    j org.eclipse.mylyn.internal.tasks.ui.util.TaskListWriter.writeTaskList(Lorg/eclipse/mylyn/tasks/core/TaskList;Ljava/io/OutputStream;)V+342
    j org.eclipse.mylyn.internal.tasks.ui.util.TaskListWriter.writeTaskList(Lorg/eclipse/mylyn/tasks/core/TaskList;Ljava/io/File;)V+12
    j org.eclipse.mylyn.internal.tasks.ui.util.TaskListSaveManager.internalSaveTaskList()V+16
    j org.eclipse.mylyn.internal.tasks.ui.util.TaskListSaveManager.access$0(Lorg/eclipse/mylyn/internal/tasks/ui/util/TaskListSaveManager;)V+1
    j org.eclipse.mylyn.internal.tasks.ui.util.TaskListSaveManager$TaskListSaverJob.run(Lorg/eclipse/core/runtime/IProgressMonitor;)Lorg/eclipse/core/runtime/IStatus;+65
    j org.eclipse.core.internal.jobs.Worker.run()V+31
    v ~StubRoutines::call_stub
    V [jvm.dll+0x86e84]
    V [jvm.dll+0xddead]
    V [jvm.dll+0x86d55]
    V [jvm.dll+0x86ab2]
    V [jvm.dll+0xa16b2]
    V [jvm.dll+0x10f4ac]
    V [jvm.dll+0x10f47a]
    C [MSVCRT.dll+0x2a3b0]
    C [kernel32.dll+0xb713]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j com.sun.org.apache.xml.internal.serializer.ToStream.init(Ljava/io/Writer;Ljava/util/Properties;ZZ)V+73
    j com.sun.org.apache.xml.internal.serializer.ToStream.init(Ljava/io/OutputStream;Ljava/util/Properties;Z)V+55
    j com.sun.org.apache.xml.internal.serializer.ToStream.setOutputStream(Ljava/io/OutputStream;)V+26
    j com.sun.org.apache.xml.internal.serializer.ToUnknownStream.setOutputStream(Ljava/io/OutputStream;)V+5
    j com.sun.org.apache.xalan.internal.xsltc.runtime.output.TransletOutputHandlerFactory.getSerializationHandler()Lcom/sun/org/apache/xml/internal/serializer/SerializationHandler;+172
    j com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.getOutputHandler(Ljavax/xml/transform/Result;)Lcom/sun/org/apache/xml/internal/serializer/SerializationHandler;+250
    j com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Ljavax/xml/transform/Source;Ljavax/xml/transform/Result;)V+46
    j org.eclipse.mylyn.internal.tasks.ui.util.TaskListWriter.writeDOMtoStream(Lorg/w3c/dom/Document;Ljava/io/OutputStream;)V+44
    j org.eclipse.mylyn.internal.tasks.ui.util.TaskListWriter.writeTaskList(Lorg/w3c/dom/Document;Ljava/util/zip/ZipOutputStream;)V+25
    j org.eclipse.mylyn.internal.tasks.ui.util.TaskListWriter.writeTaskList(Lorg/eclipse/mylyn/tasks/core/TaskList;Ljava/io/OutputStream;)V+342
    j org.eclipse.mylyn.internal.tasks.ui.util.TaskListWriter.writeTaskList(Lorg/eclipse/mylyn/tasks/core/TaskList;Ljava/io/File;)V+12
    j org.eclipse.mylyn.internal.tasks.ui.util.TaskListSaveManager.internalSaveTaskList()V+16
    j org.eclipse.mylyn.internal.tasks.ui.util.TaskListSaveManager.access$0(Lorg/eclipse/mylyn/internal/tasks/ui/util/TaskListSaveManager;)V+1
    j org.eclipse.mylyn.internal.tasks.ui.util.TaskListSaveManager$TaskListSaverJob.run(Lorg/eclipse/core/runtime/IProgressMonitor;)Lorg/eclipse/core/runtime/IStatus;+65
    j org.eclipse.core.internal.jobs.Worker.run()V+31
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x36da44c0 JavaThread "Thread-7" [_thread_blocked, id=2840]
    0x36b960f0 JavaThread "Timer-2" [_thread_blocked, id=2008]
    0x36ca63a0 JavaThread "Timer-1" [_thread_blocked, id=3176]
    0x36b92d20 JavaThread "Timer-0" [_thread_blocked, id=3832]
    0x36bde590 JavaThread "Worker-6" [_thread_blocked, id=3968]
    =>0x00c7ed10 JavaThread "Worker-5" [_thread_in_vm, id=1468]
    0x369b7008 JavaThread "Worker-4" [_thread_blocked, id=1444]
    0x352b7d88 JavaThread "Worker-3" [_thread_blocked, id=780]
    0x36bd1008 JavaThread "Worker-2" [_thread_blocked, id=2124]
    0x35748c78 JavaThread "Worker-1" [_thread_blocked, id=3588]
    0x369438d8 JavaThread "org.eclipse.jdt.internal.ui.text.JavaReconciler" daemon [_thread_blocked, id=844]
    0x366b7fd0 JavaThread "Java indexing" daemon [_thread_blocked, id=2040]
    0x355a7160 JavaThread "Worker-0" [_thread_blocked, id=1492]
    0x3550b410 JavaThread "Start Level Event Dispatcher" daemon [_thread_blocked, id=3956]
    0x3556de40 JavaThread "Framework Event Dispatcher" daemon [_thread_blocked, id=3192]
    0x00c629e0 JavaThread "State Data Manager" daemon [_thread_blocked, id=3188]
    0x00c5dc88 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=1728]
    0x00c5c8e8 JavaThread "CompilerThread0" daemon [_thread_blocked, id=340]
    0x00c6b2a8 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2116]
    0x00c50ab8 JavaThread "Finalizer" daemon [_thread_blocked, id=3652]
    0x00c4f650 JavaThread "Reference Handler" daemon [_thread_blocked, id=3144]
    0x003edb60 JavaThread "main" [_thread_in_native, id=2316]
    Other Threads:
    0x003e5688 VMThread [id=3568]
    0x00c5ef98 WatcherThread [id=3984]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 4608K, used 2915K [0x02c90000, 0x03190000, 0x053f0000)
    eden space 4096K, 58% used [0x02c90000, 0x02ee8c50, 0x03090000)
    from space 512K, 100% used [0x03110000, 0x03190000, 0x03190000)
    to space 512K, 0% used [0x03090000, 0x03090000, 0x03110000)
    tenured generation total 60112K, used 42130K [0x053f0000, 0x08ea4000, 0x22c90000)
    the space 60112K, 70% used [0x053f0000, 0x07d14a28, 0x07d14c00, 0x08ea4000)
    compacting perm gen total 43008K, used 42780K [0x22c90000, 0x25690000, 0x32c90000)
    the space 43008K, 99% used [0x22c90000, 0x25657298, 0x25657400, 0x25690000)
    No shared spaces configured.
    Dynamic libraries:
    0x00400000 - 0x0040e000      E:\dev_tools\eclipse\eclipse-jee-europa-winter-win32\eclipse\eclipse.exe
    0x7c900000 - 0x7c9af000      C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c8f6000      C:\WINDOWS\system32\kernel32.dll
    0x7e410000 - 0x7e4a1000      C:\WINDOWS\system32\USER32.dll
    0x77f10000 - 0x77f59000      C:\WINDOWS\system32\GDI32.dll
    0x5d090000 - 0x5d12a000      C:\WINDOWS\system32\COMCTL32.dll
    0x77dd0000 - 0x77e6b000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77e70000 - 0x77f02000      C:\WINDOWS\system32\RPCRT4.dll
    0x77fe0000 - 0x77ff1000      C:\WINDOWS\system32\Secur32.dll
    0x77c10000 - 0x77c68000      C:\WINDOWS\system32\MSVCRT.dll
    0x76390000 - 0x763ad000      C:\WINDOWS\system32\IMM32.DLL
    0x629c0000 - 0x629c9000      C:\WINDOWS\system32\LPK.DLL
    0x74d90000 - 0x74dfb000      C:\WINDOWS\system32\USP10.dll
    0x72000000 - 0x72012000      E:\dev_tools\eclipse\eclipse-jee-europa-winter-win32\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.3.R33x_v20080118\eclipse_1023.dll
    0x77c00000 - 0x77c08000      C:\WINDOWS\system32\VERSION.dll
    0x5ad70000 - 0x5ada8000      C:\WINDOWS\system32\uxtheme.dll
    0x74720000 - 0x7476c000      C:\WINDOWS\system32\MSCTF.dll
    0x77b40000 - 0x77b62000      C:\WINDOWS\system32\apphelp.dll
    0x755c0000 - 0x755ee000      C:\WINDOWS\system32\msctfime.ime
    0x774e0000 - 0x7761d000      C:\WINDOWS\system32\ole32.dll
    0x6d730000 - 0x6d8cb000      D:\Program Files\Java\jdk1.5.0_09\jre\bin\client\jvm.dll
    0x76b40000 - 0x76b6d000      C:\WINDOWS\system32\WINMM.dll
    0x6d2f0000 - 0x6d2f8000      D:\Program Files\Java\jdk1.5.0_09\jre\bin\hpi.dll
    0x76bf0000 - 0x76bfb000      C:\WINDOWS\system32\PSAPI.DLL
    0x6d700000 - 0x6d70c000      D:\Program Files\Java\jdk1.5.0_09\jre\bin\verify.dll
    0x6d370000 - 0x6d38d000      D:\Program Files\Java\jdk1.5.0_09\jre\bin\java.dll
    0x6d720000 - 0x6d72f000      D:\Program Files\Java\jdk1.5.0_09\jre\bin\zip.dll
    0x6d530000 - 0x6d543000      D:\Program Files\Java\jdk1.5.0_09\jre\bin\net.dll
    0x71ab0000 - 0x71ac7000      C:\WINDOWS\system32\WS2_32.dll
    0x71aa0000 - 0x71aa8000      C:\WINDOWS\system32\WS2HELP.dll
    0x6d550000 - 0x6d559000      D:\Program Files\Java\jdk1.5.0_09\jre\bin\nio.dll
    0x35be0000 - 0x35c2f000      E:\dev_tools\eclipse\eclipse-jee-europa-winter-win32\eclipse\configuration\org.eclipse.osgi\bundles\334\1\.cp\swt-win32-3349.dll
    0x773d0000 - 0x774d3000      C:\WINDOWS\WinSxS\X86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\COMCTL32.dll
    0x77f60000 - 0x77fd6000      C:\WINDOWS\system32\SHLWAPI.dll
    0x763b0000 - 0x763f9000      C:\WINDOWS\system32\comdlg32.dll
    0x7c9c0000 - 0x7d1d7000      C:\WINDOWS\system32\SHELL32.dll
    0x77120000 - 0x771ab000      C:\WINDOWS\system32\OLEAUT32.dll
    0x78050000 - 0x78120000      C:\WINDOWS\system32\WININET.dll
    0x35c40000 - 0x35c49000      C:\WINDOWS\system32\Normaliz.dll
    0x78000000 - 0x78045000      C:\WINDOWS\system32\iertutil.dll
    0x361a0000 - 0x361ba000      C:\WINDOWS\system32\hccutils.DLL
    0x361c0000 - 0x361c8000      E:\dev_tools\eclipse\eclipse-jee-europa-winter-win32\eclipse\configuration\org.eclipse.osgi\bundles\36\1\.cp\os\win32\x86\localfile_1_0_0.dll
    0x74c80000 - 0x74cac000      C:\WINDOWS\system32\oleacc.dll
    0x76080000 - 0x760e5000      C:\WINDOWS\system32\MSVCP60.dll
    0x36e80000 - 0x36e94000      E:\dev_tools\eclipse\eclipse-jee-europa-winter-win32\eclipse\configuration\org.eclipse.osgi\bundles\334\1\.cp\swt-gdip-win32-3349.dll
    0x4ec50000 - 0x4edf6000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.2600.5581_x-ww_dfbc4fc4\gdiplus.dll
    0x37170000 - 0x37435000      C:\WINDOWS\system32\xpsp2res.dll
    0x76fd0000 - 0x7704f000      C:\WINDOWS\system32\CLBCATQ.DLL
    0x77050000 - 0x77115000      C:\WINDOWS\system32\COMRes.dll
    0x75cf0000 - 0x75d81000      C:\WINDOWS\System32\mlang.dll
    0x379d0000 - 0x37a54000      D:\Program Files\TortoiseSVN\bin\tortoisesvn.dll
    0x6eec0000 - 0x6eee2000      D:\Program Files\TortoiseSVN\bin\libapr_tsvn.dll
    0x71a50000 - 0x71a8f000      C:\WINDOWS\system32\MSWSOCK.dll
    0x78130000 - 0x781cb000      C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.1433_x-ww_5cf844d2\MSVCR80.dll
    0x6ee60000 - 0x6ee88000      D:\Program Files\TortoiseSVN\bin\libaprutil_tsvn.dll
    0x6ee50000 - 0x6ee5d000      D:\Program Files\TortoiseSVN\bin\libapriconv_tsvn.dll
    0x37a80000 - 0x37a8c000      D:\Program Files\TortoiseSVN\bin\intl3_svn.dll
    0x7c420000 - 0x7c4a7000      C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.1433_x-ww_5cf844d2\MSVCP80.dll
    0x76780000 - 0x76789000      C:\WINDOWS\system32\SHFOLDER.dll
    0x6ee40000 - 0x6ee46000      D:\Program Files\TortoiseSVN\iconv\_tbl_simple.so
    0x6e900000 - 0x6e923000      D:\Program Files\TortoiseSVN\iconv\cp936.so
    0x6ed50000 - 0x6ed56000      D:\Program Files\TortoiseSVN\iconv\utf-8.so
    0x77a20000 - 0x77a74000      C:\WINDOWS\System32\cscui.dll
    0x76600000 - 0x7661d000      C:\WINDOWS\System32\CSCDLL.dll
    0x77920000 - 0x77a13000      C:\WINDOWS\system32\SETUPAPI.dll
    0x76380000 - 0x76385000      C:\WINDOWS\system32\msimg32.dll
    0x662b0000 - 0x66308000      C:\WINDOWS\system32\hnetcfg.dll
    0x71a90000 - 0x71a98000      C:\WINDOWS\System32\wshtcpip.dll
    VM Arguments:
    jvm_args: -Dosgi.requiredJavaVersion=1.5 -Xms40m -Xmx512m -XX:MaxPermSize=256M
    java_command: <unknown>
    Launcher Type: generic
    Environment Variables:
    JAVA_HOME=D:\Program Files\Java\jdk1.5.0_09
    CLASSPATH=.;D:\Program Files\Java\jdk1.5.0_09\lib\tools.jar;D:\Program Files\Java\jre1.5.0_09\lib\ext\QTJava.zip;E:\eclipse_ee\workspace\Thumper\postgresql-8.2-508.jdbc3.jar
    PATH=D:\Program Files\Java\jdk1.5.0_09\bin\..\jre\bin\client;D:\Program Files\Java\jdk1.5.0_09\bin\..\jre\bin;D:\Program Files\Java\jdk1.5.0_09\bin;D:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\Perl\site\bin;C:\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\Program Files\Apache Software Foundation\Maven 1.1-beta-3\bin;D:\Program Files\Apache Software Foundation\apache-ant-1.7.0\bin;D:\Program Files\Python25;D:\cygwin;D:\Program Files\SecureCRT\;D:\Program Files\IDM Computer Solutions\UltraEdit-32;D:\Program Files\jython2.2.1;D:\Program Files\Tencent\QQ;D:\Program Files\net-snmp\usr\bin;D:\Program Files\Apache Software Foundation\apache-maven-2.0.9\bin;D:\Program Files\MySQL\MySQL Server 5.0\bin;E:\dev_tools\svn\svn-win32-1.4.3\bin;D:\Program Files\Tivoli\TSM\baclient;E:\open source project\android\android-sdk_m5-rc15_windows\tools;D:\cygwin\bin
    USERNAME=Administrator
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 13, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows XP Build 2600 Service Pack 3
    CPU:total 2 (cores per cpu 2, threads per core 1) family 6 model 15 stepping 13, cmov, cx8, fxsr, mmx, sse, sse2
    Memory: 4k page, physical 2052648k(1391420k free), swap 3990772k(3260776k free)
    vm_info: Java HotSpot(TM) Client VM (1.5.0_09-b01) for windows-x86, built on Sep 7 2006 13:59:31 by "java_re" with MS VC++ 6.0

    Looking into the stack trace, this seems to be related to mylyn plugin. Try to remove it (remove it from the plugins dir and restart eclipse) and see if this is still happening

  • Who can help me :)--a problem with java program(reset problem in java )

    I do not know how to make the button reset,my program only could reset diagram but button.If any one who could help me to solve this problem.The problem is When the reset button is pressed, the image should immediately revert to the black square, and the 4 widgets listed above should show values that
    correspond to the black square.The code like this,first one is shapes:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    public class shapes extends JFrame {
         private JPanel buttonPanel; // panel for buttons
         private DrawPanel myPanel;  // panel for shapes
         private JButton resetButton;
        private JComboBox colorComboBox;
         private JRadioButton circleButton, squareButton;
         private ButtonGroup radioGroup;
         private JCheckBox filledButton;
        private JSlider sizeSlider;
         private boolean isShow;
         private int shape;
         private boolean isFill=true;
        private String colorNames[] = {"black", "blue", "cyan", "darkGray", "gray",
                                   "green", "lightgray", "magenta", "orange",
                                   "pink", "red", "white", "yellow"};   // color names list in ComboBox
        private Color colors[] = {Color.black, Color.blue, Color.cyan, Color.darkGray,
                              Color.gray, Color.green, Color.lightGray, Color.magenta,
                              Color.orange, Color.pink, Color.red, Color.white, Color.yellow};
         public shapes() {
             super("Draw Shapes");
             // creat custom drawing panel
            myPanel = new DrawPanel(); // instantiate a DrawPanel object
            myPanel.setBackground(Color.white);
             // set up resetButton
            // register an event handler for resetButton's ActionEvent
            resetButton = new JButton ("reset");
             resetButton.addActionListener(
              // anonymous inner class to handle resetButton events
                 new ActionListener() {
                       // draw a black filled square shape after clicking resetButton
                     public void actionPerformed (ActionEvent event) {
                             // call DrawPanel method setShowStatus and pass an parameter
                          // to decide if show the shape
                         myPanel.setShowStatus(true);
                             isShow = myPanel.getShowStatus();
                             shape = DrawPanel.SQUARE;
                         // call DrawPanel method setShape to indicate shape to draw
                             myPanel.setShape(shape);
                         // call DrawPanel method setFill to indicate to draw a filled shape
                             myPanel.setFill(true);
                         // call DrawPanel method draw
                             myPanel.draw();
                             myPanel.setFill(true);
                             myPanel.setForeground(Color.black);
                   }// end anonymous inner class
             );// end call to addActionListener
            // set up colorComboBox
            // register event handlers for colorComboBox's ItemEvent
            colorComboBox = new JComboBox(colorNames);
            colorComboBox.setMaximumRowCount(5);
            colorComboBox.addItemListener(
                 // anonymous inner class to handle colorComboBox events
                 new ItemListener() {
                     // select shape's color
                     public void itemStateChanged(ItemEvent event) {
                         if(event.getStateChange() == ItemEvent.SELECTED)
                             // call DrawPanel method setForeground
                             // and pass an element value of colors array
                             myPanel.setForeground(colors[colorComboBox.getSelectedIndex()]);
                        myPanel.draw();
                }// end anonymous inner class
            ); // end call to addItemListener
            // set up a pair of RadioButtons
            // register an event handler for RadioButtons' ItemEvent
             squareButton = new JRadioButton ("Square", true);
             circleButton = new JRadioButton ("Circle", false);
             radioGroup = new ButtonGroup();
             radioGroup.add(squareButton);
             radioGroup.add(circleButton);
            squareButton.addItemListener(
                // anonymous inner class to handle squareButton events
                new ItemListener() {
                       public void itemStateChanged (ItemEvent event) {
                           if (isShow==true) {
                                 shape = DrawPanel.SQUARE;
                                 myPanel.setShape(shape);
                                 myPanel.draw();
                   }// end anonymous inner class
             );// end call to addItemListener
             circleButton.addItemListener(
                   // anonymous inner class to handle circleButton events
                new ItemListener() {
                       public void itemStateChanged (ItemEvent event) {
                             if (isShow==true) {
                                 shape = DrawPanel.CIRCLE;
                                 myPanel.setShape(shape);
                                 myPanel.draw();
                             else
                                 System.out.println("Please click Reset button first");
                   }// end anonymous inner class
             );// end call to addItemListener
             // set up filledButton
            // register an event handler for filledButton's ItemEvent
            filledButton = new JCheckBox("Filled", true);
             filledButton.addItemListener(
              // anonymous inner class to handle filledButton events
            new ItemListener() {
                  public void itemStateChanged (ItemEvent event) {
                    if (isShow==true) {
                            if (event.getStateChange() == ItemEvent.SELECTED) {
                                  isFill=true;
                                  myPanel.setFill(isFill);
                                  myPanel.draw();
                            else {
                                isFill=false;
                                  myPanel.setFill(isFill);
                                  myPanel.draw();
                    else
                        System.out.println("Please click Reset button first");
              }// end anonymous inner class
             );// end call to addItemListener
            // set up sizeSlider
            // register an event handler for sizeSlider's ChangeEvent
            sizeSlider = new JSlider(SwingConstants.HORIZONTAL, 0, 300, 100);
            sizeSlider.setMajorTickSpacing(10);
            sizeSlider.setPaintTicks(true);
            sizeSlider.addChangeListener(
                 // anonymous inner class to handle sizeSlider events
                 new ChangeListener() {
                      public void stateChanged(ChangeEvent event) {
                          myPanel.setShapeSize(sizeSlider.getValue());
                             myPanel.draw();
                 }// end anonymous inner class
             );// end call to addChangeListener
            // set up panel containing buttons
             buttonPanel = new JPanel();
            buttonPanel.setLayout(new GridLayout(4, 1, 0, 50));
             buttonPanel.add(resetButton);
             buttonPanel.add(filledButton);
            buttonPanel.add(colorComboBox);
            JPanel radioButtonPanel = new JPanel();
            radioButtonPanel.setLayout(new GridLayout(2, 1, 0, 20));
            radioButtonPanel.add(squareButton);
            radioButtonPanel.add(circleButton);
            buttonPanel.add(radioButtonPanel);
            // attach button panel & draw panel to content panel
            Container container = getContentPane();
            container.setLayout(new BorderLayout(10,10));
            container.add(myPanel, BorderLayout.CENTER);
             container.add(buttonPanel, BorderLayout.EAST);
            container.add(sizeSlider, BorderLayout.SOUTH);
            setSize(500, 400);
             setVisible(true);
         public static void main(String args[]) {
             shapes application = new shapes();
             application.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }second one is drawpanel:
    import java.awt.*;
    import javax.swing.*;
    public class DrawPanel extends JPanel {
         public final static int CIRCLE = 1, SQUARE = 2;
         private int shape;
         private boolean fill;
         private boolean showStatus;
        private int shapeSize = 100;
        private Color foreground;
         // draw a specified shape
        public void paintComponent (Graphics g){
              super.paintComponent(g);
              // find center
            int x=(getSize().width-shapeSize)/2;
              int y=(getSize().height-shapeSize)/2;
              if (shape == CIRCLE) {
                 if (fill == true){
                     g.setColor(foreground);
                      g.fillOval(x, y, shapeSize, shapeSize);
                else{
                       g.setColor(foreground);
                    g.drawOval(x, y, shapeSize, shapeSize);
              else if (shape == SQUARE){
                 if (fill == true){
                     g.setColor(foreground);
                        g.fillRect(x, y, shapeSize, shapeSize);
                else{
                        g.setColor(foreground);
                    g.drawRect(x, y, shapeSize, shapeSize);
        // set showStatus value
        public void setShowStatus (boolean s) {
              showStatus = s;
         // return showstatus value
        public boolean getShowStatus () {
              return showStatus;
         // set fill value
        public void setFill(boolean isFill) {
              fill = isFill;
         // set shape value
        public void setShape(int shapeToDraw) {
              shape = shapeToDraw;
        // set shapeSize value
        public void setShapeSize(int newShapeSize) {
              shapeSize = newShapeSize;
        // set foreground value
        public void setForeground(Color newColor) {
              foreground = newColor;
         // repaint DrawPanel
        public void draw (){
              if(showStatus == true)
              repaint();
    }If any kind people who can help me.
    many thanks to you!

    4 widgets???
    maybe this is what you mean.
    add this inside your actionPerformed method for the reset action
    squareButton.setSelected(true);
    colorComboBox.setSelectedIndex(0);
    if not be more clear in your post.

  • I will pay for who can help me with this applet

    Hi!, sorry for my english, im spanish.
    I have a big problem with an applet:
    I�ve make an applet that sends files to a FTP Server with a progress bar.
    Its works fine on my IDE (JBuilder 9), but when I load into Internet Explorer (signed applet) it crash. The applet seems like blocked: it show the screen of java loading and dont show the progress bar, but it send the archives to the FTP server while shows the java loading screen.
    I will pay with a domain or with paypal to anyone who can help me with this problematic applet. I will give my code and the goal is only repair the applet. Only that.
    My email: [email protected]
    thanks in advance.
    adios!

    thaks for yours anwswers..
    harmmeijer: the applet is signed ok, I dont think that is the problem...
    itchyscratchy: the server calls are made from start() method. The applet is crashed during its sending files to FTP server, when finish, the applet look ok.
    The class I use is FtpBean: http://www.geocities.com/SiliconValley/Code/9129/javabean/ftpbean/
    (I test too with apache commons-net, and the same effect...)
    The ftp is Filezilla in localhost.
    This is the code, I explain a little:
    The start() method calls iniciar() method where its is defined the array of files to upload, and connect to ftp server. The for loop on every element of array and uploads a file on subirFichero() method.
    Basicaly its this.
    The HTML code is:
    <applet
           codebase = "."
           code     = "revelado.Upload.class"
           archive  = "revelado.jar"
           name     = "Revelado"
           width    = "750"
           height   = "415"
           hspace   = "0"
           vspace   = "0"
           align    = "middle"
         >
         <PARAM NAME="usern" VALUE="username">
         </applet>
    package revelado;
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    import javax.swing.*;
    import java.io.*;
    import javax.swing.border.*;
    import java.net.*;
    import ftp.*;
    public class Upload
        extends Applet {
      private boolean isStandalone = false;
      JPanel jPanel1 = new JPanel();
      JLabel jLabel1 = new JLabel();
      JLabel jlmensaje = new JLabel();
      JLabel jlarchivo = new JLabel();
      TitledBorder titledBorder1;
      TitledBorder titledBorder2;
      //mis variables
      String DIRECTORIOHOME = System.getProperty("user.home");
      String[] fotos_sel = new String[1000]; //array of selected images
      int[] indice_tamano = new int[1000]; //array of sizes
      int[] indice_cantidad = new int[1000]; //array of quantitys
      int num_fotos_sel = 0; //number of selected images
      double importe = 0; //total prize
      double[] precios_tam = {
          0.12, 0.39, 0.60, 1.50};
      //prizes
      String server = "localhost";
      String username = "pepe";
      String password = "pepe01";
      String nombreusuario = null;
      JProgressBar jProgreso = new JProgressBar();
      //Obtener el valor de un par�metro
      public String getParameter(String key, String def) {
        return isStandalone ? System.getProperty(key, def) :
            (getParameter(key) != null ? getParameter(key) : def);
      //Construir el applet
      public Upload() {
      //Inicializar el applet
      public void init() {
        try {
          jbInit();
        catch (Exception e) {
          e.printStackTrace();
      //Inicializaci�n de componentes
      private void jbInit() throws Exception {
        titledBorder1 = new TitledBorder("");
        titledBorder2 = new TitledBorder("");
        this.setLayout(null);
        jPanel1.setBackground(Color.lightGray);
        jPanel1.setBorder(BorderFactory.createEtchedBorder());
        jPanel1.setBounds(new Rectangle(113, 70, 541, 151));
        jPanel1.setLayout(null);
        jLabel1.setFont(new java.awt.Font("Dialog", 1, 16));
        jLabel1.setText("Subiendo archivos al servidor");
        jLabel1.setBounds(new Rectangle(150, 26, 242, 15));
        jlmensaje.setFont(new java.awt.Font("Dialog", 0, 10));
        jlmensaje.setForeground(Color.red);
        jlmensaje.setHorizontalAlignment(SwingConstants.CENTER);
        jlmensaje.setText(
            "Por favor, no cierre esta ventana hasta que termine de subir todas " +
            "las fotos");
        jlmensaje.setBounds(new Rectangle(59, 49, 422, 30));
        jlarchivo.setBackground(Color.white);
        jlarchivo.setBorder(titledBorder2);
        jlarchivo.setHorizontalAlignment(SwingConstants.CENTER);
        jlarchivo.setBounds(new Rectangle(16, 85, 508, 24));
        jProgreso.setForeground(new Color(49, 226, 197));
        jProgreso.setBounds(new Rectangle(130, 121, 281, 18));
        jPanel1.add(jlmensaje, null);
        jPanel1.add(jlarchivo, null);
        jPanel1.add(jProgreso, null);
        jPanel1.add(jLabel1, null);
        this.add(jPanel1, null);
        nombreusuario = getParameter("usern");
      //Iniciar el applet
      public void start() {
        jlarchivo.setText("Start() method...");
        iniciar();
      public void iniciar() {
        //init images selected array
        fotos_sel[0] = "C:/fotos/05160009.JPG";
        fotos_sel[1] = "C:/fotos/05160010.JPG";
        fotos_sel[2] = "C:/fotos/05160011.JPG";
         // etc...
         num_fotos_sel=3; //number of selected images
        //conectar al ftp (instanciar clase FtpExample)
        FtpExample miftp = new FtpExample();
        miftp.connect();
        //make the directory
         subirpedido(miftp); 
        jProgreso.setMinimum(0);
        jProgreso.setMaximum(num_fotos_sel);
        for (int i = 0; i < num_fotos_sel; i++) {
          jlarchivo.setText(fotos_sel);
    jProgreso.setValue(i);
    subirFichero(miftp, fotos_sel[i]);
    try {
    Thread.sleep(1000);
    catch (InterruptedException ex) {
    //salida(ex.toString());
    jlarchivo.setText("Proceso finalizado correctamente");
    jProgreso.setValue(num_fotos_sel);
    miftp.close();
    //Detener el applet
    public void stop() {
    //Destruir el applet
    public void destroy() {
    //Obtener informaci�n del applet
    public String getAppletInfo() {
    return "Subir ficheros al server";
    //Obtener informaci�n del par�metro
    public String[][] getParameterInfo() {
    return null;
    //sube al ftp (a la carpeta del usuario) el archivo
    //pedido.txt que tiene las lineas del pedido
    public void subirpedido(FtpExample miftp) {
    jlarchivo.setText("Iniciando la conexi�n...");
    //make folder of user
    miftp.directorio("www/usuarios/" + nombreusuario);
    //uploads a file
    public void subirFichero(FtpExample miftp, String nombre) {
    //remote name:
    String nremoto = "";
    int lr = nombre.lastIndexOf("\\");
    if (lr<0){
    lr = nombre.lastIndexOf("/");
    nremoto = nombre.substring(lr + 1);
    String archivoremoto = "www/usuarios/" + nombreusuario + "/" + nremoto;
    //upload file
    miftp.subir(nombre, archivoremoto);
    class FtpExample
    implements FtpObserver {
    FtpBean ftp;
    long num_of_bytes = 0;
    public FtpExample() {
    // Create a new FtpBean object.
    ftp = new FtpBean();
    // Connect to a ftp server.
    public void connect() {
    try {
    ftp.ftpConnect("localhost", "pepe", "pepe01");
    catch (Exception e) {
    System.out.println(e);
    // Close connection
    public void close() {
    try {
    ftp.close();
    catch (Exception e) {
    System.out.println(e);
    // Go to directory pub and list its content.
    public void listDirectory() {
    FtpListResult ftplrs = null;
    try {
    // Go to directory
    ftp.setDirectory("/");
    // Get its directory content.
    ftplrs = ftp.getDirectoryContent();
    catch (Exception e) {
    System.out.println(e);
    // Print out the type and file name of each row.
    while (ftplrs.next()) {
    int type = ftplrs.getType();
    if (type == FtpListResult.DIRECTORY) {
    System.out.print("DIR\t");
    else if (type == FtpListResult.FILE) {
    System.out.print("FILE\t");
    else if (type == FtpListResult.LINK) {
    System.out.print("LINK\t");
    else if (type == FtpListResult.OTHERS) {
    System.out.print("OTHER\t");
    System.out.println(ftplrs.getName());
    // Implemented for FtpObserver interface.
    // To monitor download progress.
    public void byteRead(int bytes) {
    num_of_bytes += bytes;
    System.out.println(num_of_bytes + " of bytes read already.");
    // Needed to implements by FtpObserver interface.
    public void byteWrite(int bytes) {
    //crea un directorio
    public void directorio(String nombre) {
    try {
    ftp.makeDirectory(nombre);
    catch (Exception e) {
    System.out.println(e);
    public void subir(String local, String remoto) {
    try {
    ftp.putBinaryFile(local, remoto);
    catch (Exception e) {
    System.out.println(e);
    // Main
    public static void main(String[] args) {
    FtpExample example = new FtpExample();
    example.connect();
    example.directorio("raul");
    example.listDirectory();
    example.subir("C:/fotos/05160009.JPG", "/raul/foto1.jpg");
    //example.getFile();
    example.close();

  • Problem With GUI ( Who can help me! )

    Hallo,
    It�s a very simple program to See the Clock on a panel. The program works well, but if I want to include a GUI to my program, it don�t want. I use runable action and I think that is be the problem.
    Here below you can see the code�s. I�m sure there is someone who can help me.
    Thanks a lot,
    Seyyed
    The code:
    public class Clock_maken extends java.applet.Applet
    implements Runnable {
    public volatile Thread clockThread = null;
    JLabel           Datuum_label;
    DateFormat      formatter;
    Locale           locale;
    Date           currentDate;
    String          today;
    public void init(){ 
    locale = Locale.getDefault();
    Datuum_label = new JLabel("date");
    public void start() {       
    Datuum_label.setForeground(Color.black);
    add(Datuum_label);
    if(clockThread == null) {
    clockThread = new Thread(this);
    clockThread.start();
    public void run() {
         Thread myThread = Thread.currentThread();
         while (clockThread == myThread) {
         currentDate = new Date();
    formatter =                     DateFormat.getDateTimeInstance(DateFormat.FULL,
              DateFormat.MEDIUM, locale);
    today = formatter.format(currentDate);
    Datuum_label.setText(today);
    try {
    Thread.sleep(1000);
    } catch (InterruptedException e){ }
    public void stop() {clockThread = null;}
    public static void main(String[] args){
    JFrame.setDefaultLookAndFeelDecorated(true);
    JFrame      lunarPhasesFrame = new JFrame("Lunar Phases");
    lunarPhasesFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    Clock_maken phases = new Clock_maken();
    phases.init();
    phases.start();
    lunarPhasesFrame.pack();
    lunarPhasesFrame.setVisible(true);
    Now i want to create a GUI like folowing, but it dont work. Do u know wat is de probleem of mijn prograam.
    private static void createAndShowGUI() {
    JFrame.setDefaultLookAndFeelDecorated(true);
         /*     JFrame      lunarPhasesFrame = new JFrame("Lunar Phases");
              lunarPhasesFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    */ Clock_maken phases = new Clock_maken();
         /*     phases.init();
              phases.start();
              lunarPhasesFrame.pack();
         lunarPhasesFrame.setVisible(true);*/
    public static void main(String[] args) {
    javax.swing.SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    createAndShowGUI();
    }

    Continued here, with formatted code:
    http://forum.java.sun.com/thread.jspa?threadID=725022

  • Ive finished my first website now my next problem, who can help?

    Hi there,
    With lots of help from Nadia, ive finished my website..
    http://www.tlmgoldman.com/
    Now ive got to move on to an other level and i hope you can help me.
    As you can see the website is working fine. Now ive got one new question from my client. Is it possible that my client can change the text himself? And he want to add a new page with a lot off new pictures.. for the employers.
    What is the best way to do this. Is it possible to do this without a cms system because cms is for me like flying to mars..
    Is there some kind of program so my client can upload some pictures and changes some text on all the pages?
    I will be happy to hear from you..
    Regards Brian

    Hi thank you for your response,
    but when i replace the text my whole left column dissapears. Must i replace the first text or just add it can you tell me where to put it?
    Welkome bij TLM Goldman<br />
    TLM Goldman levert sinds 2007 consultingdiensten in de branche Trading & Investments. De focus van onze cliënten ligt op de handel in financiële instrumenten en derivaten zoals aandelen, obligaties, energie, carbon, opties, equity swaps, futures en gerelateerde producten. TLM Goldman zet zich in voor zijn cliënten opdat zij concurrerend blijven in hun markt, operationele voordelen behalen en aan internationale wet- en regelgeving voldoen.
    Date: Mon, 24 May 2010 15:54:07 -0600
    From: [email protected]
    To: [email protected]
    Subject: Ive finished my first website now my next problem, who can help?
    Switch to Code View.
    <div id="left_column">
    h3. Welcome to TLM Goldman
    <!begin Cushy CMS editable division>
    <div class="cushycms">
    </div>  <!end cushycms>
    </div>  <!end left_column>
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com
    >

  • Hello everyone, I am an electrical engineer, I am working on voice control of electric instuments, I like to use siri alication of "Apple", who can help me, thank you all

    Hello everyone, I am an electrical engineer, I am working on voice control of electric instuments, I like to use siri alication of "Apple", who can help me, thank you all

    If you mean that you want to license and obtain the programming code to Siri from Apple so that you can use it in your own devices, that will almost certainly not be possible. Apple almost never licenses their exclusive technologies to others. You can try writing their corporate office:
    http://www.apple.com/contact/
    and inquiring, but I would wager that you will not even receive a reply, much less have Apple be interested in licensing the Siri technology to you. You may have better luck talking to Nuance about their voice recognition technology:
    http://www.nuance.com/for-partners/index.htm
    If that's not what you mean, please post back and clarify.
    Regards.

  • Who can help me deal with the question?

    My JSP platform is JDK1.3+RESIN1.1.5,whern i write these code ,i found something wrong!
    <%@ page contentType="text/html;charset=gb2312"%>
    <%@ page info="database handler"%>
    <%@ page import="java.lang.*"%>
    <%@ page import="java.awt.*"%>
    <%@ page import="com.caucho.sql.*"%>
    <%@ page import="java.io.*"%>
    <%@ page import="java.util.*"%>
    <%@ page import="java.sql.*"%>
    <%@ page import="javax.servlet.*"%>
    <%@ page import="javax.servlet.http.*"%>
    <%! String username;%>
    <%! String password;%>
    <%! String sql;%>
    <%
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    String url="jdbc:odbc:jsptest";
    Connection conn=DriverManager.getConnection(url,"sa","hulachen");
    Statement stmt=conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_READ_ONLY);
    String username=request.getParameter("username");
    String password=request.getParameter("password");
    sql="select * from tbl_accounts where username='"+username+"' and password='"+password+"'";
    ResultSet rs=stmt.executeQuery(sql);
    while (rs.next())
    String name=rs.getString("username");
    out.print(name);
    if (name==null)
    out.print("error");
    else
    out.print("welcome");
    %>
    whether the name is null or not ,it will print error,i don't know why,who can help me?Thanks!

    I did the same as you said,but the same thing happened!
    the code is:
    while (rs.next())
    String name=rs.getString("username");
    out.print(name);
    if (name==null)
    out.print("True");
    else
    out.print("False");
    If the name is null,it printed False,but if the name is nothing,it didn't print True,but nothing!

  • Is there anyone who can help me to design a index page

    Hi guys
    I would like to design a index page like this site :
    http://www.hostplate.com
    Is there anyone who can help me ?

    Your example site is built with WordPress (a popular open source framework).
    You'll need to have a good working knowledge of HTML, CSS and some familiarity with PHP code & the ability to set-up a MySql database on your server.  The good news is that there is a wealth of on-line information available to you.
    HTML, CSS, PHP Tutorials - http://w3schools.com/
    Getting Started with WordPress - http://codex.wordpress.org/Getting_Started_with_WordPress
    If all this is outside your comfort zone and you're prepared to hire an experienced web developer to help you,
    feel free to contact me through my web site:  http://alt-web.com
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Hi are there some who can help i am trying to update my programs in app store

    hi are there some who can help i am trying to update garageband ,iphoto and iMovie on my iMac, but it´s not my apple id  it will use to the update, so i dont now the email and the  password for the email used, and i cant change it to my apple id
    my problem started after i updated to maverick
    i hope there are someone who can help ???

    hi are there some who can help i am trying to update garageband ,iphoto and iMovie on my iMac, but it´s not my apple id  it will use to the update, so i dont now the email and the  password for the email used, and i cant change it to my apple id
    my problem started after i updated to maverick
    i hope there are someone who can help ???

  • HI THERE!IS THERE ANY ONE WHO CAN HELP ME HAVING TROUBLE WITH MY IPHONE 3GS AFTER UPGRADING TO IOS5.0 IT WONT READ THE SIM AND NO SERVICE  AND IT WONT ACTIVATED.PLEASE HELP

    HI THERE IS THERE ANYONE WHO CAN HELP ME?I UPGRADE MY IPHONE 3GS TO IOS5 AND NOW IT WONT ACTIVATE AND SAYS THE SIM CARD IS NOT SUPPORTED I CHANGE FOR ANEW SIM ALREADY BUT STILL WONT ACTIVATE.PLEASE HELP

    you're responding to a post that's almost 2 months old. Time to post your own thread.

  • Hi anybody there who can help me ha..? My phone 5s was stolen 1 month ago..Find my phone is no a big deal, How can i know whether my phone is in use??

    Hi anybody there who can help me ha..? My phone 5s was stolen 1 month ago..Find my phone is no a big deal bcz it seems to be wiped out all data including settings. it might be in use somewhere turning new fresh Gadget.  How can i know whether my phone is in use??

    You would know for a fact if the device is in use, but if you go back to the find my iPhone app in iCloud.com, you can either select to erase it, or place it in lost mode, in which case, once the device makes a connection to the internet, it will automatically go into that mode.

Maybe you are looking for

  • Return Delivery to vendor

    If the purchase  is for 100 qty and having  4% VAT But in case if partially delivered (50 qty)how the system will calculate tax.. and in the same case if i return 25 qty frm it.. how the system calculates the VAT.....

  • How do I set up my old G3 PBs and a Sawtooth?

    My Wallstreet 233 had sat on my shelf for the last 5 years after I had thought that the Power Manager had burned due to a faulty adapter output. I recently got an old 266 which had an original apple mains adapter, and lo and behold the old PB came al

  • Operating system won't boot

    Just upgraded my old Athlon to a 2.8 P4 1mb cache with a 875P NEO M/B computer starts OK and can get into the BIOS but I cannot get the OS to boot !   I am still using the old hard disk a 40GB ATA 100 . any help would be very welcome thanks !!!

  • Problems Installing WebLogic Platform 7.0.0.1

    I am trying to install WebLogic Platform 7.0.0.1 downloaded from de BEA Site on a Microsoft Windows 2000 Advance Server SP2 and during the process this message appear. "the instalation archive informacion could not be obtained from BEA System..." Tha

  • BEx query - report with hierarchy, strcuture and cell

    SDN, I need to create a report like -                               Profit center1     Profit Center2     PC3   PC4    PC5      ... till PC20 Account    001                            10                  20                  30      40       50     ..