Open notepad using a servlet

Does anyone know to open the note pad from servlet application
i am using IE 5.5

Sorry, that doesn't make much sense. Your servlet is running on a web server, and having it open Notepad on that server is pointless. Having the servlet send a response to your browser that causes it to open Notepad might be possible, but you'd have to do some configuring of your browser to make that happen. That would make the servlet pretty useless, because anybody who wanted to use it would have to reconfigure their browser in the same way.

Similar Messages

  • OPen Notepad using  java

    I have a simple java program.
    Which containes a string variable str = �hai�.
    I opened notepad from this java program.
    After the notepad is opened it should contains the text �hai�.
    How to do it.?
    I did it but nothing is displayed.my code is �..
    I opened notepad using : Process p=Runtime.getRuntime().exec(�notepad.exe�);
    I obtained an output stream to this subprocess as : p.getOutputStream()
    I send it to BufferedOutputStream as : BufferedOutputStream bos=new BufferedOutputStream(p.getOutputStream());
    Now I convert the str into bytes and send (write it) to notedpad as : bos.write(str.getBytes());
    But it doesnot display anything.
    thanks in adv.

    if possible please reply. i want to open a
    notepad and send some data to notepad thats all the
    matter.It might be possible - but you'd be better off asking in a microsoft forum. (or take everyone else's advice and spend the 10 minutes writing a tiny swing app to do this.

  • Report Builder 3.0.5.8.0 using a servlet

    hi
    I am trying calling the Reports server using a servlet. i need to find if i get a confirmation from the reports server that the report is generated. In which case I would be able to throw the same to the browser.
    Naresh

    Hi!
    1. Make sure no one else has opened the same file.
    2. Dont put image on your report.
    later
    Mircea Paciu (guest) wrote:
    : In Report builder 3.0.5.8.0 I can't open some of my *.rdf
    files.
    : When trying to open no error message is generated and the "open
    : dialog" reappears.
    : Some other files can be normally open.
    : Does anyone know how to solve this?
    null

  • Help - using Form Servlet (6i)

    Hi All,
    been trying to configure the forms listener servlet based on the white paper.
    When I opened the http://myserver/servlet/f60servlet, it showed the following messages:
    "Oracle Forms 6i Servlets
    The Forms Listener servlet is up and running.
    The servlet administration page has been moved to"f60servlet/admin", where "f60servlet" is the alias you defined for the Forms Servlet (class oracle.forms.servlet.FormsServlet) ... etc.."
    Then, if I tried to open my simple application with only one form as follows:
    http://myserver/servlet/f60servlet?config=test
    the webpage still showed the above messages.
    Previously I could run this app using forms CGI: http://myserver/cgi-bin/ifcgi60.exe?config=test
    How to solve the problem?
    Thanks
    Rgds

    The code fragment below shows how to send a POST method to a servlet URL.
    Write down this code in ur first servlet. to post data to some servlet in other application
    // connect to the servlet
    String location = "http://www.foo.com/servlet/servlet2";
    URL testServlet = new URL( servletLocation );
    URLConnection servletConnection = testServlet.openConnection();
    // inform the connection that we will send output and accept input
    servletConnection.setDoInput(true);
    servletConnection.setDoOutput(true);
    // Don't use a cached version of URL connection.
    servletConnection.setUseCaches (false);
    servletConnection.setDefaultUseCaches (false);
    // Specify the content type that we will send binary data
    servletConnection.setRequestProperty
    ("Content-Type", "<insert favorite mime type>");
    // get input and output streams on servlet
    // send your data to the servlet
    Sudhir Nimavat

  • Headstart using Forms servlet implementation

    I'm trying to configure forms server with headstart 6.5 using the servlet implementation. Almost everything is working fine, except one detail.
    The formsweb.cfg file has "%HSD65_HOME%" values (e.g. the term tag), which must be substituted by the value in the registry. When using CGI, the substitution is made. The servlet implementation results into a substitution of "".
    Can anyone explain why this isn't working (bug)?
    Thanx,
    Patrick van der Schot

    Peter,
    I've tried both suggestions. They didn't work. Reading windows registry values is not supported in the standard Java libary because it's not portable. There are native methods like the implementation JAWIN, an open-source project for interop between Java and Win32 (http://staff.develop.com/halloway/JavaTools.html). Putting the HSD65_HOME setting in the configuration files of the webserver doen't work either.
    I've used a workaround to get things working. I've substituted the full path into the term tag instead of using term=%HSD65_HOME%/hst/admin/qmsrf65w.res.
    Don't forget to change the FormsServlet.InitArgs settings to use the corresponding headstart basejini.htm and hsdcgi65.cfg
    For servlet implementations, the baseHTML, baseHTMLJInitiator, and baseHTMLIE
    tags are replaced with the values specified in the FormsServlet.initArgs file!
    Patrick van der Schot
    null

  • Capivate 7 open file - can't open notepad or Ms Word help.............

    Please help  i can't open file or application such as notepad I am using Captivate 7

    Hi Lilybiri
    I am trying to link and open application using text captions function   eg: assessment in a MS word Document 
    text Caption hyperlink 
    Under Hyperlink dialog " Link to: Open File.
    C:\Users\ntan\Documents\My Adobe Captivate Projects\assessment_info (9681).docx
    Note: Worked fine under preview mode , by once publish linked are broken
    Publish error
    Error as follow:
    File not found
    Firefox can't find the file at
    \Users\ntan\Documents\My Adobe Captivate Projects\assessment_info (9681).doc
        Check the file name for capitalization or other typing errors.
        Check to see if the file was moved, renamed or deleted.
    your help would be much appreciated.
    Thank in advance

  • Downloads from iTunes on my macbook air do not download on my desktop but remain in iTunes folder which refuse to open for use.

    I couldn't get downloads from iTunes to be on the desktop of my Macbook air but they remain in iTunes folder and refuse to open for use. What am I to do?

    Downloads of what?  Songs?  Apps?  Books?
    If you're talking about apps, then you have downloaded iOS apps which are intended to run on an iPhone or iPad, not a Mac.

  • Problem with displaying BLOB images on JSP page using a servlet

    hi. I have a big problem with displaying BLOB images using JSP. I have a servlet that connects to the oracle database, gets a BLOB image , reads it, and then displays it using a BinaryStream. The problem is , this works only when i directly call that servlet, that is http://localhost:8080/ImageServlet. It doesn't work when i try to use that servlet to display my image on my JSP page (my JSP page displays only a broken-image icon ) I tried several coding approaches with my servlet (used both Blob and BLOB objects), and they work just fine as long as i display images explicitly using only the servlet.
    Here's what i use : ORACLE 10g XE , Eclipse 3.1.2, Tomcat 5.5.16 , JDK 1.5
    here is one of my image servlet's working versions (the essential part of it) :
                   BLOB blob=null;
              rset=st.executeQuery("SELECT * FROM IMAGES WHERE ID=1");
              while (rset.next())
                   blob=((OracleResultSet)rset).getBLOB(2);
              response.reset();
              response.setContentType("image/jpeg");
              response.addHeader("Content-Disposition","filename=42.jpeg");
                    ServletOutputStream ostr=response.getOutputStream();
                   InputStream istr=blob.getBinaryStream(1L);
                    int size=blob.getBufferSize();
              int len=-1;
                    byte[] buff = new byte[size];
                         while ((len=istr.read( buff ))!=-1 ) {
                   ostr.write(buff,0,len);
             response.flushBuffer();
             ostr.close(); and my JSP page code :
    <img src="/ImageServlet" border="0"  > If you could just tell me what i'm doing wrong here , or if you could show me your own solutions to that problem , i would be very greatful ,cos i'm realy stuck here , and i'm rather pressed for time too. Hope someone can help.

    I turns out that it wasn't that big of a problem after all. All i had to do was to take the above code and place it into another JSP page instead of into a servlet like i did before. Then i just used that page as a source for my IMG tag in my first JSP. It works perfectly well. Why this doesn't work for servlets i still don't know, but it's not a problem form me anymore . Ofcourse if someone knows the answer , go ahead and write. I would still appriceatte it.
    here's the magic tag : <img src="ImageJSP.jsp" border="0"  > enjoy : )

  • Long running reports using java servlets

    Hello,
    I'm running into a problem using java servlets to produce database reports and sending them back to the client browser as excel or html. The problem comes into play when the user has submitted two reports then goes to run a third and the browser hangs. I realized now that this is because of the two active connections that the user already has to the app server. Does anyone have any suggestions on how to get around this? I'm trying to now write the report to the server, and provide the browser with a url, but it seams as though the connection isn't totally closed even though I close the response printwriter.... Any suggestions would be greatly appreciated....

    Unfortunately I dont have an answer to your question, but:
    If the reports are large/long running, should they be generated on demand? You could schedule the reports to be generated every day, month or whenever appropriate, stored on the server and then quickly pulled by the user whenever needed.

  • I am trying to set an open DNS using the MacAir. But when I tried to flush the existing one at utilities/terminal, it will not work.  I am using Yosemite.  May I know what should be the command line so that I can shift to an open DNS?  Thanks

    I am trying to set an open DNS using the MacAir. But when I tried to flush the existing one at utilities/terminal, it will not work.  I am using Yosemite.  May I know what should be the command line so that I can shift to an open DNS?  Thanks

    >SystemPreferences>Network>DNS

  • Not able to open document using anchor tag in firefox

    Hello Friends,
    I would really need your help in solving this issue.My application is deployed in server machine.
    I'm accessing the application through fire fox. In my application, i have a link where i need to open a document on click of it.
    For this, i am using html anchor tag.
    Eg:
    Test
    where IP is the server machine address and dir is the shared directory.
    It works in IE but didn't work in fire fox. Please help me out on to fix it.
    Cheers,
    Cap

    Try out to open doc using following link, {color:#ff0000}*use 5 back slashes instead of 2*
    {color}Test Link
    once you done the code change, close the browser and open a new browser and try it.
    Edited by: Thagelapally on Jul 17, 2009 6:05 AM

  • Had to uninstall iWork trial since I bought the pages app and it wouldn't let me print or save.  Now the app store says I have pages installed but I can't find it anywhere to open and use it.  I'm not very computer savvy and am getting frustrated!

    Ooops, guess I didn't need to post everything in the title - sorry!  I bought the pages app - but couldn't save or print so with some online searching found that I had to uninstall the iWork trial which had expired.  I did that - but now I can't figure out how to re-install the pages app!!  The app store says it's installed, but I can't find it anywhere to open and use it.  I'm not very computer savvy - and am a first time Mac user and am getting extremely frustrated!  I e-mailed some help center and they can't seem to help me either.  I would appreciate any help/advice that can fix my problem - thanks in advance!!

    OK Apple has stuffed up the demo version upgrade process so the first thing you need to do is get rid of the demo.
    That includes getting rid of the files in the system.
    The instructions how to do that are here:
    Note That where you see / that is the sequence of folders, each nested inside each other.
    User/Library/Preferences the com.apple.iwork.Keynote.plist
    Means the User (you, the little home icon, whatever you are called on your computer) then the Library folder inside that and then the Preferences folder inside that.
    Lion initially hides the System folders from you so you have to go to the Finder > Menu > hold down the option key and click on GO > Library to see it.
    Peter

  • Unable to open windows using boot camp.  Get message "The bless tool was unable to set the current boot disk."  Any thoughts, Thank you.

    Unable to open windows using boot camp.  Get message "The bless tool was unable to set the current boot disk."   I am using an Imac , Lion operating system, and Windows 7.  It worked a few days ago.  Any thoughts, Thank you.

    Note that nowhere in the Boot Camp instructions does it tell you to use Disk Utility to format the Windows partition. The Boot Camp Assistant program creates the partition & sets the +partition scheme info+ of the disk as appropriate for the Windows installer but the Windows installer itself is responsible for formatting the new partition with the appropriate +file system scheme+ (NTFS for Windows 7).
    If you follow the instructions in the Boot Camp Installation & Setup Guide to the letter you should have no problems installing Windows.

  • Not able to process open items using F-53

    Hello All,
    I am trying to process open items using F-53, I  m getting error message as "Entry SAG1 is missing in table T043G". This was working fine for GL accounts, but failing for vendors.
    I checked the tolerance group for same and its fine and also tried checking table se16, but not able to find the root cause of issue. please let me know how can i resolve this.
    Thanks in advance.
    --Sagar

    HI,
    Check following...
    1. Make sure you have created one null (Blank) tolrance group using transaction OBA3 for your company code SAG1...
    2. If you do not want to create null tolerance group then make sure you have mapped the tolerance group created to the customer master and also see the use assignment...
    Regards,
    Chintan Joshi

  • I am receiving pop up alerts when opening and using firefox stating "win 7 total security 2011 has blocked a program" is this a virus and how can i fix it?

    Whenever I open or use Firefox I'm receiving a pop up message telling me I am under attack and my info is at risk and I am being prompted to activate "win 7 2011 total security" to remove the threat.
    I have run my own virus scan and nothing is detected.
    Is this legitimate from Firefox?
    If not, how do I safely remove the threat?

    "win 7 2011 total security" is a rogue application. For details on it see http://www.2-viruses.com/remove-win-7-total-security
    To ensure your computer is clean try running several malware scanners. It is best to run several as each will pick up things that the others miss. Some scanners you can try are:
    * Malwarebytes - http://www.malwarebytes.org/mbam.php
    * SuperAntiSpyware - http://www.superantispyware.com
    * Ad-Aware - http://www.lavasoft.com/products/ad_aware_free.php
    * Windows Defender - http://www.microsoft.com/windows/products/winfamily/defender/default.mspx
    * Spybot S&D - http://www.safer-networking.org/en/home/index.html

Maybe you are looking for

  • PO number and PO qunatity for a given WBS element

    hello all, in which table does PO  number and PO quantity are stored for a given WBS element... or do i need to use any function module.... i need to use it in an ALV report... thanks in advance.....

  • How can I create an Excel file?

    Hi, How can I create an Excel file using Forms 6i. What I'm doing is to create a file using TEXT_IO package an name it .XLS. If a read it double-clicking over the file, it opens Ok but If I open directly from Excel it opens the Convert dialog. I need

  • Pdf files in search results - open the properties paga instead the file

    Hi, We have 2010 search results page for searching files. When the search result is a pdf - the icon shown is not pdf icon and when click the file name it opens the properties page instead the file itself. What should be set? thanks a lot keren tsur

  • Unable to open RAW files in Photoshop elements 5.0

    I am using Windows XP, camera is Nikon D80. When I try to download NEF files I receive an error that reads files did not transfer. Reason given reads incompatible format. I just downloaded program today and not really sure what I have done wrong. Any

  • Equifax - Amex reporting weirdness - anybody understand this?

    I just got an alert that an account that has been inactive has reported a balance, It's my Amex ED that reported a balance of $1. The thing is that the account is active every month, I just pay it before the statement cuts. Another weird thing is tha