User Profile

Collapse

Profile Sidebar

Collapse
gaya3
gaya3
Last Activity: Oct 12 '12, 10:04 AM
Joined: Aug 10 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Best way to search a text in the file and copy the file

    Hi All,

    In my java application, i need to search a string (Eg: "Hello") in the list of files in the source directory and i need to copy all the files that matches the search text and copy all those files into another destination directory.

    Problem:

    In my source directory i have lot more number of files , probably 10,000+. I am not sure , whether iterating the files and searching the string using...
    See more | Go to post

  • gaya3
    started a topic Copy files from samba share
    in Java

    Copy files from samba share

    Hi All,

    I would like to have the simple java code that copy the files from samba share to local drive.

    When i tried with below snippet , file not found exception occured. Please do needful
    Code:
    try{
    				
    String source = "//IP.VV.YY.XXX//test//mm";
    File sourceFile = new File(source);
    FileInputStream stream = new FileInputStream(sourceFile);
    System.out.println("\n\n
    ...
    See more | Go to post

  • gaya3
    replied to Code review tools for SQL 2005
    Thanks for your reply. I tried a sample sql to tune in Database Tuning Advisor. But whenever i start the analysis after loading the workload file, i got error while submitting configuration information. Only then i came to know that, to use the Database engine tuning advisor we require the Database Admin rights, which would not be available for developers. Could you share any tools that can be used by developers to tune the SQL queries?
    See more | Go to post

    Leave a comment:


  • gaya3
    started a topic Code review tools for SQL 2005

    Code review tools for SQL 2005

    Hi All,

    Is there any free SQL code review tools to check the quality of the SQL code and to improve the performance?
    See more | Go to post

  • Not able to display the unicode characters using Sitemesh decorators

    Hi,

    Our application uses Spring MVC Framework and also it use sitemesh decorators to decorate the page.I have a problem in displaying the unicode characters in my application along with the decorator.

    If i exclude the decorator, am able to display the unicode characters, but it should not be the solution. our application has to support the Japanese and chinese characters.


    I have tried all the...
    See more | Go to post

  • gaya3
    started a topic NSIS installer script for detecting JRE
    in Perl

    NSIS installer script for detecting JRE

    Hi All,
    Is there a script available for the Nullsoft Installer (NSIS) that can detect whether or not a JRE is already installed? I want to show a message
    dialog in case the user does not have a JRE installed.

    Thanks in Advance
    See more | Go to post

  • one - jar Unable to locate com.simontuffs.onejar.Boot in the java.class.path:

    Hi All,
    In my project, am creating the application jar using one-jar. And am able to run the jar with java -jar Example.jar and its working fine. When i try to run from jnlp its throwing the below Exception. i dont have any clue.
    Code:
    java.lang.IllegalArgumentException: Unable to locate com.simontuffs.onejar.Boot in the java.class.path: consider using -Done-jar.jar.path to specify the one-jar filename.
    	at com.simontuffs.onejar.Boot.getMyJarPath(Boot.java:400)
    ...
    See more | Go to post

  • gaya3
    started a topic Accessing java Control panel properties in java
    in Java

    Accessing java Control panel properties in java

    Hi all, Is it possible to access the java control panel properties in java program. I need to get the "Temporary Internet files " Location programatically .
    See more | Go to post
    Last edited by Niheel; Jun 4 '10, 08:09 AM. Reason: spacing

  • gaya3
    started a topic Accessing derby inside the jar
    in Java

    Accessing derby inside the jar

    Hi,
    For our swing application we are using derby database. Since its desktoop application, we are providing the application as jar to the clients. But issue is in finding the database. Derby database url is not recognised inside the jar.
    we have the entry as jdbc:derby:src\ DerbyDSLS001

    we also tried as jdbc:derby:jar: (C:/Test.jar)src/DerbyDSLS001 ==> Its working fine. The bottleneck in this is jar need to...
    See more | Go to post

  • gaya3
    replied to How to Open PDF file in Java Swings
    in Java
    can you please suggest some solution for opening non-url?
    See more | Go to post

    Leave a comment:


  • gaya3
    replied to How to Open PDF file in Java Swings
    in Java
    Hi ,
    I tried as follows

    Runtime.getRunt ime().exec("run dll32 url.dll,FilePro tocolHandler http://www.google.com" );

    am able to open the google page.. where as when i tried to open a pdf file .. it is not able to do so..

    Runtime.getRunt ime().exec("run dll32 url.dll,FilePro tocolHandler C:/pdf/test.pdf");


    Do any one faced this issue? Please help me out.
    See more | Go to post

    Leave a comment:


  • gaya3
    replied to How to Open PDF file in Java Swings
    in Java
    How to open the existing PDF file using iText
    See more | Go to post

    Leave a comment:


  • gaya3
    replied to How to Open PDF file in Java Swings
    in Java
    Thanks.. but Desktop api are supported only fron java 1.6 rt?.. i need to implement the above functionality in java 1.5 version
    See more | Go to post

    Leave a comment:


  • gaya3
    replied to How to Open PDF file in Java Swings
    in Java
    Thanks. Could you please brief your first solution.. And any other solutions.
    See more | Go to post

    Leave a comment:


  • gaya3
    started a topic How to Open PDF file in Java Swings
    in Java

    How to Open PDF file in Java Swings

    Hi All,
    I am very much new to java Swings I need to open the PDF file from Swings application..
    I tried as follows...

    Runtime r= Runtime.getRunt ime();
    Process p = r.exec("C:/Program Files/Adobe/Reader 8.0/Reader/AcroRd32.exe Test.Pdf");


    it got work.. But is ter any other solution.. because am hard coding the path of the exe file in the above code....
    pl help...
    See more | Go to post

  • gaya3
    replied to Video streaming
    in .NET
    Hi ,
    Its not college assignment or something else. we are doing POC for our project & more over am new to .NET & IIS. can any one help me please..
    See more | Go to post

    Leave a comment:


  • gaya3
    started a topic Video streaming
    in .NET

    Video streaming

    Hi All,
    can anyone please say me

    1. what is video streaming?
    2. smooth streaming
    3. How video streaming is done in IIS to integrate with iphone
    4. version of IIS that supports video streaming for integration of iphone?

    Please help me out.
    See more | Go to post

  • gaya3
    started a topic Silverlight mobile integration
    in XAML

    Silverlight mobile integration

    Hi All,
    I have created the sample "Helloworld " application using silverlight 3.0. But how to integrate this same apllication with mobile? can anyone help me out..
    See more | Go to post

  • gaya3
    started a topic Apple iPhone development information

    Apple iPhone development information

    Hi All,
    am new to the mobile development..ca n anyone suggest me the links for Apple iphone sdk for good startup.
    See more | Go to post

  • gaya3
    replied to Trigger event on file download popup
    Joslin,
    you can also have the following sample

    Code:
    <script type="text/javascript">
    
    // Changes the cursor to an hourglass
    function cursor_wait() {
    document.body.style.cursor = 'wait';
    }
    
    // Returns the cursor to the default pointer
    function cursor_clear() {
    document.body.style.cursor = 'default';
    }
    
    // Does some arduous calculation
    ...
    See more | Go to post
    Last edited by acoder; Feb 23 '09, 01:12 PM. Reason: Added [code] tags

    Leave a comment:

No activity results to display
Show More
Working...