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 Chriss Miller 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: prosper
  • Content: Threads
  • Order by date
  1. prosper

    Why cvs client on suse10 can block ping?

    I have installed CVS from SUSE 10 DVD including CVS client and CVS server into SUSE Linux Enterprise 10(SUSE 10). I am sure that service of CVS server on this SUSE 10 is configured to be off. I would use the cvs client on SUSE 10 to connect to the repository maintained by CVSNT running on...
  2. prosper

    boolean question

    This is a bash script vmFound=false if [ $vmFound ]; then echo "vmFound is true" else echo "vmFound is false" fi Why "vmFound is true" is printed? How could I modify the script to make it run with correct result? I cannot find a tutorial with similar example Thanks for any help
  3. prosper

    Is the date command in linux stable?

    mytime=$(date +%Y%m%d_%k%M%S) dname="suse" networkDir="network" outputname=$mytime"_"$dname"_"$networkDir.tar.gz I sometimes got network.tar.gz from outputname. Does my script have any problem? Thanks for any help
  4. prosper

    question on Segmentation Fault

    I am writing a bash script run in suse10 at domain0 to mount an ISO file which contains another suse10 for running at domainU. I use XEN 3 After my bash file mount the ISO file and remove the directory /etc/sysconfig/network. I got segmentation fail at domain0 and suse10 at domain0 do not...
  5. prosper

    how to use awk -v

    I am writing a bash script to call awk -v. The following is the bash script inp='sles10' result=$(awk -v var1=$inp '$1~/^$var1$/ {print$2}' /etc/testtext) echo $result I want to pass a variable from bash to awk to match against the first column of the file and display the content of second...
  6. prosper

    how to undo promote local home interface on ejb

    There are options to promote a method to local home interface and remote home interface. How can I undo these options after I have chosen these options?
  7. prosper

    can i serialize HttpServletResponse and send to javabean

    I use JSP to call JavaBean, JavaBean then call the servlet. The servlet then serialize HttpServletResponse and wrap it in a class Addition and send it back to JavaBean. i have got org.apache.coyote.tomcat5.CoyoteResponseFacade and IOException in the servlet The following is the code in servlet...
  8. prosper

    No suitable driver in websphere 5.0

    I am using websphere studio application developer 5.0 and I want to connect to db2 version 8. When I add a new database connection under dbserver tab, no suitable driver error appear and I cannot finish adding a new database connection. My wsad is trial version and db2 is personal addition. I...
  9. prosper

    can i add id to statement when using taglib?

    <html:file property="files[0]" size="100" /> can i add id="upload" to this statement? how to do it? Anyone has document for more details in taglib? Thanks a lot.
  10. prosper

    do create a file download by jsp need create a popup?

    I need to create download function by jsp and use response.setContentType("application/vnd.ms-excel"), so i need a popup first so that i can call the jsp for response.setContentType("application/vnd.ms-excel") and create download User will see a popup up and then a save as...
  11. prosper

    how can I send japanese string between form in jsp and struts?

    I have the following statement in my jsp <META http-equiv="Content-Type" content="text/html; charset=Shift_JIS"> /* */ try{ request.setCharacterEncoding("Shift_JIS"); } catch (UnsupportedEncodingException uee){ } before I use request.getParameter("firstname"); I use Japanese...
  12. prosper

    How can I set tomcat to avoid new line generated?

    The servlet generated from jsp is always added with the line "\r\n". How can I set tomcat to added no new line automatically. I know I can avoid this if I write servlet myself or edit the generated servlet. But I want to do the seting for jsp.
  13. prosper

    Anyone can explain null in database concept?

    I know primary key field is not null. I think the field for record the time of transaction is also not null. Are the fields that are not for primary key can be allowed null? But other field seems to be not null for me. Are there any web tutorial on explaining on null? Thanks for any help!
  14. prosper

    Answer to GamiDrac

    import java.awt.*; import javax.swing.*; import java.awt.event.*; //*** public class JCombo extends JApplet implements ActionListener { JComboBox myCombo; JPanel mypan; JTextArea myBox; JButton myRound; String myOrder=&quot; &quot; ; public...
  15. prosper

    how does package affect comparison of object?

    It is a scjp question and I cannot compile the program. Consider following classes: //In File Other.java package other; public class Other {public static String hello = &quot;Hello&quot;;} //In File Test.java package testPackage; class Test { public static void...
  16. prosper

    byte b = (byte)(b+10);

    where can I download the tutorial about the complicated calculation involving char, short, byte and int?
  17. prosper

    what is a[ i ] = a[ j ].times(a[k]);

    v.setElementAt(v.elementAt(j).times(v.elementAt(k)), i); What is the method of times() in the above two statements? Where can I find the document about it? I am studying list from http://java.sun.com/docs/books/tutorial/collections/interfaces/list.html
  18. prosper

    array [j] = array [++j] + 10;

    The whole program is here class plus { public static void main(String args[]) { int array[] = {0,1,2,3,4,5}; int j =1 ; array[j] = array[++j]+10; for (int m=0; m<array.length; m++) System.out.println(array[m]); } } A book tells me to calcuate the right side ++j first and become...
  19. prosper

    Anyone tried assert successfully?

    can you give simple example?
  20. prosper

    What is Component[ ] ?

    I find the following code import java.awt.*; class q99{ public static void main( String args[]){ try{ Button[] var = null; System.out.println( var instanceof Component[]); }catch(Exception e){ System.out.println(...

Part and Inventory Search

Back
Top