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 Mike Lewis 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: *

  1. dvsmas

    Problem: Assigning value to a variable.

    Hi, I'm a novice to Unix, so please help me understand the correct syntax. i've these steps in my K shell: var=filename "$var"=`echo "thereport"` But the system is giving an error: filename=thereport: not found Why would nt this work? What should I do to make it work? I eventually have to use...
  2. dvsmas

    Difference between String creation in class and in constructor

    Can anyone please tell me if there is any difference in the following ways of a String creation. class A{ String X; A(){ X = new String("Hello"); } } class A{ String X=new String("Hello"); } Which option is better? Thanks in advance
  3. dvsmas

    IE 6.0 css

    Thank you dwarfthrower! I did have a "2" in my stylesheet. I changed it to "2px" and it worked!
  4. dvsmas

    IE 6.0 css

    Can anyone please tell me if there is any problem with ie6 and style sheets? I used a css with my html and included the class inside an <input> like this: <input type=&quot;text&quot; name=&quot;test&quot; value=&quot;test&quot; maxLength=4 readOnly class=&quot;tb&quot; size=4> This textbox...
  5. dvsmas

    How can use &quot;date&quot; command show date of yesterday?

    Ed, Thanks for the Leap year corrections. I try to include those in my script. As i said I dint write the script myself and am not too good at script. Shall try to work without those semicolns. Thanks
  6. dvsmas

    How can use &quot;date&quot; command show date of yesterday?

    I got this script from some site and am using it. Hope this helps. ---------------------------- TODAY=`date &quot;+%y %m %d&quot; | nawk '{split(&quot;31,31,28,31,30,31,30,31,31,30,31,30&quot;,month,&quot;,&quot;); if ($1 % 4 == 0) { month[3]=29; }; day=$3-1; mon=$2+0; year=$1+0; if (day == 0)...
  7. dvsmas

    send attachment from client machine

    Can anyone please help me with this: I need to send an attachment located on the client machine. I know how to do this through java mail API if the attachments are located on the server. Basically I would like to know if there is any javascript or any java classes available. Thanks in advance
  8. dvsmas

    how to send an attachment located on the client machine??

    Can anyone please help me with this: I need to send an attachment located on the client machine. I know how to do this through java mail API if the attachments are located on the server. Basically I would like to know if there is any javascript or any java classes available. Thanks in advance
  9. dvsmas

    DIV tag

    How to show and hide DIV tag in Netscape ?
  10. dvsmas

    Error in Servlet/JSP

    I'm getting IllegalStateException and then i'm getting the following error &quot;Error during native write operation! Status Code: -1&quot; in stdout log on the webserver. Any ideas on how to avoid these errors. All i'm doing in the servlet is get RequestDispatcher object and forward it to a...
  11. dvsmas

    cell border when no data is present

    Glowball if you refer to cell 5 in the above table, by including &nbsp; in that cell, i get an illusion of loss of &quot;middle&quot; vertical alignment even though browser actually aligns the text and &nbsp;  It happens only on boundary conditions when the data is just sufficient enough to fit...
  12. dvsmas

    cell border when no data is present

    BTW style=&quot;border-collapse: collapse&quot; doesnt work in Netscape. But style:&quot;empty-cells: show&quot;, shows a border for empty cells in Netscape 6.0. This doesnt work in Internet Explorer. If jasonslas means to put a &nbsp; for empty cells, how to do it JSP's where i cant determine...
  13. dvsmas

    cell border when no data is present

    I would like to know if there is any way to get border for a cell in a table when no data is present in the cell without using nbsp;  in the TD tag. For all cells in first column, i'm using nbsp;  at the end of the data. Here is the code i'm using (i'm removing & before nbsp; because it...
  14. dvsmas

    Syntax in C 's printf function for an Excel cell formatting

    I need to send a report as an email with an attachment in an excel sheet format. Using awk, I could reformat the report ,with a &quot;\t&quot; in the printf statements as this is recognised as the cell separator in an xls file. Is there any way I can set the font attributes also in a similar...
  15. dvsmas

    set font syntax in printf for an excel file

    I need to send a report as an email with an attachment in an excel sheet format. Using awk, I could reformat the report ,with a &quot;\t&quot; in the printf statements as this is recognised as the cell separator in an xls file. Is there any way I can set the font attributes also in a similar...

Part and Inventory Search

Back
Top