Help me guys i am facing problem with word doc.

Hi
it is almost 2 weeks and i have been posting similar quries to this forum. i am having problem in displaying the word as it is.
what i have done is using uima i have developed as search application.i am getting the result.here i wanted to get result like
1)serched string
2)where it came in the file(added Pre and post charecters to searching string)
3) hyper link to thename of the(where this string occured)
and i am getting result like this
and
en Coar (ASF member and Vice President) Sa
Apache_UIMA.doc
here i am facing the problem.when i click the hyper link for Apache_UIMA.doc my result is not getting displyed properley. iam getting result some thing like this
"""??�?�?>?? VX????U?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????�?y? ???#bjbjE�E� 2L'?'????????�??????????????????m%&????�?N$6?$�$�$�$�$�$�$$?'�5*?%?J??JJ%???�?'%JJJJ???�?$JJ?$JJ:?#,?#?h???? ??????J�# ?$=%0m%�# �*J�*?#?#?�*?�$$JJJJJJJJ%%JJJJm%JJJJ????????????????????????????????????????????????????????????????????�*JJJJJJJJJ? ?: GENERAL INFORMATION CONTACT INFORMATION Telephone: 919866444481(M) 91 040 27796401(R) Email: [email protected] S James Shaji Date of Birth: 04 Apr 1979 Gender:Male Annual Salary: 2 Lac(s) 30 Thoousand Total Years of Experience: 3 Year(s) 0 Month(s) flash developer Key Skills: Flash Action Script, HTML, Javascript, CSS, XML, web development, Dreamweaver, Sharepoint, Photoshop INDUSTRY INFORMATION Current Industry: IT-Software/Software Services Current Functional Area: IT Software- E-Commerce / Internet Technologies Current Role: Software Developer Current Employer: Smart - bridge solutions """
here i want to get word to be displayed.is it possible to display?can any one help me here........
vijay

Well, I saw in your other thread, that these are things served up by your own servlet. You didn't mention that here, you simply said you had a link, and when clicked it didn't show up right. Well, that's browser and not Java. The fact that you are serving them, is Java.
Now, coming to that point. I get the feeling that the things you are serving up, are not being generated by you, but rather, already exist. If so, why not simply point the browser directly to the document and let the browser decide how it will it open it?
If you must "filter" it through your servlet, then follow the advice given both in your other thread, and above. Set the proper MIME type and use the "proper" extension on the name in the headers, then simply feed the document, as is, through the outputstream.

