Formatting html page in 6i/9i

I have a report that generates three pages in PDF. Is there a way I can output this
report in HTML format, which shows "NEXT" button on each page to take me to the
2nd and 3rd page?
thanks in advance for any input.

Assuming these reports are being run from the web (rwservlet), you can change the desformat to HTML (or HTMLCSS)
and add PAGESTREAM=YES to the url. This will give you pagination for your report being run in HTML. Your url should look something like this:
http://mycompany.com/reports/rwservlet?report=myrep.rdf&destype=cache&desformat=HTML&PAGESTREAM=YES&userid=hr/hr@xe

Similar Messages

  • Vs 2013 community screws up formatting of html page when saving file

    I have seen other people having this issue with suggestions like 'Formatting and visualizations, tag specific options. However this is not solving my issue
    example
    I type the following code this way
    <asp:Panel ID="Panel1" runat="server">
    <asp:Label ID="Label1" runat="server" Text="Days Old " />
    </asp:Panel>
    <asp:Panel ID="Panel2" runat="server">
    <asp:Label ID="Label2" runat="server" Text="Days Old " />
    </asp:Panel>
    then when I hit save the code changes to
    <asp:Panel ID="Panel1" runat="server">
    <asp:Label ID="Label1" runat="server" Text="Days Old " />
    </asp:Panel><asp:Panel ID="Panel2" runat="server">
    <asp:Label ID="Label2" runat="server" Text="Days Old " />
    </asp:Panel>
    This messes with the outlining and makes it hard to see where controls like Panel2 is in the code.
    I am using a fresh install of visual studio community 2013 on a fresh install of windows 8.1 so this is not an issue with my istallation.
    I have tried setting tag Specific options with no change
    It doesn't do this every time or just on asp:panels
    I have tried adding line breaks and spaces etc. this doesn't help either.
    is this just a bug in visual studio or is there a general setting out of wack. I didn't have this problem with vs express for web 2012. but I did have it with vs express for web 2013 and community 2013

    Hi PBPuddin,
    Thank you for posting in MSDN forum.
    Based on your issue, I tried to add this code as you said into a html page and then I saved the code. I found that the code formatting of the html page did not occur like you said that in VS2013 Community.
    So to check if this issue is related to the VS2013 Community IDE, I suggest you could try to copy the  same version of the VS2013 Community setup file on other machine and then install it check this issue again.
    (1) If you still get the issue, I assume that the issue maybe related to this VS2013 Community setup file, so please download it from Microsoft official website and then install it again.
    https://www.visualstudio.com/en-us/news/vs2013-community-vs.aspx
    (2) If you did not get same issue, I suggest you could try the following suggestion to check the issue.
    (2.1) please try to open your VS in safe mode and then check if you install some add-ins in the VS IDE.
    https://msdn.microsoft.com/en-us/library/ms241278.aspx?f=255&MSPPError=-2147217396
    Or you could try to check if you install some third-party tool/ software on your machine.
    Hope it help you!
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How can I force Firefox to properly format all html pages to a pdf without losing top and right hand margins?

    Setting up page printout format for pdf on a Mac OS/X Snow Leopard Mac Pro. Printer is HP 8500A OfficeJet Pro Plus bought after July 14, 2011 serial number- CN141CK7QM
    When I print to file as a pdf I am getting the first page correctly but subsequent pages are getting clipped along the top and the right margins.
    I don't have this problem with my IBook 4.0
    The issue is formatting an html page to a pdf when the print request is asking for a pdf or when the print request is to the printer.
    The url to my HP Office jet Pro 8500A Plus is:
    mdns://Officejet%20Pro%208500%20A910%20%5B530E4F%5D._pdl-datastream._tcp.local./?bidi
    I have a IBook G4 and I do not have any of this problem.
    I have specified a default paper size of "USLetter".
    This printing issue is a new one that occurred since I started the Firefox updates after Firefox 6.0 series.
    I am checking with HP on this issue. Prior to the HP8500A (installed in July 2011) I did have a HP6180 Officejet for several years without encountering such a conflict.
    So my second question is; Are there Firefox printing conflicts with the HP 8500A printers?
    EHW 091211

    Joanna,
    It seems that Illy (still) moves in (ever new) mysterious ways.
    I was surprised to see that you got away with your French word, but the hat part must have hidden the first part from the nanny filter. The first part by itself would have become asterisks.

  • Why is the formatting missing from my html page created from a template?

    Hi All!
    Hope you can help me.
    I've created a new template in dreamweaver - all good. When I preview the template page in a browser everything looks perfect.
    But when I create a new html page from that template, even though the page looks perfect in design view, all the formatting is missing when I preview it in a browser.
    The site settings were relative to the site root and I've changed that to be relative to the document (not sure if that should make a difference). Either way, it hasn't changed anything.
    Any ideas?

    The site settings were relative to the site root
    If you have not enabled "Preview using temporary files" in your PREFERENCES then site root relative links will fail on preview. Why? Because site root relative links *always* begin with "/", and when the browser sees that, it (since it knows nothing about Dreamweaver sites) correctly looks for the path starting from the root of your hard drive, not the root of the DW site. When you enable preview using temp files, before handing the file to the browser, DW obligingly converts all root relative links to document relative links (which *will* work on preview) but to do that it must create a temporary file (there are other things that happen as well, like external files being embedded in the code for the preview, but that is not relevant to this discussion). The reason a temp file is created is so that these changes don't affect your saved file.
    So, if you want to use site root relative links, and do previews of your pages, you must enable the temporary files in preview. There is really no downside to doing this except that you may occasionally see a curious file named xzys139(.html in your local file list - this is a temporary file that was handed to the browser for preview, and for whatever reason was not deleted. In fact, this can save your bacon sometimes because it gives you a 'backup' of that page to which you can revert in the event of something catastrophic.
    In the larger picture, there is no benefit to using site root relative links UNLESS you are also using server-side includes. It will make your life a bit simpler if you do not use them.
    Finally, having made those links in your template file with the site root relative option enabled, changing that option to document relative will only affect NEW links, not existing ones. This is why Ken asked to see the link in your template - it's because he knows that even though you have made the option change, that old link will not be affected and will therefore fail on preview (assuming you have not enabled the temp file thing).

  • Most compatable file type to use when copying and pasting specially formatted text into html pages?

    Hello,
      I have a simple web site at http://www.psychicmeatloaf.com which is an online poetry journal site. I use files people send me (mostly .doc or .docx) and cut and paste the text from those files into html pages in an older version of Dreamweaver and some of the text has special formatting (like this page: http://www.psychicmeatloaf.com/Chang-poetry.htm ). The best way I have found to maintain the special text formatting is to open the .docx files and "save as a web page" in Word and then open the web page from Dreamweaver and then "Preview the page" in Explorer and copy and paste from the preview into an html page in Dreamveaver. Even using this method, some text will not maintain it's special formatting and for those I just save the page as a .jpg file and use that, because I have no other choice.
      My question is, is there a better way and is there a better file type to work from other than .docx?
    Thanks a milliom,
    George

    neophyte weaver wrote:
    The best way I have found to maintain the special text formatting is to open the .docx files and "save as a web page" in Word and then open the web page from Dreamweaver and then "Preview the page" in Explorer and copy and paste from the preview into an html page in Dreamveaver.
    That's a lot of steps to get to a single end that could be done with a simple copy & paste of the text into code. Like Photoshop and Fireworks, Word writes some very bulky and dirty code. I wouldn't recommend it for direct copy by the method described above.
    I personally copy the text and paste it into code view. It takes a little more work, but I don't get dozens of lines of inline styles added with it and using a preformatted post div (saved and hidden in the code (<!--post block code goes inside-->), I can quickly put title, date, byline and links up with a cut & paste.
    That's just my $0.02 worth
    Also, since nearly EVERYONE will use a different formatting in a Word doc, putting a bunch of differently formatted posts into a page will make it look like one of those ransom notes made of cut out text from different newspapers and magazines.  Better to keep everything in a single format (your format) so it doesn't become an eyesore.
    Message was edited by: Curtis_E_Flush

  • Display well formatted html error page; how to

    I'm using Django for my backend and mostly getting XML responses to my HttpService requests.  However when I get an error on the backend, The message in the fault event is relatively useless.  To debug I have to copy the request string from the alert window and post it in a separate browser window to see the error traceback.
    I'm using Django on the backend which gives a very nicely formatted error page but I cannot see that from Flex.  I would like to detect the error and open a new browser window/tab and display the "pretty" info.  Below is a snippet of what i'm doing now:
                public  function AssessmentActionServiceFaultHandler(event:FaultEvent):void {
                    Alert.show("FAULT "+event.message);
    and I see something like this:
    getUser failed (mx.messaging.messages::ErrorMessage)#0
      body = ""
      clientId = "DirectHTTPChannel0"
      correlationId = "4451F459-39AD-F687-87A6-FCBD2AD9BC11"
      destination = ""
      extendedData = (null)
      faultCode = "Server.Error.Request"
      faultDetail = "Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: http://localhost:37813/django/mds30/app/getuser/?hostport=localhost:7777&https=N&id=4451F4 59-39AD-F687-87A6-FCBD2AD9BC11"]. URL: http://localhost:7777/django/mds30/app/getuser/"
      faultString = "HTTP request error"
      headers = (Object)#1
        DSStatusCode = 0
      messageId = "F6075BBF-2CAE-0FCC-BDB7-FCBD32C34E2B"
      rootCause = (flash.events::IOErrorEvent)#2
        bubbles = false
        cancelable = false
        currentTarget = (flash.net::URLLoader)#3
          bytesLoaded = 0
          bytesTotal = 0
          data = ""
          dataFormat = "text"
        eventPhase = 2
        target = (flash.net::URLLoader)#3
        text = "Error #2032: Stream Error. URL: http://localhost:37813/django/mds30/app/getuser/?hostport=localhost:7777&https=N&id=4451F4 59-39AD-F687-87A6-FCBD2AD9BC11"
        type = "ioError"
      timestamp = 0
      timeToLive = 0
    ------------------while a normal web page displays something like this----------------------------------------------
    instance at /django/mds30/app/getuser/
    Deprecated String Exception: 'error demo'
    Request Method:
    GET
    Request URL:
    http://localhost:7777/django/mds30/app/getuser/
    Django Version:
    1.2.1
    Exception Type:
    instance
    Exception Value:
    Deprecated String Exception: 'error demo'
    Exception Location:
    C:\all\projects\AccMDS30Server\mds30\app\views.py in getuser,  line 87
    Python Executable:
    c:\alltools\python\python.exe
    Python Version:
    2.4.0
    Python Path:
    ['C:\\all\\projects\\AccMDS30Server\\mds30',  'c:\\alltools\\python\\lib\\site-packages\\mysql_python-1.2.2-py2.4-win32.egg',  'c:\\alltools\\python\\lib\\site-packages\\fdfgen-0.9.1-py2.4.egg',  'C:\\all\\projects\\AccMDS30Server',  'C:\\all\\projects\\AccMDS30Server\\mds30', 'c:\\alltools\\python',  'c:\\alltools\\python\\DLLs', 'c:\\alltools\\python\\lib',  'c:\\alltools\\python\\lib\\lib-tk',  'c:\\alltools\\python\\lib\\plat-win',  'c:\\alltools\\python\\lib\\site-packages',  'C:\\Windows\\system32\\python24.zip', 'C:\\alltools\\eclipse with  PyDev']
    Server time:
    Fri, 10 Sep 2010 13:44:06 -0400
    Traceback Switch to copy-and-paste view
    c:\alltools\python\Lib\site-packages\django\core\handlers\base.py in get_response
    # Apply view middleware
    for  middleware_method in self._view_middleware:
    response = middleware_method(request, callback, callback_args,  callback_kwargs)
    if response:
    return response
    try:
    response = callback(request, *callback_args, **callback_kwargs) ...
    except  Exception, e:
    # If the view raised an exception, run it through  exception
    # middleware, and if the exception middleware returns a
    #  response, use that. Otherwise, reraise the exception.
    for  middleware_method in self._exception_middleware:
    response = middleware_method(request, e)
    ▶ Local vars
    Variable Value
    callback
    <function getuser at  0x033C69F0>
    callback_args
    callback_kwargs
    exc_info
    ('error demo', None,  <traceback object at 0x033C0918>)
    exceptions
    <module  'django.core.exceptions' from  'c:\alltools\python\lib\site-packages\django\core\exceptions.pyc'>
    middleware_method
    <bound method  MessageMiddleware.process_request of  <django.contrib.messages.middleware.MessageMiddleware object at  0x031ED210>>
    receivers
    [(<function  _rollback_on_exception at 0x028EFB70>, None)]
    request
    <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'sessionid': '352717811d57a59ad433e3d1e5f4f1d6'}, META:{'ALLUSERSPROFILE': 'C:\\ProgramData',  'APPDATA': 'C:\\Users\\frsells.ADVENTISTCARE\\AppData\\Roaming',  'COMMONPROGRAMFILES': 'C:\\Program Files (x86)\\Common Files',  'COMMONPROGRAMFILES(X86)': 'C:\\Program Files (x86)\\Common Files',  'COMMONPROGRAMW6432': 'C:\\Program Files\\Common Files',  'COMPUTERNAME': 'NB-FRSELLS',  'COMSPEC': 'C:\\Windows\\system32\\cmd.exe',  'CONTENT_LENGTH': '',  'CONTENT_TYPE': 'text/plain',  'CVSROOT': ':pserver:[email protected]:/cvs',  'DJANGO_SETTINGS_MODULE': 'mds30.settings',  'FP_NO_HOST_CHECK': 'NO',  'GATEWAY_INTERFACE': 'CGI/1.1',  'HOMEDRIVE': 'C:',  'HOMEPATH': '\\Users\\frsells.ADVENTISTCARE',  'HTTP_ACCEPT':  'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',  'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',  'HTTP_ACCEPT_ENCODING': 'gzip,deflate',  'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',  'HTTP_CACHE_CONTROL': 'max-age=0',  'HTTP_CONNECTION': 'keep-alive',  'HTTP_COOKIE': 'sessionid=352717811d57a59ad433e3d1e5f4f1d6',  'HTTP_HOST': 'localhost:7777',  'HTTP_KEEP_ALIVE': '115',  'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US;  rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6',  'JAVA_HOME': 'c:\\alltools\\jdk5',  'LOCALAPPDATA': 'C:\\Users\\frsells.ADVENTISTCARE\\AppData\\Local',  'LOGONSERVER': '\\\\ACCVDC03',  'NUMBER_OF_PROCESSORS': '4',  'OS': 'Windows_NT',  'PATH':  'c:/alltools/jdk5/bin/../jre/bin/client;c:/alltools/jdk5/bin/../jre/bin;C:\\Program  Files  (x86)\\NetworkSimplicity\\ssh;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wb em;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program  Files\\Intel\\DMIX;C:\\Program Files (x86)\\NTRU Cryptosystems\\NTRU  TCG Software Stack\\bin\\;C:\\Program Files\\NTRU Cryptosystems\\NTRU  TCG Software Stack\\bin\\;C:\\Program Files\\Wave Systems  Corp\\Gemalto\\Access Client\\v5\\;C:\\Program Files (x86)\\Common  Files\\Roxio Shared\\DLLShared\\;C:\\Program Files (x86)\\Common  Files\\Roxio  Shared\\10.0\\DLLShared\\;c:\\alltools\\jdk5\\bin;c:\\alltools\\python;c:\\alltools\\pyth on\\scripts;c:\\alltools\\ant;c:\\alltools\\bin;C:\\Program  Files\\MySQL\\MySQL Server  5.0\\bin;C:\\all\\scripts;C:\\alltools\\ant\\bin',  'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC',  'PATH_INFO': u'/django/mds30/app/getuser/',  'PROCESSOR_ARCHITECTURE': 'x86',  'PROCESSOR_ARCHITEW6432': 'AMD64',  'PROCESSOR_IDENTIFIER': 'Intel64 Family 6 Model 23 Stepping 10,  GenuineIntel',  'PROCESSOR_LEVEL': '6',  'PROCESSOR_REVISION': '170a',  'PROGRAMDATA': 'C:\\ProgramData',  'PROGRAMFILES': 'C:\\Program Files (x86)',  'PROGRAMFILES(X86)': 'C:\\Program Files (x86)',  'PROGRAMW6432': 'C:\\Program Files',  'PROMPT': '$P$G',  'PSMODULEPATH':  'C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\',  'PUBLIC': 'C:\\Users\\Public',  'PYDEV_COMPLETER_PYTHONPATH': 'C:\\alltools\\eclipse with  PyDev\\plugins\\org.python.pydev_1.6.1.2010080312\\PySrc',  'PYDEV_CONSOLE_ENCODING': 'Cp1252',  'PYTHONIOENCODING': 'Cp1252',  'PYTHONPATH': 'C:\\alltools\\eclipse with  PyDev\\plugins\\org.python.pydev_1.6.1.2010080312\\PySrc\\pydev_sitecustomize;C:\\all\\pr ojects\\AccMDS30Server;C:\\all\\projects\\AccMDS30Server\\mds30;c:\\alltools\\python;c:\\a lltools\\python\\DLLs;c:\\alltools\\python\\lib;c:\\alltools\\python\\lib\\lib-tk;c:\\allt ools\\python\\lib\\plat-win;c:\\alltools\\python\\lib\\site-packages',   'QUERY_STRING': '',  'REMOTE_ADDR': '127.0.0.1',  'REMOTE_HOST': '',  'REQUEST_METHOD': 'GET',  'ROXIOCENTRAL': 'C:\\Program Files (x86)\\Common Files\\Roxio  Shared\\10.0\\Roxio Central36\\',  'RUN_MAIN': 'true',  'SCRIPT_NAME': u'',  'SERVER_NAME': 'NB-FRSELLS.adventistcare.net',  'SERVER_PORT': '7777',  'SERVER_PROTOCOL': 'HTTP/1.1',  'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.4',  'SESSIONNAME': 'Console',  'SYSTEMDRIVE': 'C:',  'SYSTEMROOT': 'C:\\Windows',  'TEMP': 'C:\\Users\\FRSELL~1.ADV\\AppData\\Local\\Temp',  'TMP': 'C:\\Users\\FRSELL~1.ADV\\AppData\\Local\\Temp',  'USERDNSDOMAIN': 'ADVENTISTCARE.NET',  'USERDOMAIN': 'ADVENTISTCARE',  'USERNAME': 'frsells',  'USERPROFILE': 'C:\\Users\\frsells.ADVENTISTCARE',  'VS100COMNTOOLS': 'C:\\Program Files (x86)\\Microsoft Visual Studio  10.0\\Common7\\Tools\\',  'WINDIR': 'C:\\Windows',  'wsgi.errors': <open file '<stderr>', mode 'w' at  0x0037E0B0>,  'wsgi.file_wrapper': <class  'django.core.servers.basehttp.FileWrapper'>,  'wsgi.input': <socket._fileobject object at 0x02A8ECE0>,  'wsgi.multiprocess': False,  'wsgi.multithread': True,  'wsgi.run_once': False,  'wsgi.url_scheme': 'http',  'wsgi.version': (1, 0)}>
    resolver
    <RegexURLResolver  mds30.urls (None:None) ^/>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler  object at 0x028C7590>
    settings
    <django.conf.LazySettings  object at 0x024F6710>
    urlconf
    'mds30.urls'
    urlresolvers
    <module  'django.core.urlresolvers' from  'c:\alltools\python\lib\site-packages\django\core\urlresolvers.pyc'>
    C:\all\projects\AccMDS30Server\mds30\app\views.py in getuser
    temp += '<p>GET.META["REMOTE_ADDR"]=' +  str(request.META['REMOTE_ADDR'])
    #temp += '<p>GET.META["USERNAME"]=' +  str(request.META['USERNAME'])
    #temp += '<p>GET.META["SESSIONNAME"]=' +  str(request.META['SESSIONNAME'])
    temp += '<p>GET.META=' + str(request.META)
    return  HttpResponse("Hello, You are using the MDS 3.0 web service from %s" %  temp)
    def getuser(request,  *args, **kwargs):
    raise 'error demo' ...
    sessionid =  getACCSessionId(request)
    user = security.getUser(sessionid)
    if user==None:
    values =  {'Error':sessionid, 'user':str(user)}
    else:
    values =  user.__dict__.copy()
    ▶ Local vars
    Variable Value
    args
    kwargs
    request
    <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'sessionid': '352717811d57a59ad433e3d1e5f4f1d6'}, META:{'ALLUSERSPROFILE': 'C:\\ProgramData',  'APPDATA': 'C:\\Users\\frsells.ADVENTISTCARE\\AppData\\Roaming',  'COMMONPROGRAMFILES': 'C:\\Program Files (x86)\\Common Files',  'COMMONPROGRAMFILES(X86)': 'C:\\Program Files (x86)\\Common Files',  'COMMONPROGRAMW6432': 'C:\\Program Files\\Common Files',  'COMPUTERNAME': 'NB-FRSELLS',  'COMSPEC': 'C:\\Windows\\system32\\cmd.exe',  'CONTENT_LENGTH': '',  'CONTENT_TYPE': 'text/plain',  'CVSROOT': ':pserver:[email protected]:/cvs',  'DJANGO_SETTINGS_MODULE': 'mds30.settings',  'FP_NO_HOST_CHECK': 'NO',  'GATEWAY_INTERFACE': 'CGI/1.1',  'HOMEDRIVE': 'C:',  'HOMEPATH': '\\Users\\frsells.ADVENTISTCARE',  'HTTP_ACCEPT':  'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',  'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',  'HTTP_ACCEPT_ENCODING': 'gzip,deflate',  'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',  'HTTP_CACHE_CONTROL': 'max-age=0',  'HTTP_CONNECTION': 'keep-alive',  'HTTP_COOKIE': 'sessionid=352717811d57a59ad433e3d1e5f4f1d6',  'HTTP_HOST': 'localhost:7777',  'HTTP_KEEP_ALIVE': '115',  'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US;  rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6',  'JAVA_HOME': 'c:\\alltools\\jdk5',  'LOCALAPPDATA': 'C:\\Users\\frsells.ADVENTISTCARE\\AppData\\Local',  'LOGONSERVER': '\\\\ACCVDC03',  'NUMBER_OF_PROCESSORS': '4',  'OS': 'Windows_NT',  'PATH':  'c:/alltools/jdk5/bin/../jre/bin/client;c:/alltools/jdk5/bin/../jre/bin;C:\\Program  Files  (x86)\\NetworkSimplicity\\ssh;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wb em;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program  Files\\Intel\\DMIX;C:\\Program Files (x86)\\NTRU Cryptosystems\\NTRU  TCG Software Stack\\bin\\;C:\\Program Files\\NTRU Cryptosystems\\NTRU  TCG Software Stack\\bin\\;C:\\Program Files\\Wave Systems  Corp\\Gemalto\\Access Client\\v5\\;C:\\Program Files (x86)\\Common  Files\\Roxio Shared\\DLLShared\\;C:\\Program Files (x86)\\Common  Files\\Roxio  Shared\\10.0\\DLLShared\\;c:\\alltools\\jdk5\\bin;c:\\alltools\\python;c:\\alltools\\pyth on\\scripts;c:\\alltools\\ant;c:\\alltools\\bin;C:\\Program  Files\\MySQL\\MySQL Server  5.0\\bin;C:\\all\\scripts;C:\\alltools\\ant\\bin',  'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC',  'PATH_INFO': u'/django/mds30/app/getuser/',  'PROCESSOR_ARCHITECTURE': 'x86',  'PROCESSOR_ARCHITEW6432': 'AMD64',  'PROCESSOR_IDENTIFIER': 'Intel64 Family 6 Model 23 Stepping 10,  GenuineIntel',  'PROCESSOR_LEVEL': '6',  'PROCESSOR_REVISION': '170a',  'PROGRAMDATA': 'C:\\ProgramData',  'PROGRAMFILES': 'C:\\Program Files (x86)',  'PROGRAMFILES(X86)': 'C:\\Program Files (x86)',  'PROGRAMW6432': 'C:\\Program Files',  'PROMPT': '$P$G',  'PSMODULEPATH':  'C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\',  'PUBLIC': 'C:\\Users\\Public',  'PYDEV_COMPLETER_PYTHONPATH': 'C:\\alltools\\eclipse with  PyDev\\plugins\\org.python.pydev_1.6.1.2010080312\\PySrc',  'PYDEV_CONSOLE_ENCODING': 'Cp1252',  'PYTHONIOENCODING': 'Cp1252',  'PYTHONPATH': 'C:\\alltools\\eclipse with  PyDev\\plugins\\org.python.pydev_1.6.1.2010080312\\PySrc\\pydev_sitecustomize;C:\\all\\pr ojects\\AccMDS30Server;C:\\all\\projects\\AccMDS30Server\\mds30;c:\\alltools\\python;c:\\a lltools\\python\\DLLs;c:\\alltools\\python\\lib;c:\\alltools\\python\\lib\\lib-tk;c:\\allt ools\\python\\lib\\plat-win;c:\\alltools\\python\\lib\\site-packages',   'QUERY_STRING': '',  'REMOTE_ADDR': '127.0.0.1',  'REMOTE_HOST': '',  'REQUEST_METHOD': 'GET',  'ROXIOCENTRAL': 'C:\\Program Files (x86)\\Common Files\\Roxio  Shared\\10.0\\Roxio Central36\\',  'RUN_MAIN': 'true',  'SCRIPT_NAME': u'',  'SERVER_NAME': 'NB-FRSELLS.adventistcare.net',  'SERVER_PORT': '7777',  'SERVER_PROTOCOL': 'HTTP/1.1',  'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.4',  'SESSIONNAME': 'Console',  'SYSTEMDRIVE': 'C:',  'SYSTEMROOT': 'C:\\Windows',  'TEMP': 'C:\\Users\\FRSELL~1.ADV\\AppData\\Local\\Temp',  'TMP': 'C:\\Users\\FRSELL~1.ADV\\AppData\\Local\\Temp',  'USERDNSDOMAIN': 'ADVENTISTCARE.NET',  'USERDOMAIN': 'ADVENTISTCARE',  'USERNAME': 'frsells',  'USERPROFILE': 'C:\\Users\\frsells.ADVENTISTCARE',  'VS100COMNTOOLS': 'C:\\Program Files (x86)\\Microsoft Visual Studio  10.0\\Common7\\Tools\\',  'WINDIR': 'C:\\Windows',  'wsgi.errors': <open file '<stderr>', mode 'w' at  0x0037E0B0>,  'wsgi.file_wrapper': <class  'django.core.servers.basehttp.FileWrapper'>,  'wsgi.input': <socket._fileobject object at 0x02A8ECE0>,  'wsgi.multiprocess': False,  'wsgi.multithread': True,  'wsgi.run_once': False,  'wsgi.url_scheme': 'http',  'wsgi.version': (1, 0)}>
    Environment:  Request  Method: GET Request URL: http://localhost:7777/django/mds30/app/getuser/ Django Version: 1.2.1 Python Version: 2.4.0 Installed Applications: ['django.contrib.contenttypes',  'django.contrib.sessions',  'django.contrib.sites',  'django.contrib.messages',  'mds30.app'] Installed Middleware: ('django.middleware.common.CommonMiddleware',  'django.contrib.sessions.middleware.SessionMiddleware',  'django.contrib.messages.middleware.MessageMiddleware')   Traceback: File "c:\alltools\python\Lib\site-packages\django\core\handlers\base.py"  in get_response   100.                     response = callback(request, *callback_args,  **callback_kwargs) File "C:\all\projects\AccMDS30Server\mds30\app\views.py" in getuser   87.     raise 'error demo'  Exception Type: instance at /django/mds30/app/getuser/ Exception Value: Deprecated String Exception: 'error demo'  
    Request information
    GET
    No GET data
    POST
    No POST data
    FILES
    No FILES data
    COOKIES
    Variable Value
    sessionid
    '352717811d57a59ad433e3d1e5f4f1d6'
    META

    I came up with an ugly solution.  I save the last url and then resend it if a fault is detected.  probably not a good thing in production, but I'm still developing.  here's the code
        public  function AssessmentActionServiceFaultHandler(event:FaultEvent):void {
                    Globals.log("command FAILED "+event.message);   
                    Globals.hideBusyDialog();
                    //Alert.show("FAULT "+event.message);
                    navigateToURL(new URLRequest( LastURL), "_blank" );

  • Having trouble showing an Iview in a HTML page with frames format

    Hi, I have a public webpage with 3 frames (top, navigation and content)
    In the content part has to be showed a portal anonymous page.
    I created the anonymous portal page that shows me a Webdynpro that I created, works fine. But when I put the link in the frame of the public webpage, is like the page entered in a loop and nothings is showed.
    But if in the frame I put the direct Webdynpro link works fine but the Custom colors that I set in portal doesnt works (and this is important).
    Any1 know how can I do to put an anonymous portal page inside a frame html without lossing the colors that I replace in the theme editor.

    sun1977 wrote:
    Hi,
    I have the Home page which has the usual static text. I was looking for the option of showing some data on that page like
    1. last data load date which will have to be selected from the database. Do we just create a dynamic action on the HTML page? Going to try this now. But just wondering if there is a proper way to do this?
    Just to be a little more specific. I have static text in <Table> tags in a plain HTML page. So within the <TABLE> tags which is in the text source, Can I call bind values or PL/SQL procedures?. Was looking for some ideas on this.There are several options. One is to create hidden page or application items set using queries in item source, computations or processes. These can be referenced in HTML region source (and other places) using the static text exact substitution notation:
    &P1_ITEM.Another is to replace the HTML region with a report region using a custom report template. If there are a number of related values to display this is likely to perform better as only one query is involved.
    Unless these values respond dynamically to changes on the page there is no call to use Dynamic Actions.
    2. Insert the audit field with the SSO username. Any idea which variable stores the username which maybe can be passed to the trigger to update before an insert/update.Use the built-in <tt>APP_USER</tt> substitution string. For this purpose normally in a database trigger including a fall-back value to cope if the table is modified outside of your APEX app:
    :new.modified_by := nvl(v('app_user'), user);

  • How can I prevent filter from getting applies to .html page?

    Hi,
    I have a MyFaces filter that I don't want applied to pages ending in ".html". However, upon visiting the "/myapp/index.html" page of my application, I get an internal server error, and the stack trace indicates that the filter is being invoked. How can I prevent such a filter from being applied to ".html" pages? The stack trace and the web.xml file are below.
    Thanks, - Dave
    Error I get when visiting index.html page
    ####<Oct 30, 2008 8:46:44 AM MDT> <Error> <HTTP> <rhonti> <nps-supp-gui-ms-1> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1225378004500> <BEA-101020> <[weblogic.servlet.internal.WebAppServletContext@4f2189 - appName: 'nps_history_gui', name: 'nps_history_gui.war', context-path: '/nps_history_gui'] Servlet failed with Exception
    java.lang.IllegalStateException: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered. Please see: http://myfaces.apache.org/tomahawk/extensionsFilter.html
    at org.apache.myfaces.renderkit.html.util.AddResourceFactory.throwExtensionsFilterMissing(AddResourceFactory.java:389)
    at org.apache.myfaces.renderkit.html.util.AddResourceFactory.checkEnvironment(AddResourceFactory.java:349)
    at org.apache.myfaces.renderkit.html.util.AddResourceFactory.getInstance(AddResourceFactory.java:279)
    at org.apache.myfaces.webapp.filter.TomahawkFacesContextWrapper.<init>(TomahawkFacesContextWrapper.java:115)
    at org.apache.myfaces.webapp.filter.TomahawkFacesContextFactory.getFacesContext(TomahawkFacesContextFactory.java:85)
    at javax.faces.webapp.FacesServlet.prepareFacesContext(FacesServlet.java:307)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:141)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:525)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:261)
    at com.myco.nps.im.plugin.NPSIMIntercepter.doFilter(NPSIMIntercepter.java:101)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at com.myco.nps_history.filters.NoCachingFilter.doFilter(NoCachingFilter.java:30)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3229)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2002)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1908)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1362)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    =================Begin web.xml=======================
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">
    <display-name>
    nps_history_gui</display-name>
    <filter>
    <filter-name>extensionsFilter</filter-name>
    <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
    <init-param>
    <description>Set the size limit for uploaded files.
    Format: 10 - 10 bytes
    10k - 10 KB
    10m - 10 MB
    1g - 1 GB</description>
    <param-name>uploadMaxFileSize</param-name>
    <param-value>100m</param-value>
    </init-param>
    <init-param>
    <description>Set the threshold size - files
    below this limit are stored in memory, files above
    this limit are stored on disk.
    Format: 10 - 10 bytes
    10k - 10 KB
    10m - 10 MB
    1g - 1 GB</description>
    <param-name>uploadThresholdSize</param-name>
    <param-value>100k</param-value>
    </init-param>
    </filter>
    <filter>
    <filter-name>No Caching Filter</filter-name>
    <filter-class>com.myco.nps_history.filters.NoCachingFilter</filter-class>
    </filter>
    <filter>
    <filter-name>SSOFilter</filter-name>
    <filter-class>com.myco.nps.im.plugin.NPSIMIntercepter</filter-class>
    <init-param>
    <param-name>filter_conf_file</param-name>
    <param-value>/export/third-party/etsbea/application_conf/wls_9.2.2/nps_history_gui_conf/nps_im_plugIn.properties</param-value>
    </init-param>
    </filter>
    <filter-mapping>
    <filter-name>extensionsFilter</filter-name>
    <url-pattern>*.jsf</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>extensionsFilter</filter-name>
    <url-pattern>/faces/*</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>No Caching Filter</filter-name>
    <url-pattern>/*</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>SSOFilter</filter-name>
    <url-pattern>/*</url-pattern>
    </filter-mapping>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <description>Sets properties of History UI app</description>
    <display-name>HistoryInitServlet</display-name>
    <servlet-name>HistoryInitServlet</servlet-name>
    <servlet-class>com.myco.nps_history.servlets.HistoryInitServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>*.jsf</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>HistoryInitServlet</servlet-name>
    <url-pattern>/HistoryInitServlet</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>HistoryInitServlet</servlet-name>
    <url-pattern>/refresh</url-pattern>
    </servlet-mapping>
    <welcome-file-list>
    <welcome-file>index.html</welcome-file>
    <welcome-file>index.htm</welcome-file>
    <welcome-file>index.jsp</welcome-file>
    <welcome-file>default.html</welcome-file>
    <welcome-file>default.htm</welcome-file>
    <welcome-file>default.jsp</welcome-file>
    </welcome-file-list>
    </web-app>
    ==================End web.xml=======================

    I got that error when using the request URL /myapp/ or /myapp/index.html.
    Regarding,
    At any way, you should map the ExtensionsFilter on the FacesServlet rather than on any url-pattern. Could you elaborate on what you mean? Maybe with an example?
    Thanks, - Dave

  • Replace HTML page with an applet

    Hello to everybody!
    I created a servlet who can manage file upload from an HTML page.
    Now I want to replace that HTML page with an applet.
    I know that I need to use multipart/form-data , but I have no experience with applet.
    HTML page code is:
    <html>
    <head><title>Upload</title></head>
    <body>
    <FORM ACTION="http://localhost:8080/examples/servlets/servlet/UploadTest" ENCTYPE="multipart/form-data" METHOD=POST>
    What is your name? <INPUT TYPE=TEXT NAME=submitter> <BR>
    Which file do you want to upload? <INPUT TYPE=FILE NAME=file> <BR>
    <INPUT TYPE=SUBMIT>
    </FORM>
    </body>
    </html>
    Any help for "translating" this html page into an applet?
    Applet will send, like html page, a string and a file.
    Thanks in advance, Liuk

    If you use something like Apache Http Client you dont have to do any low level implementations.
    Also if you are the one who is writing both servlet and applet you dot have to stick to standerd formats. you can develop your own format and write both servlet and applet to handle it. that kind of thing can be done easily even with URLConnection. But if you plan to send large files then URLConnection may not be the right option becouse I have seen many complaining that URLConnection gives OutOfMemoryErrors when uploading large amounts of data.

  • File-Save window(saving the html page by clicking a button)

    Hi,
    when I click a button, a window should open which is same as the one which appears when we click File-save.
    This should happen to save the data that is displayed on the internetExplorer, when the user clicks the submit button on his page.(ie,Saving  the html page in his desired location).
    Thanks in advance.

    Refer FileDownload and FileUpload tutorial.
    If the idea is just to save the html page, I am not sure if it is possible.
    If the idea is to save the data in the html page then you can save it as xml format or csv format. Refer to the following tutorials:
    a) FileUpload and FileDownload
    b) Web Dynpro Binary cache
    Regards,
    Subramanian V.

  • Can a menu link to .html pages?

    I want to make a DVD that will start with a video introduction, and upon finishing the brief minute or so intro, it will display a menu screen.
    1.) I would like the menu buttons to link to .html pages saved on the DVD. So after clicking on a link from the menu, it will open up a full-screen .html page.
    2.) Each .html page will link to other .html pages and have embedded images, and short quitcktime video clip links that will open up in small windows when links are clicked.
    3.) I need to have a link on each .html page that links back to the main dvd menu.
    Can this be done? Any issues with doing something like this?
    Thanks in advance for any advice!!!!

    Mark - you need to read up on DVD@ccess if you intend doing this through DVDSP. Yes, it is all possible, but you haven't quite got the way it works correct.
    What happens is you embed a URL into a menu. When the menu is accessed (typically by a button from a previous menu) the link is activated and the resource is launched. This opens in a window in front of the DVD playback window. The DVD player continues to run in the background - so you need to allow for that when returning. The viewer will simply close the web browser window and be back at the DVD window - by then you should have made the @ccess menu 'time-out' and return to the previous menu.
    You set up the HTML file (or whatever file you are using) in a folder on your Mac, and place it all within a parent folder. From within DVDSP you then use the property Inspector for the disc itself (click not he disc icon in the outline view) to specify a ROM folder. You browse for the parent folder you just created. Everything inside that will get added to the root level of the DVD, which is why you place your HTML inside a folder within that parent folder (unless of course, you don't mind your HTML file/s being scattered all over the root of the DVD).
    You set the URL for the @ccess link by using the following path format:
    file:///DVDname/ParentFolderName/filename.extension
    So if your html file is called 'index' and it is in a folder called 'ROM' on your DVD called 'Project' then the URL you set in the menu would be:
    file:///Project/ROM/index.html
    This should then get activated (as long as you have enabled DVD@ccess links in your DVD Player software).
    However, there are some caveats.
    Whilst this will work quite well on a Mac, a PC user will have a wildly varied experience - for some the links will work. For some the links won't work, and for some, all links will launch the moment the first link is encountered... ALL PC users will need to install the DVD@ccess software (which will be on the built DVD by default (DVDSP includes it there for you), unless they have already done so previously (unlikely).
    In order to maximise the experience for PC users and Mac users you should consider using Sonic's 'eDVD' to add the hyperlinks. This makes use of the Interactual player which has a far higher installed base in PCs, but will need installing in Macs. Again, this gets included on the disc when you use eDVD.
    eDVD is a PC only app - you'll need to build your project and transfer the VIDEO_TS folder to a PC, add the links and then burn it to disc or use software such as Gear Pro to create a DLT. Hopefully Jim (WTS) will see this and give more advice on how to use eDVD.
    Getting DVD@ccess working on a PC is a tricky thing to do - a lot depends on the PC software spec, and since you can't govern the user's choice in this, you are walking a tightrope of compatibility.
    Of course, you could simply set some text into your menu to say that there is additional content on the disc, and let the user browse to it at their leisure instead of relying on embedded links...

  • Embedding an HTML page in a Flash Movie

    I am trying to embed an HTML page in the center of a Flash
    movie and I was wondering if this is possible, and if so, what is
    the code to do so. I want it as a small box in the middle of my
    SWF.

    You can add HTML formatted txt to a TextField or a TextArea
    Component. This only allows for simple things, a href, b, u, i,
    p... But for a full HTML capabilities you may want to look into a
    DIV container that sits on top of your flash object using CSS
    styles.

  • Formatted HTML output with Spry regions - is it possible?

    I have recently begun using the XML export extension in
    conjunction with an Access database to output dynamic data into a
    page with a Spry master/detail setup. So far, my simple example is
    going great, but I've run into a snag that I need some help with.
    To explain what I'm doing - it's a simple article page with
    the list of articles on the left with the title and date and the
    article title and full contents on the right hand side. So far it's
    all working very well, updating in real time when I click an
    article title on the left. The problem is the output with this one
    field which stores not only text, but also HTML formatting that is
    generated by a wysiwyg editor used on the article creation side of
    this little app. This HTML formatted content is the article body
    and is stored in a field named the same - "body". With traditional
    ASP, the HTML formatting displays as expected and all is well, but
    with Spry, it doesn't output formatted HTML, but instead shows the
    content and HTML code together as text. How can I get this one
    field ("body") to be output so all the HTML formatting is shown?
    This is my simple page example. Click through and you'll see
    what I mean.
    http://www.shoestodyefor.com/ajax.asp
    Here's the section of code in question regarding the output
    on that right hand panel where the body is displayed for each
    article:
    <div spry:detailregion="ds1">
    {title}<br />
    {entryDate}<br />
    <br />
    {body}
    /div>
    Is it possible to have that {body} section shown so the
    dynamically created HTML code from the wysiwyg editor is displayed
    correctly?

    Steve Skinner wrote:
    > Is it possible to have that {body} section shown so the
    dynamically created
    > HTML code from the wysiwyg editor is displayed
    correctly?
    The version of Spry that ships with Dreamweaver CS3 (Spry
    1.4) doesn't
    support the type of output created by the XML Export
    extension.
    This issue has been corrected in Spry 1.5, but no plans have
    been made
    public for integrating Spry 1.5 into Dreamweaver CS3. You
    would need to
    download Spry 1.5 from
    http://labs.adobe.com/technologies/spry/.
    Details
    of how to hand-code the fix for output from XML Export are
    here:
    http://labs.adobe.com/technologies/spry/samples/data_region/HTMLFragsInXMLSample.html
    David Powers, Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Embedding HTML page as attachment

    I am sending a mail in html format. This HTML page contains some images and some links. Link in the html page refers to another html page. When clicked on this link, this referred html page should be opened in a browser window.(Html link cannot be web URL like http://...) . Inorder to do this I have embedded the images and html page with my mail. But when the link is clicked on the html, nothing is happening.(I can save the referred HTML page by selecting Save Attachments menu. That means the html page is available with mail) . How can i refer the attached html page? Please help

    I guess you need to refer it using the cid:##### where ##### is some content id, as reference and use the same id as Content-ID: header for your attached html page.
    check RFC2111 at http://www.ietf.org/rfc/rfc2111.txt
    The following message points to another message (hopefully still in
    the recipient's message store).
    From: [email protected]
    To: [email protected]
    Subject: Here's how to do it
    Content-type: text/html; charset=usascii
    ... The items in my
    previous message, shows how the approach you propose can be
    used to accomplish ...

  • Viewing HTML page saved  on the server from the browser

    Hi all
    In my application i am having some HTML pages saved on the server. I had given an option to the user to view the HTML page from my application. behind the scene what i am doing is that the view request will get handled by a servlet and from that servlet iam locating the HTML page on the server directory and sending the HTML page to browser by using the Servlet OutputStream. The HTML page is shown on the browser but the attached images are not shown. The images are also there in the server directory and are refered in the HTML file correctly. When i directly open the HTML file then the images are shown correctly.
    Can anyone suggest wat's wrong there.
    The code i m using is
    ServletOutputStream out=response.getOutputStream();
                        if(format.equalsIgnoreCase("pdf"))
                             logger.info("Seleted format is pdf..\n");
                             response.setContentType("application/pdf");
                        else
                             logger.info("Seleted format is html..\n");
                             response.setContentType("text/html");
    String file = ReportingConstants.URL_GENERATEDREPORTS+reportPath+itemName;
    // file : HTML file absolute path as string.
                        URL url=new URL(file);                    
                        BufferedInputStream bis=new BufferedInputStream(url.openStream());
                        BufferedOutputStream bos=new BufferedOutputStream(out);
                        byte[] buff = new byte[2048];
                        int bytesRead;
                        while(-1 != (bytesRead = bis.read(buff, 0, buff.length))) {
                             bos.write(buff, 0, bytesRead);
                             bos.flush();
                        }

    You have to undertsand how the browser handles images and other resources in a HTML page. In the HTML there is an image tag that has a url to an image which can be a reletive url or an absolute url (starts with a "/").
    If the url is a relative url the browser interprets the url as being relative to the url currently displayed in the address field discarding the last element of the url . So if the url in the address bar is http://www.myserver.com/myapp/mypage.html and the relative url is images/myimage.jpg, the browser will submit a request to the server for http://www.myserver.com/myapp/images/myimage.jpg
    Now let's say that you are call mypage.html from a servlet that has the url http://www.myserver.com/myapp/servlets/myservlet. Then when the browser tries to retrieve myimage.jpg it will use the url http://www.myserver.com/myapp/servlets/myservlet/images/myimage.jpg and since this is incorrect it will not be able to display the images.
    One solution to this is to change all of the image urls to absolute urls. That is the start with a slash where the slash represents the start of the url after the application domain name. For example you used an absolute url for myimage.jpg it would look like /images.myimage.jpg and when accessing the page through the servlet url (http://www.myserver.com/myapp/servlets/myservlet) the browser will discard everything after http://www.myserver.com/myapp and look for the image at http://www.myserver.com/myapp/images/myimage.jpg which is the correct url.
    A second solution is to use the HTML BASE tag which tells the browser not to interpret the image tag urls (and other resourses) using the current url in the address bar but to use the url supplied in the HTML BASE tag. The browser will still perform the same process for relative urls but now relative to the BASE tag url. Since the BASE tag url will be the same every time the page is accesssed the images should be correctly accessed no matter how the page is accessed (eg directly, using RequestDistpatcher or via your servlet)

Maybe you are looking for