User Profile

Collapse

Profile Sidebar

Collapse
sandeepk84
sandeepk84
Last Activity: Aug 19 '09, 04:16 AM
Joined: Oct 27 '06
Location: Cochin,Kerala,India.
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • sandeepk84
    replied to Converting files into pdf format in java
    in Java
    Thanx for your reply. Its not like Google is down and I thought of posting it here.
    I have found some solutions like ones using office tools for conversion.
    I wanted to check all the ways and select the best one from different opinions.
    And I got this reply.
    I have done Googling a lot and done many things. I am sorry if I did some mistake
    by posting my query. I will try to find solutions from Google in the future....
    See more | Go to post

    Leave a comment:


  • sandeepk84
    started a topic Converting files into pdf format in java
    in Java

    Converting files into pdf format in java

    Hi all,

    How can we convert a file into PDF format in java?My application does the
    file upload, and I need the files to be converted into PDF format.
    The uploaded file can be of any type. How can I do this?
    Please give me some help.

    Thanks and regards,
    Sandeep.
    See more | Go to post

  • HI all,

    Are there any free third parties available for generating preview of files?

    Thanks and Regards,
    Sandeep.
    See more | Go to post

    Leave a comment:


  • Hi..
    Thanx a lot for the reply.
    creating a preview or showing it was not a prob for me. The image file will be stored in a server for which there is no URL to give. So simply saying, there is nothing i can give for the src of the img tag on the jsp side.
    So I am calling the web service which will get the image in bytes and then
    I output that using the write() method of ImageIO. This web service will be called by a servlet...
    See more | Go to post

    Leave a comment:


  • Hi...

    Thanx a lot for your replies. I got a solution for that (showing images). Actually my problem was that i store uploaded files in one server and application in another. So whenever the image is to be shown, it has to be fetched from the file server. So I did it like for the src property of <img> tag
    i gave a servlet URL which will output the image after fetching it as a byte stream from the file server. So I have the...
    See more | Go to post

    Leave a comment:


  • sandeepk84
    started a topic How to show preview of uploaded files from server
    in Java

    How to show preview of uploaded files from server

    Hi all...

    I have file upload option in my web application. I use Struts 2.
    I wanted to show a preview of the uploaded file to the user.
    The uploaded file can be of any type like Image(png,jpeg, gif,etc.),
    PDF,doc,txt,ppt ,xls,html,etc.

    As of now the user has to download the file if he wants to see it which is
    not a good idea.

    By "preview" I mean, only the first page...
    See more | Go to post

  • sandeepk84
    started a topic Problem in getting results in order

    Problem in getting results in order

    Hi all,

    I have an sql to retrieve some data. the format of the query is like,

    select field1,field2 from tablename where field1 in(1,2,3);

    This is fine and it returns the details correctly.
    It gives result in the ascending order of what i give in the "in"

    ie. even if I give like

    select field1,field2 from tablename where field1 in(3,1,2);

    then...
    See more | Go to post

  • sandeepk84
    replied to Creating new Office type projects
    in .NET
    Hi...

    Thanks a lot for your reply...
    Yes it's for creating Outlook add-ins. The project is working fine on
    other machines. I was able to create the msi for addins.
    But in the machine that I tried was not having Visual Studio and I installed it.
    And it's opening other projects. but showing the error for
    Outlook plug-in project.
    while loading, it says "the project type is not supported...
    See more | Go to post

    Leave a comment:


  • sandeepk84
    started a topic Creating new Office type projects
    in .NET

    Creating new Office type projects

    Hi all,

    I wanted to create new (or modify existing ) projects of MS Office type.
    but in my Visual Studio New Project dialog box it's not showing Office type.
    Also am not able to open these types of projects.
    It's saying like "this project type is not supported by this installation"
    why is it like this? I have Visual Studio 2005 tools for Office Second Edition Runtime. Should I install something...
    See more | Go to post

  • sandeepk84
    started a topic signing applets
    in Java

    signing applets

    hi all..

    I have an applet in my web site and it needs to access some system resources.
    I have signed it and it's working properly. But by default, is it valid for six months only? how can I make it for more valid period or for ever

    plz help me
    thanx and regards
    sand...
    See more | Go to post

  • sandeepk84
    started a topic playing audio on web page
    in Java

    playing audio on web page

    Hi all,

    I have recorded sound using my program. It uses classes like AudioSystem. And it's
    able to record and play also. but in my site I have an mp3 player. So i thought of converting the recorded wav file into mp3. For this i used LAME utility in Linux. And it was converted. Also it is being played in normal players like Winamp. But when i try to play this converted mp3 file using my player in my site it's having problem....
    See more | Go to post

  • sandeepk84
    replied to embed audio player in web page
    in Java
    HI all...

    i hav got the pblm solved...
    now i can capture the audio data and hear it...
    for playing the sound i used JW MP3 Audio Player(Flash) which will be residing on my server so that users can listen to the audio files...
    my next issue is to convert the captured wav file into mp3...
    someone knows about lame?
    thanx and regards,
    sand...
    See more | Go to post

    Leave a comment:


  • sandeepk84
    replied to embed audio player in web page
    in Java
    Thanx a lot for ur help....

    i tried using embed tag...and it works in those machines with a quicktime player...
    otherwise it will take the user to the download site...i hav to avoid this...how can i use a plug-in..can u tell me any link...

    thanx and regards,
    sand......
    See more | Go to post

    Leave a comment:


  • sandeepk84
    started a topic embed audio player in web page
    in Java

    embed audio player in web page

    hi all...
    can anyone tell me how can i embed an audio player in my web page
    in html or jsp...which will help users with almost all the types of browsers, listen to it...plz help...

    thanx and regards,
    sand...
    See more | Go to post

  • read file permission error for applet to access a file

    Hi all...
    I am having an applet program for playing an audio file. It runs normally...
    but when it's run from browser, its showing the filepermission error.

    java.security.A ccessControlExc eption: access denied (java.io.FilePe rmission "filename" read)

    how to solve this? i have tried all the ways...tried changing the java.policy file by adding grant permission, etc.
    also i created a java.policy.app let...
    See more | Go to post

  • sandeepk84
    started a topic Recording and Playing sounds in Java
    in Java

    Recording and Playing sounds in Java

    Hi all...

    I wanted to add a functionality to my software for recording and playing sounds.
    Does anyone know how it can be done in java? How Sound API can be used?
    Even if it supports only some common sound formats, it's ok.
    can anyone help me?

    Thanks and Regards,
    Sand...
    See more | Go to post

  • Problem in getting attachments from Yahoo Classic using JavaMail

    Hi all...

    I am facing a problem in getting attachments from Yahoo Classic using JavaMail.
    My program reads the attachments from gmail and Yahoo Beta. But attachments of type pdf or txt from classic Yahoo are having the problem. I use
    isMymeType function to check the type, can anyone say how the type should be checked for files from classic yahoo?

    ie. for gmail part.isMimeType ("text/plain") or...
    See more | Go to post

  • ERROR 1030 (HY000): Got error 28 from storage engine

    Hi all,

    When i tried executing one query am getting this error.

    ERROR 1030 (HY000): Got error 28 from storage engine

    can anyone tell me how to resolve this? is this related to diskspace?

    how can i solve? please help...

    thanx and regards,

    sand...
    See more | Go to post

  • sandeepk84
    replied to how to find the number of users
    in Java
    hello Dhanya,

    are u not using any database?
    if yes, do u have any tables with the corresponding field for visit count or something? this is ok if u r creating accounts for each user, ie. like a member.
    for each member there will be visit count. change this field for each user according to his/her log-in or log-out. otherwise each time change this without taking care of the users...
    hope this is clear,
    ...
    See more | Go to post

    Leave a comment:


  • sandeepk84
    started a topic problem in accessing mail...

    problem in accessing mail...

    Hi all...

    am having problems in connecting to the mail server...
    all other sites r getting...like google is getting but not gmail...last time i had to re-install Linux..after that i got the problem...and my programs that use SMTP mail server r not working...can anyone please tell me wat may b the prob???

    thanx and regards...
    sand....
    See more | Go to post
No activity results to display
Show More
Working...