HTML page generated by Netweaver studio is very big

Hi,
Is there any way to make the generated HTML pages (when developing a web dynpro application from Netweaver studio) smaller in size  ?
It appears to be big even for a very simple hello world page.
Thanks.
Regards,
Daniel

No, I don't think so.
The generated html code cann't be altered.
Regards,
Ashwani Kr Sharma

Similar Messages

  • Cursor placed in 2nd character position of an HTML page generated thru Web Bean.

    I am not sure if others have noticed it but in my HTML page (generated thru EDitCurrentRecord web bean), the cursor is not always placed in the first character position of a text box/text area.
    Is there a way that I can ensure that the cursor starts blinking in the first character position always (instead of the 2nd or 3rd character position)?
    Thanks in advance!

    This is a bug. I don't have a workaround for you. I will fix it in the next release.

  • Applet:how to display a html-page generated by servlet?

    hi everybody,
    I have an applet which posts data do a servlet and receives a response from the servlet (html-code). can anybody please tell me if there is a possibility to display this received html-page?
    (I HAVE to use a post-request to the servler due to a lot of data to send...)
    all my applet-servlet-communication is within a session with a jsessionid.
    does anybody have a hint for me?
    thanks a lot in advance,
    frank

    One possibility is to have the servlet create a new .html file on the server and output the HTML code to that file. Then the servlet can pass the name of the file back to the applet, and the applet can useshowDocument(new URL(yourUrlHere), "_blank"); to display the page.
    Just a thought. Good luck!
    - Sheepy

  • Images stored in Application Data folder are not visible in HTML Page generated by AIR Application

    Hi Programmers,
    I have an AIR application where in I am capturing the images of persons via web cam and storing them in the Application Data folder of the users machine. I am successfully able to do so.
    However, when generating the report in the HTML format from within the AIR application, I use the image captured and give the absolute path. but some how the image doesnt appear in the browser, I get the icon for image not found.
    When I right click on the image, select property and copy the image path in new browser, I can see that image. Any thoughts on why this is happening?
    Thanks,
    Hitesh patel

    I tried changing the directory  as following in java class:
    File trgDir = new File("/tmp/myTarget/");
    File srcDir = new File("/tmp/mySource/");
    FileUtils.copyDirectory(srcDir, trgDir);
    but unfortunately  Adf mobile application does not support "File Utils. copy Directory" library
    so is there any way to circumvent this problem.
    Any help would be appreciated 

  • Inserting php into an Html page generated in DW CS4

    Hi I am having my first attempt at running some php .
    I have inserted the php code at the top of my page but it doesn't seem to be running and shows up in the source code?
    www.matthamiltonracing.com
    My host provider assures me it is supported.
    Any suggestions, some previous posts mention htaccess. pages???
    please advise
    many thanks
    Mark

    Bregent and Ned have offered the correct answer. Your webhosting server will not know if it has to run any php code unless the page has the .php extension.
    Here's a potential problem: If you are monkeying around with php, you'll need a testing server to upload your work to test. Dreamweaver won't allow you to test your work on your own computer, unless you set up Apache and create a testing server on it.
    One of the things I have done recently was to create a testing server on my own home network using an older computer. Works great, but you may not have an older computer handy. So here's what I did with my webhost:
    Generally your website has to be built so that its home page and its root is in /public_html/ on your server. You can "trick" Dreamweaver to think it's actually underneath that by creating a folder called /test that is underneath /public_html/ and nobody will be able to access your work as you work on it (unless you point a client to a specific page and specify the exact URL with the extra path for them to test). The advantage with this is that your testing server is set up to run php code with exactly the same php configuration as the server that will wind up serving your web page because it is your hosting server.
    So, while you are testing, create a /test folder. And any page that is supposed to be processed by your php server needs to end in the .php extension.
    Here's another trick:
    Regular HTML can end in .php as well. So can rename your entire website with .php if you have a number of pages that use it.
    You can also make your entire website .html, save just the pages that use php (this is what I do). So if I have a form that is going to do something that results in php, I'll make the form entrance html and the page that actually does the processing php.

  • Printing a dynamic html page generated by a jsp

    Help! I am having problems printing a confirmation screen that appears after entering criteria into a criteria screen built through a jsp. This is ONLY IN NETSCAPE. IE works fine. When I try to view the frame source it gives me a "Data Missing" message and when I print the screen, I don't get what was actually on the screen, I again get the "Data Missing" message. The exact wordage is:
    Data Missing
    This document resulted from a POST operation and has expired from the cache. If you wish you can repost the form data to recreate the document by pressing the reload button.
    What am I doing wrong? Thanks in advance,
    Donna

    It has been my experience that Netscape will not print a page which was the result of a post if the data is not cached.
    The printed page seems to be the page which should have been displayed asking if a repost should be done.
    This caused me no small amount of grief because, while I had to cache the pages to allow printing (an application requirement), I had to ensure that no old pages were ever displayed (under the general rule that no incorrect data should ever be displayed to the user, and old data would be inherently incorrect in my app). Some Javascript made that possible, since when an old page was loaded, I simply forced a history.forward() to be executed when a page was being redisplayed.
    Bill Hackmann

  • Printing html pages from JSF-JSC created pages

    Hi all,
    I have a serious problem with my web apps created with JSC using the JSF components. I designed a page full of tables, developed in vertical for a total of about three or four pages scrolling down.
    When I try to print the generated page from the browser (Firefox, Safari, Explorer) I always get just the first 'page', the entire webpage generated by my application is not saw as a long page, but just 'cutted' out.
    It seems like all JSF components have some problems being like layers or so...any hint? How can I print my html page generated by my web app?
    G

    Perhaps viewing the source of the generated html page will give you a clue to what's wrong..

  • Creation of custom page without using NetWeaver Developer Studio

    Hi Experts,
    In my project, we have not installed NetWeaver Developer Studio. We are using EP 7.0.
    We have to create a custom page for the project. In this page, we have to provide seperate iViews links.
    The page should look like this:
    iView 1 - Link                iView 2 - Link        iView 1 - Link
    Help iView 1-Link        Help iView 1-Link     Help iView1-Link
    I tried to do so by creating a page. In the page, I tried to use 'Three Coloumn Page' layout. The iviews are getting displayed in following way:
    iView 1 (iView is getting displayed .Link not getting displayed)
    Help iView 1 (iView is getting displayed .Link not getting displayed)
    iView 2(iView is getting displayed .Link not getting displayed)
    I can not display link of all six iViews. Further more iViews are getting displayed in one coloumn and 3 rows. I can see the iViews directly. I am not able to display links for iViews.
    I need 3 coloumns and 2 rows layout.
    Can you please let me know how to achieve this?
    Whether I have to create new layout? For this whether we will need NetWeaver Developer Studio?
    Can we do it by creating HTML page. In the HTML page, we will have many links. These links will point to the iViews stored in SAP EP's KM. If so, what be the steps?
    I know that it can be done by creating a PAR file and deploying it. But, we don't have Netweaver Developer Studio.
    Can we acheive above without using NetWeaver Developer Studio?
    Please help me.
    Regards,
    Brian

    Hi Kedar,
    Thanks. My requirement is that six iViews links should be shown in the portal content area.
    The iViews links should be like
    iView 1-Link         iView 2-Link           iView 3-Link
    Help iView 1-Link Help iView 2-Link    Help iView3-Link
    When user will click on any iView link, the relevant iView should be displayed.  The iView can be displayed in seperate new page. So naturally five iView link will not be displayed.
    I am planning to create one HTML page and store it in KM. I will call this page in portal content area.
    There will be hyperlink on this HTML page. The hyper link will be attached to other iView links in  KM.
    Whenever user will click on any Help link or iView link the corresponding iView will be called from  KM.
    So in KM we will store 7 objects. 3 HTMLpages for help. 1 HTML page for main page.
    Other 3 will point to iView-Link1, iView-Link2 and iView-Link3.
    Can I do so? Will it sort out my problem?
    Thanks

  • Servlet to generate  *new*  html pages for browser

    Dear all,
    Greetings!
    I am write a servlet, and I want this servlet to generate different html pages (say 5 pages) simultaneously, and then display them in 5 different pages in client browser.
    The sequence is like this:
    1) the user click a link in a web browser and send request to web server.
    2) web server has a servlet to handle this request, then in doGet() or doPost() method it will do some calculations first, after that, it generate 5 different html pages (it can use redirect in a chain fashion) and send back to client browser.
    3) the client browser will display these 5 different html code in 5 different pages (should not be the same as the original pages that submited the request), i.e, it will pop up new web pages automatically to serve 5 different pages (since each page will have <html> ... </html> codes).
    Any solution, if possible, please give me some idea.
    //-- My main problem is: how to ask servlet to generate html codes,
    //-- and when send back to client, let browser displays the information in
    //-- a new web page (not original page the submit the request)? show some servlet doGet() code if possible.
    if you have solution for even only 1 page, your help is also very appreciated!
    once again, many thanks!

    However, for wild guessing,
    are you included d:\richard in your CLASSPATH?No. Does the CLASSPATH affect the default directory to create file - and I have to put the Tomcat as the first path in my classPath? But I just found that I set environment variable HOME to be d:\richard. It must be the reason.
    How about this:
    When a use submit a request, the servlet starts a new
    thread to do the process, for example.....I thought about this solution earlier. It is true that this is a solution. Now I am not worrying about it, since when I move on about this project, I found something more interesting (worse?) for this project. Detail follows:
    This morning I was informed that the project needs the request being sent from the front end applet, (*NOT from browser link*), so now even simple client side scripting does not work. This is because when servlet sends back response, it will send back to applet by Connection.getInputStream() - this is what I can think about right now. Basically, it means, the browser will not even have a chance to process the returned HTML code. So the question becomes: How to ask browser open a web page to display the servlet response from an front end applet directly? ;(
    I am almost run out of idea! Will check back later, meanwhile spend some more time considering... It is very late here now (early in the next morning)!
    Thank you very much indeed for all you kind help!!!

  • Generated html page size

    Hello, do anybody know an approach how to check html page size generated by jsp (servlet) in run time ?
    Thanks.

    String myFile ="C:\\Path\\To\\File\\name.html";
    File repositFile = new File(myFile);
    long repositFileSize = repositFile.length();

  • How can I generate a html page in a servlet-applet connection?

    Hello, I have an applet which contains an ok button, when I click this button, I need that servlet generate an html page and view it in browser. How can I do this?
    Thanks

    But with this method only is possible I think open a page web, and if it is possible call url of the servlet, you generate other request and response object (other call to method doGet or doPost because ShowDocument needs parameter url), so the previously request when I click button ok it's no the same and how I obtain the prinwriter from first request, showDocument don't obtain html page from printwriter.

  • Generate html page

    I am wanting to call a procedure which has all the html code in it to generate the HTML page. The procedure has the <html> and <body> tags within.
    Has anyone tried to do this? If so how would I call the procedure and how would I display the procedure.
    Thanks in advance.
    Andrew

    Andrew,
    I've seen this before - it's called the PL/SQL Web Toolkit.
    how would I call the procedure - you could call it directly from a URL that is configured to use modplsql against your database.
    how would I display the procedure - if, by that, you mean how would the results be rendered? The results from your PL/SQL procedure (which would make calls to the PL/SQL Web Toolkit functions and procedures) would be streamed back to the requesting browser from modplsql.
    By the way, Application Express (nee HTML DB) is built on top of the PL/SQL Web Toolkit and modplsql. That's exactly how it works.
    Joel

  • How to reduce size of generated html page?

    Hi,
    Is there an option in oc4j which will remove unneeded white space from the html generated by a jsp page? I have jsp page which generates a html page of 120kb (lots of lines containing only spaces). Formatting this html page using tidy results in an html page of 20kb. (considering that normal modems achieve about 5kb/s downloading these spaces could take about 20 seconds).
    I've tried setting the reduce_tag_code option to true but this didn't help. Are there any options in oc4j which might help?
    Thanks,
    Andrej

    Hi,
    Is there an option in oc4j which will remove unneeded white space from the html generated by a jsp page? I have jsp page which generates a html page of 120kb (lots of lines containing only spaces). Formatting this html page using tidy results in an html page of 20kb. (considering that normal modems achieve about 5kb/s downloading these spaces could take about 20 seconds).
    I've tried setting the reduce_tag_code option to true but this didn't help. Are there any options in oc4j which might help?
    Thanks,
    Andrej

  • Page length problem in PDFs generated from HTML pages in Acrobat

    I just spent an exhausting 2-1/2 hours on the phone with Adobe tech support (offshore) in order to get a 5 minute fix. I figured that I'd document it here in case another user has the same problem. (I'd checked the forums and a few e-mail lists and hadn't found a solution.)
    When generating PDFs from HTML (Web) pages, Acrobat squeezed all of the text into the middle of a single page (with just the last inch or so of text on page 2). This resulted in pages that Acrobat identified as being 30", 40", even 60" long, and the printed results were unusable. I haven't been able to identify an event or a system change that caused this to happen; Acrobat had been generating PDFs properly before this trouble started.
    THE FIX:
    1. Start Acrobat and run the Repair Installation option from the Help menu.
    2. Go to C:\Documents and Settings\user\Application Data\Adobe\Acrobat\8.0
    and rename the Preferences file to PreferencesOld. A PC restart will be
    required after this change.
    3. Restart Acrobat. This creates a fresh Preferences folder.
    4. Test creating PDFs from a single HTML page and from multiple pages.

    Thanks, Bernd, but where are these settings?  While I'm writing, is there a setting to make an html file fit on one page in Acrobat?

  • How to generate dynamic HTML pages using Swing Application?

    Hello,
    I am writing a Java application to connect to a local light-weight java database. I would like to generate and present a HTML on the fly after selecting records from a database. At server side, I could easily use JSP/Servlet to do this. How can I do this on a desktop client machine using Java application? I do not want to install Apache web server on the desktop machine. Any help will be greatly appreciated. Thanks in advance.
    Dominic

    The way u need to generate your html pages depened on what u want to generate,
    anyway what i can help with, is how to display a generated page.
    u have to use JEditorPane with HTMLEditorKit and HTMLDocument to display any HTML.
    also u can use the methods provided with the above objects to generate your html format.
    I hope I helped.

Maybe you are looking for