Output html filename

friends,
i use forms6i and reports 6i. from forms6i and IIS i run the forms in a browser.
i put a button in the forms and on which the code is to run_product...
i make virtual directory for temp folder in forms..
in which the html files of report output will be stored.
now,the question is:
if someone press the buton from form...in browser
the report output will come and will be in html...
good...exact repot...which needed...
but the html file name is unique and generated by report...that is like s7p or s7p_1.....
but i want this filename as one of the textvalue of report...
like...in report there is srno field...and i want to make this html file..named as the value of the srno field.
thanks..

Hello,
If you want to specify the name of the file generated, you have to use
the DESTYPE, DESNAME and DESFORMAT parameter.
It is possible to change the DESNAME in some reports triggers (not all !!!)
:DESNAME := ....
Then you will be able to display the file with the WEB.SHOW_DOCUMENT builtin.
Regards

Similar Messages

  • Building an Application that reads html filename

    I want to build an application that displays html files on the screen and when the user presses a button that gives a cue to the PCI-DIO-96 to give an o/p to external connected modular distribution panel that uses shift registers and from the panel (that's fed from a DC P.S.) to some bulbs. each html filename will be corresponding to a specific bulb.

    Hello Taher,
    I apologize for the long delay in responding to your support request. We've had a restructuring and I unfortunately misplaced our thread in the shuffle.
    There are a lot of great resources for each portion of the program you are wanting to develop. It sounds like you have several components:
    1)displaying an HTML file
    2)conditional logic
    3)digital output to DIO-96
    You could display the HTML file in an embedded ActiveX control with a web browser (like Internet Explorer), if you are using Windows. There are several examples in LabVIEW that can help you do this, and you might take a look at the example at the following link:
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B123AE0CB9AD111EE034080020E74861&p_nod
    e=DZ52051
    To accomplish the conditional logic that you need, you will probably want to use a loop and/or a case structure to determine which output port to pass to. To learn more about these structures, navigate to Help >> LabVIEW Bookshelf, and look at the Getting Started with LabVIEW manual. You can also find some great examples that use these structures by going to Help >> Find Examples and navigating to Fundamentals >> Loops and Structures.
    The last requirement of your program, writing to the digital lines of your DIO card, offers a lot of possibilities. The best place to look when getting started with this type of program is again, to the example code. If you go to Help >> Find Examples, and navigate to Hardware Input and Output >> Traditional DAQ >> Digital Input and Output, there are quite a number of pre-written, working applications that you can start from.
    I hope this helps! Please let me know if you would like help on any specific aspect of your application.
    Good luck!
    Liz F
    National Instruments

  • How to output HTML when called from a browser

    We are trying to replace a small web app with a bpel app so it has to return HTML. I keep getting XML of the HTML as output from this simple app. It doesn't interpret the html. The bpel uses a simple assign that puts an HTML string into the "body" message then passes it to the "reply".
    I have found out how to call this from the browser by changing "orabpel" in the url to "httpbinding" and then adding the "operation" onto the endpoint.
    from: http://server:7777/orabpel/default/ws1/1.0
      to: http://server:7777/httpbinding/default/ws1/processIs it possible to output html back to the browser and have the bpel look like a web page? Setting the mimetype of the output message type to "text/html" seems to have no effect at all.
    Here is my wsdl:
    <?xml version="1.0"?>
    <definitions name="HTTPGetService"
                 targetNamespace="http://services.otn.com"
                 xmlns:tns="http://services.otn.com"
                 xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
                 xmlns="http://schemas.xmlsoap.org/wsdl/"
                 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                 xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
                 xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/">
        <message name="HTTPGetServiceRequestMessage">
            <part name="Region" type="xsd:string"/>
            <part name="EffectiveDate" type="xsd:string"/>
            <part name="EndDate" type="xsd:string"/>
            <part name="acc1" type="xsd:string"/>
            <part name="acc2" type="xsd:string"/>
        </message>
        <message name="HTTPGetServiceResponseMessage">
            <part name="body" type="xsd:string"/>
        </message>
        <!-- portType implemented by the HTTPGetService BPEL process -->
        <portType name="HTTPGetService">
            <operation name="process">
                <input message="tns:HTTPGetServiceRequestMessage"/>
                <output message="tns:HTTPGetServiceResponseMessage"/>
            </operation>
        </portType>
        <binding name="HTTPGet" type="tns:HTTPGetService">
            <http:binding verb="GET"/>
            <operation name="process">
                <http:operation location="/process"/>
                <input>
                    <http:urlEncoded/>
                </input>
                <output>
                    <http:urlEncoded/>
                    <mime:content type="text/html" part="body"/>
                </output>
            </operation>
        </binding>

    Hi,
    Open up admin console. Expand "Servers" node to view servers in domain.
    Right click on a server (or select Logging/ General tab) and select "view
    server log".
    Regards,
    Jon

  • How to output HTML from com.sun.HTTPExchange

    My trival web server outputs output plain text. How do I output HTML?
    Thanks,
    Siegfried
    package xml.webservicesDemo;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.net.InetSocketAddress;
    import com.sun.net.httpserver.HttpContext;
    import com.sun.net.httpserver.HttpExchange;
    import com.sun.net.httpserver.HttpHandler;
    import com.sun.net.httpserver.HttpServer;
    public class WebApp implements HttpHandler {
         public static void main(String[] args) {
              try {
                   HttpServer server = HttpServer.create(new InetSocketAddress(8123),0);
                   HttpContext ctx = server.createContext("/apps/myapp/myNewApp",new WebApp());
                   server.setExecutor(null);
                   server.start();
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
         public void handle(HttpExchange t) throws IOException {
              InputStream is = t.getRequestBody();
              byte[] bBody = new byte[1000];
              int count = is.read(bBody);
              String sBody = bBody.toString();
              String response = "hello siegfried";
              t.sendResponseHeaders(200, response.length());
              OutputStream os = t.getResponseBody();
              os.write(response.getBytes());
              os.close();          
    }

    For that kind of work, I wouldn't recommend this class ( sorry, my other reply is to your first question ).
    This is a SIMPLE http server. You would have to emulate an application server ( like Tomcat ) yourself if you want full-blown servlet / jsp functionality. You could define a simple jsp-ish domain specific language and parse it yourself, though.
    That might be an interesting exercise, but not one that would appeal to me.

  • Using java 'classname' vs. appletviewer 'html-filename'

    I have made an applet that I view with appletviewer but I want to use buffered writer in my applet to write to an html file on the server. That way the user can see the results of his/her selections from the applet by clicking on a link from the applet page. The problem is when I excute by typing java 'classname', the file writing mechanism works, but I can't start thr applet unless I type appletviewer 'html-filename'. I thought I had fixed the problem by making my main class extend the frame class and using show() and setVisible(true). When I did this the applet showed itself when I used javac 'classname'. But Then I couldn't load it to a web page unless it was extending the applet class. If somebody can help please e-mail me or reply with another post.
    [email protected]

    You are correct, you can not run a Java application in a browser, it must be an applet. I believe you are saying you are trying to write a file to the server from the applet. From the Applet you can not write to the server (machine). However if you have a Java application acting as a server, running on the server (machine), your applet can communicate (via sockets or RMI or whatever) with the Java application acting as a server and it can write to a file.

  • JSP: Launch JNLP and output HTML?

    Hi, I've been able to launch a JNLP file using JSP -- this seems simple enough -- take a JNLP file, add
    <%@ page contentType="application/x-java-jnlp-file" %>to the top, then change the extension of the file to .jsp.
    I'm curious though: Is it possible to output HTML at the same time? Right now, when I navigate to the jsp in a browser, the page doesn't change so I see whatever the previous page was. What I would like to do is display something like "Launching app..." and then run the JNLP. Is this possible to do within the same JSP file whose contentType has already been set to application/x-java-jnlp-file? Or do I need to do something like create an HTML file that shows text and auto-redirects to the JSP? I'd prefer not to do the latter just because my JSP reads in the query string of the URL and parses it to dynamically generate part of the JNLP.
    By the way, just to test, I did throw an
    out.println("Launching app...");line into my JSP but that doesn't appear to do anything.
    Thanks,
    David

    I'm not an experienced user of it, but deployJava.js should offer everything you need for a javascript launch of your app, within any page you like; that should do the trick.
    Bye.

  • BUG ? in xmlparserv2 to output html

    I have a problem to use XSLProcessor to output html for a space when it is in a href
    a space is escaped in a '+' (plus)
    but a '+' isn't escaped .
    I think that it's due to XMLUtil.encodeURL() which doesn't do the work properly
    Normally '+' must be escaped to %2B

    What exact version of the XML Parser are you using when you see this behavior? 2.0.2.9, 2.0.2.10, 2.1.0.0 Beta ?

  • Using WEB Output HTML Gallery and uploading using ftp upload the HTML page views correctly but images only display the alt tag?

    Using WEB Output HTML Gallery and uploading using ftp upload the HTML page views correctly but images only display the alt tag in the browser window?

    After a little investigation, I discovered that PNGs also do not render correctly in IE7 in similar circumstances.
    I ended up using Levels in Photoshop to bring the output blacks up to "5", saved the images as PNGs, modified the HTML from .jpg to .png, and that seems to have covered up the problem well enough.
    By the way, I did confirm that IE8 beta 2 renders the images correctly.
    Brian

  • OSX Output module filename Dialog - cannot click on grey files

    Odd problem.
    OSX 10.5 - mac pro - CS5.
    I am rending lots of Test .mov files.  Different parts of one Comp. ( comp1 )
    They are all in one testing folder.
    filename_1.mov
    filename_2.mov
    etc
    Now I am constantly overwriting these with new versions. Now all of a sudden for some reason when I click on the "output to:" filename - (default to comp1.mov) to change it it say filename2.mov, I cannot click on the greyed out filename2.mov. nothing happens.  Used to work - but just stopped for some reason!?
    Now this works fine in the the rest of the program - ie in the save as dialog and the rest of the OS.
    I know it's not a major thing - but the filenames are actually about 30 characters long and I will eventually have hundreds.
    Any idea why this is happening
    Many thanks
    A

    Hi,
    No not in use this happens even in a brand new project.
    1. New project / comp
    2. Add to render queue - click on output to: comp1.mov
    3  In the dialog I cannot click on any existing files at all  - normally you can click on anything, be it a movie, text file or doc and it will add the same filename to the Save as Field.
    It's driving me nuts!
    Thanks
    A

  • Saving outputted html

    I would like to take the outputted html for most of a page
    and save it for future reference either as a html file or by
    inserting the code into a database field. Unfortunately this is for
    a site that only has access to CF 5 or I woul save the code as a
    pdf. Is there an easy way to save outputted code?

    You can use cfhttp to grab the generated html. Then save the
    content to a file, etc.

  • UPK 3.1.5 player output - HTML file extention

    Hello,
    Does anyone know if it is possible to modifiy the HTML output in the Player deployment format? More specifically to change the filename suffix from HTML to HTM?
    Thanks,
    James

    I believe you can edit the HTML file directly after it has been generated; however, when you re-publish, you might have a problem.

  • How to output HTML code in methods without out.print

    Hi,
    I am trying to create a larger web-site with jsp. At first I tried to structure the page using include files. Since there is a limit for the length of if/else blocks, I now switched to using methods instead.
    The Problem I have is that there a larger HTML blocks I dont want to print with out.print because that would make the source unreadable.
    Unfortunately the <%= tag doesnt work in methods.
    Here a code sample:
    <%!
    public void processOrder()
    for(int i=1; i<10; i++)
    out.print("<table>");
    out.print("<tr>");
    out.print("<td>Your Order:<td>");
    %>
    Isnt there a way to use a tag like <%= ?
    Or are there other constructs then methods which can handle <%= ?
    With PHP it would be no problem. So I wonder why there should be no way to do it with jsp.

    I generally put dynamic output in a separate class file; you can then either instantiate the class in a scriptlet and call the appropriate method (which can either return a string or do all of your out.prints) or use a jsp:useBean tag.
    Given the following class:
    public class myHTML {
       public myHTML(){}
       public String renderTable(){
          String s = "";
          s += "<TABLE>\n";
          s += "<TR><TD>some content</TD></TR>\n";
          s += "</TABLE>\n";
          return s;
    }You can then do either of the following in your JSP page:
    1.<%
       myHTML mh = new myHTML;
       out.print(mh.renderTable());
    %>2.<jsp:useBean id="somename" class="somepkg.myHTML" scope="request">
    <%=somename.renderTable()%>
    </jsp:useBean>Either will work, and all of the redundant out.print or String concat lines are moved out of the JSP.

  • How do I - change the background colour of the output HTML page

    Captivate 5
    I am publishing my project to html, but wish to change the background colour of the html page to match the projects colour scheme.
    I can find no option in Captivate to do this, and it is always output as white = <body   bgcolor="#f5f4f1">
    I change the colours used within captivate and change the html colour of the borders, or the captivate project background, but this does not effect the html page when published.
    Is this possible?
    At present I am having to manual amend the html to the colour of my choice.

    Hi there
    Can you post a screen grab of what you are seeing? The instructions Orange_Sean provided should have done the trick for you. Even though you aren't using Borders, it still should have changed the HTML background color. Unless we have unearthed a bug or something.
    Cheers... Rick
    Helpful and Handy Links
    Begin learning Captivate 5 moments from now! $29.95
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcererStone Blog
    Captivate eBooks

  • Output HTML to proper page

    I call a servlet from a second window(thirdWin) that was created/opened by the first window(window) in HTML. The servlet writes out HTML to the browser using the following code(note HTML$ is a java class that contains methods of HTML code lines):
    PrintWriter out=response.getWriter();
            HTML$.pageBegin();
            HTML$.tableHeader("Murph");The problem is that the servlet writes/ outputs the HTML code to the third window(thirdWin). I want to call the servlet from the third window and write/output the new HTML to the first window. There must be a way of accomplishing this. One, by setting the browser window directory to the original window(first window) before the servlet is called so that the new HTML gets written to that page, or two, by setting the brower window to the proper window in the servlet before writing the HTML out to the window.
    The following is the code in the servlet that opens the thirdWin. It is a javascript function whose body is a Servlet that has been written it out to the browser page. Do not get confused with me calling it the thirdWin it is acually a second window opened by the opener, I have just called it thirdWin.
    out.println("thirdWin = open('', 'UserName', 'height=300, width=500 scrollbars=yes');");
          out.println("thirdWin.document.write(\"<TITLE>Enter UserName</TITLE>\");");
             out.println("thirdWin.document.write(\"<BODY BGCOLOR=white>\");");
             out.println("thirdWin.document.write(\"<FORM name='showEdit' method='post' action='showEditProfile'>\");");
             out.println("thirdWin.document.write(\"<table><tr><td width=120>User Name :</td><td width=300><input type='text' class='listRow' name='user_name'></td></tr></table>\");");
             out.println("thirdWin.document.write(\"<table><tr><td width=120>Password :</td><td width=300><input type='text' class='listRow' name='user_name'></td></tr></table>\");");
             out.println("thirdWin.document.write(\"<table><tr><td width=120>Search :</td><td width=300><input type='submit' name='showEdit' value='Show Profile'/></td></tr></table>\");");
            /**out.println("thirdWin.document.write(\"<table><input id =\"subfds\" type=\"button\" name=\"Submit5\" value=\"Enter Information\" onclick=\"\"/></table>\");");**/
             out.println("thirdWin.document.write(\"</FORM>\");");
             out.println("thirdWin.document.write(\"</BODY>\");");
             out.println("thirdWin.document.write(\"</HTML>\");");
          out.println("thirdWin.document.close()");

    I have a database, it holds information of a user, my applet interacts with the database to retrieve/write etc. What i want to do is when some1 clicks a button to open a new Internet Explorer page and then output a record from the database. Just like System.out.println(forname + surname + date + score);
    I dont know how to open a new IE and then output the info to it.
    I dont have any code for this part as I havent written it and I dont think there is any value in posting code to retrieve from database. We can just treat them as strings? String forname, surname etc.

  • UIX outputs HTML that is not valid XML

    Greetings,
    I am "experimenting" with UIX in Devloper 9i and I have noticed that the HTML that is output is very far from being valid XML, as a matter of fact it is so far off that Tidy can't even clean it up.
    Are theere any plans in place to try to make the output be XHTML instead of "sloppy" html? This would have a number of benefits, one wich would be; One could percivably call an uix page into a xsql page.
    Kind Regards
    Ola Kvalvaag

    The architecture of UIX is actually very well optimized to switch
    between XHTML and HTML, as all output is pipelined through an
    OutputMethod interface that abstracts away the difference between
    the two. I believe our HTML is output is extremely well-formed
    HTML, which isn't the same thing as well-formed XHTML. We quote
    all our attributes, we close all elements that must be closed,
    we escape characters that need escaping, etc.
    Until this message, I guess we haven't had any complaints!
    I've yet to see a browser that prefers XHTML to HTML.
    What are you trying to do with the output that requires it to be
    XHTML?

Maybe you are looking for

  • ITunes 7 -error message when downloading

    Hi Sorry if anybody else has raised this question, I currently have itunes 4 downloaded and am trying to download itunes 7, however i keep getting the following error from Apple support. "Service'IPod service' could not be stopped. verfiy that you ha

  • TV adapter playing up -- surely someone has an answer!

    Why won't my iBook's tv adapter work? This problem has been bugging me for nearly a year. I've asked the question in nearly every mac forum I could find (I even asked here) -- but no one has offered me a solution. ...I bought a video adapter from the

  • How to export videos in good quality?

    hi, this is my first post on this discussion board, so please be understanding. ok, so i have to prepare lot of videos for web, in Final Cut Express. mainly interviews, which are about 3 minutes to 5 minutes long max. on the other hand, i have restri

  • How do I get my apps to my home screen when it's in my setting

    My Facebook app is in my setting but it's not on my home screen... When I go to App Store it says it's already down loaded... How do I get it to my home screen??

  • Toolkit for feedback system? Motion; PID; Control/Simulation???

    Hi, I have to develop/program an organ bath system - a feedback system mimicking real sinusoidal breathing oscillations (shown in attached images). I have NI Labview 8.5, NI-Motion 7.6, a linear motor (M-235 DC-Mike actuator), an MID-7654 Servo Power