Servlet as HomePage in Mie and Netscape

Hi to all, I'm doing a java proxy that filters the webs, It consists on a servlet (with tomcat), but how can I do that every url that I write in the browser goes to http://localhost:8080/ProxyWeb I tried to do it with Internet options---> Proxy --> Url: localhost port:8080 but how can i do it? thank's.

I got it, in the web.xml I put:
<servlet-mapping>
<servlet-name>ProxyServlet</servlet-name>
<url-pattern></url-pattern>
</servlet-mapping>
but i have another problem, in the browser i write http://sabweb.uab.es
and the browser send the petition throw the proxy (my servlet) and the servlet do:
String url=request.getQueryString();
System.out.pritnln("query is: "+url);
and the result is null.
I need to know the query that i wrote in the browser.

Similar Messages

  • Servlet  output correct in ie and netscape, but not in portal

    I have a servlet that retrieves and xml document, applies a
    stylesheet, and uses PrintWriter to output the html.
    When I run the servlet, the output is correct in ie and netscape.
    So, I set the servlet up as a web portlet and have put it on a
    portal page.
    My problem: When I run the portal page, the mdashes and
    rsquotes, etc. show up in portal as question marks.
    I went into the provider.xml and added some information
    (contentType,charset), but that had no effect.
    Ideas appreciated.
    Thanks.

    I have been doing some research, and this appears to be some
    sort of character encoding/unicode problem.
    I have specified UTF-8 in my servlet. Does portal not work with
    UTF-8?
    Is there a setting somewhere that I can check in portal to
    verify what character encoding it is using? (ISO-8859-1, US-
    ASCII, etc?)
    This is a sample of my servlet code:
    public void DoGet(HttpServletRequest request, HttpServlet
    Response,response)
    throws ServletException, IOException
    DOMParser parser;
    XMLDocument xml,xsldoc;
    URL xslURL,xmlURL;
    String xmld = "";
    String xsld = "";
    response.setContentType("text/html;charset=UTF-8");
    PrintWriter out = response.getWriter();
    try
    parser = new DOMParser();
    parser.setPreserveWhitespace(true);
    xslURL = createURL(xsld);
    parser.parse(xslURL);
    xsldoc = parser.getDocument();
    xmlURL = createURL(xmld);
    parser.parse(xmlURL);
    xml = parser.getDocument();
    XSLStylesheet xsl = new XSLStylesheet(xsldoc,xslURL);
    XSLProcessor processor = new XSLProcessor();
    processor.processXSL(xsl,xml,out);
    Any advice appreciated.

  • Facing the problem in loading the applet in mozilla, Firefox and netscape

    Dear sir,
    Well I am facing the problem regarding loading of applet in firefox,mozilla and netscape. Its working fine in IE6 I have the samplecode which asks for jdk1.4 whenever the applet gets loaded in IE6 and also it works fine for every browser but he is asking jre for every time whenever the page gets loaded even if the jre is installed. I need a code such that it should ask only if the jre is not installed. One more thing is it so that for mozilla or netscape the jre installation files are different.
    pls give the solution.
    Well I am also facing the problem like when I load login page of my applicatoin in netscape or firefox
    I provided the buton on login page on which the hyperlink is present, the hyperlink is of servlet path when I click on the same it shows me the blank page instead he should forward the page to the next jsp webpage where I am showing the applet. But it works fine in IE versions and opera but not in the others.
    Awating for your reply.
    Rgs
    sumeet.

    Issue resolved with the help of ABAP.
    Regards
    Bijudas

  • My web site has a link which automatically configures an email. Doesn't work in Firefox 5.0 but OK in IE 8, Opera and Netscape. v

    My web site is generated by Second Site , author John Cardinal, and contains email links which when selected automatically createsan email which all you need to do is fill in the body and send it. This has worked in the past in Firefox and does work now using IE 8, Opera, and Netscape browsers but does not work when using my Firefox browser neither locally on my computer or in my Internet website. Firefox is my browser of choice. This has worked in the past using Firefox.
    My web site is www.schulteis.com/omnibus/. On the presentation page, on the bottom, where it identifies Genealogist: Site Administrator. Select it and it may work for you. John Cardinal tested it on his local machine and it worked for him. His response to me was,
    "It's very likely that this is some sort of browser configuration error, and it's probably related to using a web-based email client, In
    Firefox, look under Options > Applications and see how the "Mailto" Content type is configured. It should probably say "Use Yahoo Mail" [it does]. I have never configured a browser to use a web-base email client, so I can't help more than that.
    Since this works fine on my computer and on my Internet site when using browsers IE 8, Opera, and Netscape but not Firefox, and I didn't do anything special for any browser to cause it to work, don't know what I could have done wrong for Firefox.
    I am using Yahoo mail.
    Thanks for your help
    Donald
    [email protected]

    I'm also running FF 36.0.4 on a Win 7 machine.  Here is what I see when I "open" the map (from the server - not inside DW):
    The map area stays white with no image even after several minutes.  The cursor does change to a hand when over the area where the map should be and if I click and drag there the cursor switches to the closed hand - so it's acting like the map is there and can be moved - but just no map shows up.
    I'll run it though the validator.  Thanks!

  • Firefox won't load homepage when launched and crashes when closed.

    Last night, while I was in Firefox, a notification popped up that updater.exe had been downloaded. I could easily take a guess: a new version of Firefox was out. I closed Firefox and then had the updater do its thing.
    When Firefox then launched & came up with a blank screen (like what you would see with New Tab), I was a little confused. I checked Tools > Options and the general tab was still set to show the homepage when Firefox starts up (Xfinity). I also went through all the other tabs and found that nothing had been changed. It was 18.0, as shown in "About Firefox" so I was scratching my head as to what was going on. Humoring myself, I clicked the "home" Icon, and sure enough it toop me to my homepage. Figuring I'd take a shot at it later, I closed Firefox (The red X in the upper right).
    Then things took a stranger turn. Upon closing, the Mozilla Crash Report screen popped up. I figured this was a one-time thing, so I didn't send a report. I launched Firefox again, and again I got a blank screen. Upon closing, the Crash Report screen popped up again. To ensure this was just something with Firefox, I launched Internet Explorer. It showed the homepage upon launch, and didn't crash when closed.
    Now, upon getting the troubleshoot information, I discovered another twist: When I go to close one of the tabs, Forefox crashes.
    This has me scratching my head. Before I updated, everything was perfectly fine. Now I run into this. Any thoughts?

    Alright, I just tried to reset (help > Troubleshooting > click 'Reset Firefox'. It said it would try to hold onto bookmarks, passwords, etc). When it closes, we hit the Crash Report screen again. Launching Firefox reveals nothing has changed (Theme being the same is the give-away). I'd say that hasn't worked as of yet.
    I typed about:crashes and copy/pasted everything in the "details" tab. If the "Raw Dump" tab would be more effective, just say so and I'll add that
    Signature coffplgn.dll@0x3714
    UUID 89ad14cd-e4c9-43d9-9ba0-fa8332130111
    Date Processed 2013-01-11 08:26:27
    Uptime 27
    Last Crash more than 3 months before submission
    Install Age 27 seconds since version was first installed.
    Install Time 2013-01-11 08:25:31
    Product Firefox
    Version 18.0
    Build ID 20130104151925
    Release Channel release
    OS Windows NT
    OS Version 5.1.2600 Service Pack 3
    Build Architecture x86
    Build Architecture Info AuthenticAMD family 16 model 2 stepping 3
    Crash Reason EXCEPTION_ACCESS_VIOLATION_EXEC
    Crash Address 0x54d7048
    User Comments
    App Notes
    AdapterVendorID: 0x1002, AdapterDeviceID: 0x9611, AdapterSubsysID: 00000000, AdapterDriverVersion: 8.531.0.0
    D3D10 Layers? D3D10 Layers- D3D9 Layers? D3D9 Layers-
    Processor Notes
    EMCheckCompatibility True
    Winsock LSP
    MSAFD Tcpip [TCP/IP] : 2 : 1 :
    MSAFD Tcpip [UDP/IP] : 2 : 2 : %SystemRoot%\system32\mswsock.dll
    MSAFD Tcpip [RAW/IP] : 2 : 3 : %SystemRoot%\system32\mswsock.dll
    RSVP UDP Service Provider : 6 : 2 : %SystemRoot%\system32\rsvpsp.dll
    RSVP TCP Service Provider : 6 : 1 : %SystemRoot%\system32\rsvpsp.dll
    MSAFD NetBIOS [\Device\NetBT_Tcpip_{0BBE6F70-6FFF-4959-B762-459BA69AE89C}] SEQPACKET 4 : 2 : 5 : %SystemRoot%\system32\mswsock.dll
    MSAFD NetBIOS [\Device\NetBT_Tcpip_{0BBE6F70-6FFF-4959-B762-459BA69AE89C}] DATAGRAM 4 : 2 : 2 : %SystemRoot%\system32\mswsock.dll
    MSAFD NetBIOS [\Device\NetBT_Tcpip_{CA2BB869-E7F7-405E-9266-0E2BDF8F748D}] SEQPACKET 1 : 2 : 5 : %SystemRoot%\system32\mswsock.dll
    MSAFD NetBIOS [\Device\NetBT_Tcpip_{CA2BB869-E7F7-405E-9266-0E2BDF8F748D}] DATAGRAM 1 : 2 : 2 : %SystemRoot%\system32\mswsock.dll
    MSAFD NetBIOS [\Device\NetBT_Tcpip_{2FAAFBE0-C5F0-46B6-A02A-3B87402292F7}] SEQPACKET 2 : 2 : 5 : %SystemRoot%\system32\mswsock.dll
    MSAFD NetBIOS [\Device\NetBT_Tcpip_{2FAAFBE0-C5F0-46B6-A02A-3B87402292F7}] DATAGRAM 2 : 2 : 2 : %SystemRoot%\system32\mswsock.dll
    Adapter Vendor ID 0x1002
    Adapter Device ID 0x9611
    Total Virtual Memory 2147352576
    Available Virtual Memory 1770160128
    System Memory Use Percentage 29
    Available Page File 4371468288
    Available Physical Memory 2476265472
    Bugzilla - Report this bug in Firefox, Core, Plug-Ins, or Toolkit
    Related Bugs
    783369 NEW --- Norton Confidential 2012/2013 crashes (couictlr.dll, coffplgn.dll)
    Crashing Thread
    Frame Module Signature Source
    0 @0x54d7048
    1 coFFPlgn.dll coFFPlgn.dll@0x3714
    2 couictlr.dll couictlr.dll@0x28355
    3 couictlr.dll couictlr.dll@0x3dcec
    4 couictlr.dll couictlr.dll@0x35609
    5 couictlr.dll couictlr.dll@0xbe7f
    6 oleaut32.dll APP_DATA::AllocCachedMem
    7 couictlr.dll couictlr.dll@0x6106b
    8 coFFPlgn.dll coFFPlgn.dll@0x590e7
    9 coFFPlgn.dll coFFPlgn.dll@0xa812b
    10 coFFPlgn.dll coFFPlgn.dll@0x51748
    11 coFFPlgn.dll coFFPlgn.dll@0x2bec
    12 coFFPlgn.dll coFFPlgn.dll@0x4ef66
    13 coFFPlgn.dll coFFPlgn.dll@0xb335b
    14 coFFPlgn.dll coFFPlgn.dll@0xc753f
    15 coFFPlgn.dll coFFPlgn.dll@0x3c5a3
    16 coFFPlgn.dll coFFPlgn.dll@0xa7b00
    17 coFFPlgn.dll coFFPlgn.dll@0xa522
    18 coFFPlgn.dll coFFPlgn.dll@0xc6fe
    19 coFFPlgn.dll coFFPlgn.dll@0x2a908
    20 coFFPlgn.dll coFFPlgn.dll@0xc8813
    21 coFFPlgn.dll coFFPlgn.dll@0xa9e51
    22 coFFPlgn.dll coFFPlgn.dll@0x2a346
    23 coFFPlgn.dll coFFPlgn.dll@0xaa35b
    24 xul.dll nsObserverService::NotifyObservers xpcom/ds/nsObserverService.cpp:149
    25 xul.dll nsCOMPtr_base::assign_from_qi obj-firefox/xpcom/build/nsCOMPtr.cpp:56
    26 xul.dll xul.dll@0xebfe67
    27 @0x12c713
    28 xul.dll nsWindowWatcher::RemoveWindow embedding/components/windowwatcher/src/nsWindowWatcher.cpp:1221
    29 xul.dll nsAppShellService::UnregisterTopLevelWindow xpfe/appshell/src/nsAppShellService.cpp:525
    30 xul.dll nsTimerImpl::Release xpcom/threads/nsTimerImpl.cpp:138
    31 xul.dll nsWebShellWindow::Destroy xpfe/appshell/src/nsWebShellWindow.cpp:758
    Show/hide other threads

  • I have repeatibly loaded Adobe Acrobat Reader but the Plugin Check gives me Adobe Acrobat Adobe PDF Plug-In For Firefox and Netscape 10.0.1 Outdated Version Update. While the plug in check is important it is quite bothersome at present. Please help.

    EVERY TIME the browser boots it kicks off the plug in check. I understand that this is important but it is currently a pain. Once I update Adobe Acrobat Plug in the browser does not recognize that the plug in has been installed and keeps coming up and up an up an up.
    This is the message I get.
    Adobe Acrobat
    Adobe PDF Plug-In For Firefox and Netscape 10.0.1 Outdated Version Update
    Please get back with me regarding a fix.
    Jeff

    [discussion moved to Creating, Editing & Exporting PDFs forum]

  • Different result in IE and Netscape

    Hi,
    I am using JDeveloper 3.2 to create my JSP and BC4J. I deployed them into my web server, but I got different result in IE and Netscape. I amd using web bean method to create my JSP.
    When I view my JSP from IE, everything looks as expected. But when I view them from Netscape, some pages did not display correctly.
    1. For the JSTab, the Netscape displays different color(blue) in the help text area, but the IE display gray color.
    2. If I have a table with many columns (e.g.25) to be displayed and my browser is too small to display them all, the Netscape displays JSRowSetBrowser incorrectly. The top right corner, and bottom right corner did not display at the last column side, instead it displaying in the middle of my JSRowSetBrowser. It also suppressed my one button in the same page. IE displays them all properly.
    How do I fix this problem? Please help.
    I am using webapp/cabo/images/cabo_styles.css as my style sheet.
    Lisa
    null

    I'm not an expert on Netscape, but I would guess that you're problems are simply caused by the differences between IE and NS.
    It is very difficult to write (functional) JS code that works perfectly between the two of them and I bet that JSTab isn't written in such a way.
    You may want to try using your own tab object, we do this by creating a page for each tab and making the actual tabs be links to each page. This avoids the use of JavaScript.
    Good Luck!!!

  • DW CS3 Display problem in Firefox and Netscape

    I have a page created using css. I have a div wrapper set at
    100% for height and width and it has a background image. It
    displays correctly in IE, but in Firefox and Netscape it has a
    white bar along the top. I don't have this online yet, so I know it
    is difficult without seeing it or seeing the css, but any ideas are
    welcome. If there is something, aside from the site being online
    that would help to identify the issue let me know. As always, I
    appreciate any and all ideas.
    Thank you.

    100% height isn't going to work, you know?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Nancy O" <[email protected]> wrote in message
    news:gohub8$1ej$[email protected]..
    > Use these on-line code validation checkers:
    >
    > HTML -
    http://validator.w3.org/
    > CSS -
    http://jigsaw.w3.org/css-validator/
    >
    > I don't know how you are applying max-height or to what,
    if any, benefit
    > so
    > I can't comment. But min/max height/width are not
    recognized in pre-IE7
    > browsers.
    >
    http://www.quirksmode.org/css/width.html
    >
    >
    > --
    > Nancy O.
    > Alt-Web Design & Publishing
    > www.alt-web.com
    >
    >

  • JRE1.3.1_02 and Netscape Browser

    We are working with the Applet using Swing Components. Java Run time Environment version is 1.3.1 installed in Red Hat Linux .
    We installed Java plugin JRE1.3.1_02 Windows version.
    The applets are working fine with Internet Explorer 5.0. But with Netscape4.7 it is displaying the error
    error: NoClassDefFoundError : javax/swing/JApplet
    Applets with awt components are working fine.
    What could be the reason?Please help.

    It's working fine with both IE5.0 and Netscape 4.7 browsers once HTMLConverter1.3 was used for converting the HTML file containing the applet.

  • Equivalent for objectGUID in OpenLDAP and Netscape 4.1

    Hi ,
    Is there anything equivalent to objectGUID in AD in OpenLDAP and Netscape 4.1
    Please help.

    http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/J2SE

  • My homepage is gigantic and so are all the sites I goto. I need to shrink it to normal size.

    My screen view is very large and there is no option to click on to change the view - like internet explorer has. Every site I go to has very large font and I need to correct this. This only happens when I go on through Firefox. Thanks

    CTRL+0 (<--that is a zero) will reset your zoom level on affected pages. Firefox remembers the zoom level you last used on a page.
    Built-in Zoom functions:
    *http://support.mozilla.com/en-US/kb/Page+Zoom
    *http://support.mozilla.com/en-US/kb/Text+Zoom
    Zoom Add-on:
    *'''''Default FullZoom Level''''': https://addons.mozilla.org/en-US/firefox/addon/default-fullzoom-level/
    *'''''NoSquint''''': https://addons.mozilla.org/en-US/firefox/addon/nosquint/
    **More info on NoSquint: http://urandom.ca/nosquint/
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins. Check your plug-ins and update as necessary:
    *Plug-in check --> http://www.mozilla.org/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.org/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *'''''Adobe PDF Plug-In For Firefox and Netscape''''': [https://support.mozilla.org/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *'''''Shockwave Flash''''' (Adobe Flash or Flash): [https://support.mozilla.org/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.org/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • Javascript working on IE and Netscape

    Hi gurus,
    Do you have a sample javascript code on which the app works on IE and Netscape ? Because we do have here an applet that shows fine on IE but on Netscape it looks very small, so we examined that might be the cause is the javascript we coded in getting the IE's length for the resizing which we think this will not work on Netcape. Any hint or ideas to share?
    Would be very glad any response from you,
    Rema

    that's just a guess...
    try:
    <applet name="myApplet" ...etc...>...</applet>
    <script>
    myApplet.width="200";
    myApplet.height="200";
    </script>This might be wrong. You may have to use document.getElementById("myApplet")[0] instead... and of course use id="..." rather than name="..." in the applet tag.
    At least it gives you the idea i hope.
    Cheers,
    Alex

  • An error occured with Labview 5.1.1 and Netscape 7.1

    After upgrading Netscape from version 7.02 to 7.1 i receive miscellaneous errors after some time while executing an program which sends and receives data via tcp/ip. If an error has occured, it is necessary to restart Labview and Netscape. Then it works some hours before crashing again. With Netscape 7.02 everything worked fine.
    Any solutions?

    Normaly, Netscape (only the Messenger) is running all the time. And some time the Labview-program which uses tcp/ip is running at the same time. This does not make any trouble. But if I am using the Netscape Browser too at the same time, then miscellaneous errors occur and I must restart the whole Netscape suite. If I don't do this, the Labview program always reports an error.
    Little time before Labview reports an error, the Browser view in Netscape is corrupted (some times arabien characters).
    I am using Windows 98SE. With Netscape 7.02 everything worked fine, the error occured after upgrading to version 7.1.
    I haven't looked at the resources yet, but I will do.
    EPH

  • How to configure Java Plug-In in Mozilla 1.4 and Netscape 7 on Red Hat 9?

    How to configure the java plug-in (Java 2 v1.4.2) to work on Mozilla 1.4 and Netscape 7 on Red Hat 9?
    Thanks in advance.

    I have redhat 9 and mozilla 1.2. Installed java sdk 1.4.2 which comes with JRE 1.4.2. Had no problems/errors while installing. The about plugin page doesnot indicate that the plugin is installed. and i get the pop-up saying application/x-java-vm is not available while browsing. Any help here please ??
    Thanks

  • WebUi and Netscape 6.2.3 bug

    WebUI doesnot work well with Netscape 6.2.3
    Does anyone know if Oracle have a patch ?
    thanks in advance
    regards,
    tvh

    The first problem is when I login I see : Please wait a moment. Loading ... and nothing else happens.
    The second : The tools bar (for changing ACL , ...) go to the bottom of screen and displayed badly.
    No problem with internet Explorer 6 and Netscape 4.7. My Ifs version is 9.0.1

Maybe you are looking for

  • K7n2g-ilsr IGP graphics interference

    When using the IGP, I see moving diagonal lines on my desktop. I don't think it's a memory compatibility issue since I don't experience any reboots, lock-ups, crashes, etc. I suspect it's the PSU but I need a second opinion on this. I already experim

  • Illustrator CC Crashes when I try and change the font

    Help! I can not get Illustrator to work - I reinstalled my wacom driver and have troubleshooted with Wacom. This seems to be an issue with Illustrator. When I open a doc or create a new doc the minute I try and change the font it crashes.

  • Can I have two iPads, different models, under my account?

    I have two different iPad models. Can I register them both under my account?

  • How to read values from Property file into BPEL process local variable?

    I would like to use a Property file with some parameters e.g. <myparm1>12345</myparm1> How can I read from a BPEL process such a Property file and assign it into e.g. local variable "intparm1"? Where (in which directory) should I put this XML Propert

  • U100 Key Swap BIOS Request

    I tried following instructions, I searched for an hour and could find no links, went to BIOS section and followed link to U100, instructions said to post request for download link, but the U100 thread was closed on 25 March. May I please have a link