Similar Messages

  • Problems with Word Doc line spacing

    I have multiple word docs to bring in and each time, all though the word doc is formatted like I need (italic headers, diff font sizes etc…) Indesign brings it in double spaced although it is not that way in the word doc. At this point I am having to go to the end of each line, delete to bring the next line to the end of that one, then shift+enter to drop it down 1 line. I have 11 documents that are 5-10 pages each…. Is there a way to avoid having to do all of that??? I have tried tweaking the leading via the justification panel as I saw on another site, but it has no effect. Brought in a different document, formatted exactly the same as above. This time it kept the space right, but when I narrowed the text box to fit where I needed it, instead of lines just dropping down as they should, they are actually laying on top of each other. I am at a complete loss.... ANY help would be greatly appreciated!

    Don't use Word styles in InDesign. Set up InDesign styles which will replace word styles when text is imported into InDesign. Word styles have different parameters as InDesign styles have. You can't compare them, every imported Word style will make a mess in InDesign. You can set up once the style in InDesign and create a template upon file import how Word Styles are translated into the InDesign styles.

  • I am facing problem with adobe illustrator cc in windows 8,it closes automatically after few secons,please help

    I am facing problem with adobe illustrator cc in windows 8,it closes automatically after few secons,please help
    [ link removed by moderator ]

    Sign in, activation, or connection errors | CS5.5 and later
    Mylenium

  • HT1933 I am facing problems with mails after update iPhone 4S/io7. I have configured yahoo mail in iPhone 4S. When I click on refresh, it shows new mail downloaded but when I go inside inbox the new mail don't show up. Can anyone help me with this iOS 7 i

    I am facing problems with mails after update iPhone 4S/io7. I have configured yahoo mail in iPhone 4S. When I click on refresh, it shows new mail downloaded but when I go inside inbox the new mail don't show up. Can anyone help me with this iOS 7 issue ?

    Hi were you able to resolve yours?
    I was very worried losing all my medical stuff on my iPad Air 2, plus i have nothing to use for the next day! So i have to try all the possible things i read on the internet!! And this worked on my part (Thank God, and thank you Google)
    Perform a hard reboot
    Hold down the Home button and Power button on your iPhone or iPad and keep holding them until you see the Apple logo. Once you do, you can let go. When your device boots back up, go ahead and check to see if the apps have started re-downloading. If they still appear to be stuck, continue on.

  • Hi guy! I have been using iPhone since 2010 but now I'm facing problem with hardware still after i reclaim new iPhone some times my phone just completely blackout!! any idea??

    hi guy! I have been using iPhone since 2010 but now I'm facing problem with hardware still after i reclaim new iPhone some times my phone just completely blackout!! any idea??

    If there is a problem with your AppleID, you - and not the provider - must
    straighten out the matter.
    AppleID disabled:
    http://support.apple.com/kb/TS2446
    http://www.apple.com/support/itunes/contact/
    https://getsupport.apple.com/Issues.action

  • Facing problem with logo in the PDF attachment when sending mail...

    hi friends,
    i'm facing problem with logo in the PDF attachment to the mail.
    my requirement:
    1. enter spool number and mail id in the selection screen.
    process:
    1. now the program will fetch the spool data and converts it to PDF.
    2. but when i'm trying to send mail with this PDF as attachment.
    when i open the PDF file from the mail, logo is not coming properly (looks disturbed).
    can anyone help me how to resolve this issue...
    thanks in advance, murashali.

    hi dinakar, thanks for your mail...
    logo looks good in spool/script/smartform.
    even it look good when i download this spool to pdf and to the presentation server as pdf file.
    i'm using CONVERT_OTFSPOOLJOB_2_PDF.
    when i used CONVERT_ABAPSPOOLJOB_2_PDF, is gives a msg - 'spool number not found'.
    here i'm using folloing code to pass pdf to the function module: SO_NEW_DOCUMENT_ATT_SEND_API1.
    code:
    Transfer the 132-long strings to 255-long strings
      lt_mtab_pdf[] = pdf[].
      LOOP AT lt_mtab_pdf INTO lwa_mtab_pdf.
        TRANSLATE lwa_mtab_pdf USING ' ~'.
        CONCATENATE lv_gd_buffer lwa_mtab_pdf INTO lv_gd_buffer.
        CLEAR lwa_mtab_pdf.
      ENDLOOP.
      TRANSLATE lv_gd_buffer USING '~ '.
      DO.
        lwa_mess_att = lv_gd_buffer.
        APPEND lwa_mess_att TO lt_mess_att.
        CLEAR lwa_mess_att.
        SHIFT lv_gd_buffer LEFT BY 255 PLACES.
        IF lv_gd_buffer IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
    NOTE: problem i believe is with ''.  i'm getting this tilt symbol () in my pdf internal table.  here in the above code the line   TRANSLATE lv_gd_buffer USING '~ ' is changing the existing tilt to space.  so my logo is getting disturbed.
    even i tried with REPLACE this tilt with other char, but it doent work.
    can you give any idea...

  • Facing problem with a date column in select query

    Hi,
    I am facing problem with a date column. Below is my query and its fainling with " invalid number format model" .
    Query: SELECT *
    FROM EMP
    WHERE trunc(LAST_UPDATED) >= to_date(to_char(22-05-2009,'dd-mm-yyyy'),'dd-mm-yyyy')
    LAST_UPDATED column is "DATE" data type.
    Please help me Thanks

    Radhakrishna Sarma wrote:
    SeánMacGC wrote:
    WHERE LAST_UPDATED >= to_date('22-05-2009','dd-mm-yyyy');
    You do not need the TRUNC here in any case.
    I don't think so. What if the user wants only data for 22nd May and the table has records with date later than 22nd also? In that case your query willl not work. In order for the Index to work, I think the query can be written like this I think Sean is right though. Use of TRUNC Function is quiet useless based on the condition given here, since the to_date Function used by OP will always point to midnight of the specified date, in this case 22-05-2009 00:00:00.
    Regards,
    Jo
    Edit: I think Sean proved his point... ;)

  • Newbie to blackberry...facing problem with basics

    hi guys,
                 i got my playbook today...........facing problem with basics
             1.how do i perform file actions(like create folder, move,rename)
             2.cant  use drag gesture
             3. ppt applications doesnt show a option to create new presentation(word and xls apps seem to work fine)
             4.can we even download apps from app world to pc  bcuz  everytime it says connect the smartphone to computer even though its physically connected and blackberry desktop manager also shows the device is connected"

    To mange your files, try a file manager like Files & Folders.
    Drag gestures are available in OS 2.0 which should be available before the end of Feb (rumour has it, this week).
    In OS 2 you will also be able to create new PPT presentations.
    To download apps from App World you need to be connected to a Wifi network at the moment.
    Files & Folders, the unified file & cloud manager for PlayBook and BB10 with SkyDrive, SugarSync, Box, Dropbox, Google Drive, Google Docs. Free 3-day trial! - Jon Webb - Innovatology - Utrecht, Netherlands

  • Urgent: Facing problem with restoratio​n prosses

    Good day,
    I'm Facing problem with restoration process. During restoring my data from my PC to my Q10 phone using link app. the application reject my request & kept giving me following error:
    Operation Cancelled.
    Really need your help Gent’s & I'll be so much glad for anyone help me to solve this matter.
    Thx.

    Hello
    Are you restoring from same device to same device or to different device?

  • Hi guys. i have some problem with a link from a pdf on-line,when i click on it,the page adds a "%" at the and of the link and says "page not found" because of it

    Hi guys. i have some problem with a link from a pdf on-line,when i click on it,the page adds a "%" at the and of the link and says "page not found" because of it.
    This happens only when a load my pdf file on my server, because if i click on the link when the file is on my iPad, the page opens without problem.
    Any help please?
    thanx

    the % sign is often used when there's a space in a name. HTML doesn't like spaces so it fills them with % or %20
    try, on the end of that link, see if there's a space built into the page or the link when the page was made
    On the web address you may be able to 'backspace' at the end and erase that space to get the address, but whomever made the page possibly put a mistake in the link

  • Sim problems- I updated my ipad2 to ios7 after that , iam facing problems with my sim, it showing no sim card after inserting sim. there is no prbolem with my sim.

    I updated my ipad2 to ios7 after that , iam facing problems with my sim, it showing no sim card after inserting sim. there is no prbolem with my sim.

    arun kumar chenna123 wrote:
    i have updated my iphone to ios4.1. after installation, it is showing as"The SIM card inserted in this iPhone does not appear to be supported. only compatible sim cards from a supported carrier may be used to activate iphone. Please insert the sim card that came with your iphone...."
    how to solve this problem. I don't have any sim cards that came with iphone.
    Please help out to solve this problem.
    It sounds like the phone was hacked or jailbroken, and updating it locked it to the original carrier. As it is not possible to update to any version other than the current one (5.1) the fact that you updated to 4.1 pretty much confirms the phone was hacked. There is no solution that you can get in an Apple forum.

  • Hi Guys, I have a problem with Importing Pictures onto my Mac mini with Lion installed by using a Card Reader, What is the problem here so I can get Pictures onto my Computer. ,

    Hi Guys,
    I have a problem with Importing Pictures onto my Mac mini with Lion installed by using a Card Reader,
    What is the problem here so I can get Pictures onto my Computer. ,

    Hi Noob Søren
    There are a few things that are confusing in your question.
    As far as I know, you dont have to install Time Machine on this OS as it is already installed for you. You only need to connect a hard drive to your computer via firewire or usb, click on the Time Machine icon, Open Time Machine Preference in the drop down menu and select a disk: your connected hard drive.
    You can of course reformat this connected device, partition it into a few volumes to organise data if you so wish.
    I find it strange that your mac's hard drive is divided into two volumes... perhaps this was created through bootcamp?
    You can access the configuration of your hd through Applications/Utilities/Disk Utilities.
    Clicking on one of the icons on the right hand panel will bring the details of the contents of your hardDrive and volumes. From there you can decide to erase a partition, reformat etc....
    If your hd contains more than one volume, and one of them is empty, you could decide to remove it. Back up all your important data before doing so.
    Hope this helps
    WN

  • Facing problem with the code for sending an .xls attachment via email, a field value contains leading zeros but excel automatically removes these from display i.e. (00444 with be displayed as 444).kindly guide .

    Facing problem with the code for sending an .xls attachment via email, a field value contains leading zeros but excel automatically removes these from display i.e. (00444 with be displayed as 444).kindly guide .

    Hi Chhayank,
    the problem is not the exported xls. If you have a look inside with Notepad or something like that, you will see that your leading zeros are exported correct.Excel-settings occurs this problem, it is all about how to open the document. If you use the import-assistant you will have no problems because there are options available how to handle the different columns.
    Another solution might be to get familiar with ABAP2XLS-Project. I got in my mind, that there is a method implemented, that will help you solving this problem. But that is not a five minute job
    ~Florian

  • HT1222 I have iphone 4 and the software is ios 7.0.2. I am facing problems with my phone. Since the last software update my phone has started giving problems. like it hangs sometime when i recieve an incoming call. The carrier status bar shifts down a bit

    I have iphone 4 and the software is ios 7.0.2. I am facing problems with my phone. Since the last software update my phone has started giving problems. like it hangs sometime when i recieve an incoming call. The carrier status bar shifts down a bit and sometimes it vanishes automatically. I,m confused.
    Secondly i have an update IOS 7.0.4 waiting in my Software Update menu. I have tried so many times to update my iphone but it always fails to update the IOS 7.0.4. Any body suggest anything regarding this

    Wow. Lots of help. Thanks apple

  • Facing problems with network due which the phone goes into hangs status

    Facing problems with network due which the phone goes into hangs status.  some one help me with switching between 2g and 3G network

    Hi Mani Nair,
    I apologize, I'm a bit unclear on the exact nature of the issue you are describing. If you are talking about having issues with a 3G cellular data network, you may find the troubleshooting steps outlined in the following article helpful:
    iPhone cellular data connection issues
    Regards,
    - Brenden

Maybe you are looking for