Intercepting web requests in JEditorPane

How do I get the information about what is send to server when I click on a web link or a form submit button of a url loaded to a JEditorPane? I guess what I need is somehow to see what URLConnection object writes to server when URL openConnection() method is called. Any suggestions are very appreciated.
At the moment I can't even figure out how to intercept clicks on a form submit button. Adding HyperlinkListener clearly does not work and I dont see any other listeners for JEditorPane. The ultimate task is to see what is being set when a form is submitted.
Edited by: javiator on Dec 31, 2009 2:19 AM
Edited by: javiator on Dec 31, 2009 2:29 AM

Thank's for the advice. It actually looks better than the other sniffers I've downloaded. I've played around and here are some conclusions I've come to about JEditorPane. They may be correct or not. Thus any comments are welcome.
1. JEditorPane does not support directly form functionality. Therefore, working with forms is actually painful. But at least it responds to the clicks on submit button. The two problems I have to deal now are i. catch the click on the button event and ii. figure out when the new document has loaded. The solution I come up with by now is to catch the click event by implementing the PropertyChangeListener interface and then start a separate thread in which I just wait until JEditorPane text field contains a specific tag. Whenever that happens I consider that the page has loaded. That looks kinda lame but at the moment I don't see any other alternatives. Below is the ssce of the browser
package jlab.ssce.swing;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLConnection;
import javax.swing.JEditorPane;
import javax.swing.JFrame;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTextField;
import javax.swing.event.HyperlinkEvent;
import javax.swing.event.HyperlinkListener;
import javax.swing.text.Document;
import javax.swing.text.html.HTMLDocument;
import javax.swing.text.html.HTMLEditorKit;
public class Browser extends JFrame implements HyperlinkListener, PropertyChangeListener {
     private HTMLDocumentLoader htmlDocumentLoader;
     private boolean hyperLinkEvent = false;
     private String isLoadedTag = "<div";
     private int maxLoadingTime = 1;
     public Browser() {
          htmlDocumentLoader = new HTMLDocumentLoader();
          setBrowser();
     public void setBrowser() {
          webPanel = new JPanel(new GridBagLayout());
          location = new JTextField();
          webPanel.add(location, new GridBagConstraints(0, 0, 1, 1, 100.0, 0.0
                 ,GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 5, 5), 0, 0));
          location.addKeyListener(new KeyAdapter() {
            public void keyReleased(KeyEvent e){
                if(e.getKeyCode() == KeyEvent.VK_ENTER) {                     
                    actionGo();
     display_pane = new JEditorPane();
     display_pane.setContentType("text/html");
        display_pane.setEditable(false);
        display_pane.addHyperlinkListener(this);
        display_pane.addPropertyChangeListener(this);
        webPanel.add(new JScrollPane(display_pane), new GridBagConstraints(0, 1, 1, 1, 100.0, 100.0
                 ,GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(5, 5, 5, 5), 0, 0));
        getContentPane().add(webPanel);
        setSize(500, 400);
        setTitle("Browser");
        setLocationRelativeTo(null);
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        setVisible(true);
     @Override
     public void hyperlinkUpdate(HyperlinkEvent e) {
          HyperlinkEvent.EventType etype = e.getEventType();
        if (etype == HyperlinkEvent.EventType.ACTIVATED) {
            hyperLinkEvent = true;
             loadHtmlDocument(e.getURL());
             hyperLinkEvent = false;
     @Override
     public void propertyChange(PropertyChangeEvent e) {
          try {
               if(!hyperLinkEvent) {
                    HTMLDocument htmlDoc = (HTMLDocument) e.getNewValue();
                    URL url = (URL) htmlDoc.getDocumentProperties().get("stream");
                    Thread loadingThread = new Thread(new LoaderClass(url));
                    loadingThread.start();
          } catch(Exception ex) {
     private void actionGo() {
        URL url;
          try {
               url = getProperUrl(location.getText());
               if(url == null) {
                    JOptionPane.showMessageDialog(null, "url " + location.getText() + " is not valid");
               } else {
                    hyperLinkEvent = true;
                    loadHtmlDocument(url);
                    hyperLinkEvent = false;
          } catch (Exception e) {
               e.printStackTrace();
     private URL getProperUrl(String url) {
          if(url.startsWith("http://") || url.startsWith("file:/")) {
               try {
                    return new URL(url);
               } catch (MalformedURLException e) {
                    return null;
          } else {
               return getClass().getClassLoader().getResource(url);
     private void loadHtmlDocument(URL url) {
          try {
               HTMLDocument htmlDoc = htmlDocumentLoader.loadDocument(url);
               location.setText(url.toString());
               display_pane.setDocument(htmlDoc);
          } catch (Exception e) {
               e.printStackTrace();
     private class LoaderClass implements Runnable {
          private URL url;
          public LoaderClass(URL url) {
               this.url = url;
          @Override
          public void run() {
               int loadingTime = 0;
               while(loadingTime < maxLoadingTime && !display_pane.getText().contains(isLoadedTag)) {
                    try {
                         Thread.sleep(1000);
                    } catch (InterruptedException e) {
                         e.printStackTrace();
                    loadingTime += 1;
               location.setText(url.toString());
     private static class HTMLDocumentLoader {          
          public HTMLDocument loadDocument(HTMLDocument doc, URL url, String charSet)
               throws IOException {
               doc.putProperty(Document.StreamDescriptionProperty, url);
               InputStream in = null;
               boolean ignoreCharSet = true;
               for (;;) {
                    try {
                         doc.remove(0, doc.getLength());
                         URLConnection urlc = url.openConnection();
                         in = urlc.getInputStream();
                         Reader reader = (charSet == null) ? new InputStreamReader(in)
                              : new InputStreamReader(in, charSet);
                         HTMLEditorKit.Parser parser = getParser();
                         HTMLEditorKit.ParserCallback htmlReader = getParserCallback(doc);
                         parser.parse(reader, htmlReader, ignoreCharSet);
                         htmlReader.flush();
                         break;
                    } catch (Exception ex) {
               return doc;
          public HTMLDocument loadDocument(URL url) throws IOException {
               return loadDocument((HTMLDocument) kit.createDefaultDocument(), url, null);
          public synchronized HTMLEditorKit.Parser getParser() {
               if (parser == null) {
                    try {
                         Class c = Class.forName("javax.swing.text.html.parser.ParserDelegator");
                         parser = (HTMLEditorKit.Parser) c.newInstance();
                    } catch (Throwable e) {
               return parser;
          public synchronized HTMLEditorKit.ParserCallback getParserCallback(
                    HTMLDocument doc) {
               return doc.getReader(0);
          protected static HTMLEditorKit kit;
          protected static HTMLEditorKit.Parser parser;
          static {
               kit = new HTMLEditorKit();
     public static void main(String[] args) {
          new Browser();
     JPanel
          webPanel;
     JEditorPane
          display_pane;
     JTextField 
          location;
}

Similar Messages

  • How to intercept Http requests by writing an App Server plugin?

    Hi all,
    My requirement of "Application Server plugin/filter" is to intercept all Httprequests coming to an
    Application Server instance (and not webserver), get the related information from the request, do whatever
    i want to do and then forward the request based on the info available in the request header to any
    webapplication or EAR deployed in the application server.
    I do not want to implement as a Servlet filter in a webapp. which is intrusive to the webapp.
    as we are aware, Servlet Filters can be attached to resources in a Web application and are configured in the
    web.xml file.
    I have tried out my requirements in Tomcat as follows, it works:
    In Tomcat, Valves are attached to a Tomcat container and are configured using a <Valve> element in the
    server.xml file.
    We have modified RequestDumperValve Filter ( source available) class extending Valve to intercept Http
    requests.
    I perform whatever i want to do in this custom Filter and then able to forward to the next valve in the valve
    chain of Tomcat container. I have Configured this valve in server.xml and it works fine.
    My queries are:
    1. Can i do it the same thing in WebLogic application server or other IBM Websphere application server ?
    2. Do the commercial appservers expose their APIs ( e.g. like Valve or Filter in Tomcat ) such that i can
    implement an application server plugin ?
    i.e. Are there any such Filter classes available which will intercept the Http request processing pipleine
    in application server ( precisely, its web container )
    If so, can you pls provide pointers for WebLogic application server and IBM Webpshere application server
    3. Is this against J2ee specs ?
    Appreciate if you can provide me any clues, tips, solutions, pointers regarding this problem.
    thanks and regards
    rajesh

    Try proxyHandler property and implement a custom ProxyHandler.
    ex:
    <property name="authPassthroughEnabled" value="true"/>
    <property name="proxyHandler" value="com.sun.enterprise.web.ProxyHandlerImpl"/>
    null

  • How to Intercept Http requests by Application Server plugin ?

    Hi all,
    My requirement of "Application Server plugin/filter" is to intercept all Httprequests coming to an
    Application Server instance (and not webserver), get the related information from the request, do whatever
    i want to do and then forward the request based on the info available in the request header to any webapplication or EAR deployed in the application server.
    I do not want to implement as a Servlet filter in a webapp. which is intrusive to the webapp.
    as we are aware, Servlet Filters can be attached to resources in a Web application and are configured in the web.xml file.
    I have tried out my requirements in Tomcat as follows, it works:
    In Tomcat, Valves are attached to a Tomcat container and are configured using a <Valve> element in the server.xml file.
    We have modified RequestDumperValve Filter ( source available) class extending Valve to intercept Http requests.
    I perform whatever i want to do in this custom Filter and then able to forward to the next valve in the valve chain of Tomcat container. I have Configured this valve in server.xml and it works fine.
    My queries are:
    1. Can i do it the same thing in SunONe application server or other IBM Websphere application server ?
    2. Do the commercial appservers expose their APIs ( e.g. like Valve in Tomcat ) such that i can implement an application server plugin ?
    i.e. Are there any such Filter classes available which will intercept the Http request processing pipleine
    in application server ( precisely, its web container )
    If so, can you pls provide pointers for SunONE application server and IBM Webpshere application server
    3. Is this against J2ee specs ?
    Appreciate if you can provide me any clues, tips, solutions, pointers regarding this problem.
    thanks and regards
    rajesh

    Thanks for the info, vbk.
    Actually we are looking filers not at the servlet level in a web application.
    We are looking ways for the filter to work at web container level across different web applications... That is whatever comes to the application server, should hit at this filter ,then we perform some processing, analysis and then continue for the correspnding web application
    thanks
    rajesh

  • How to have multi select dropdowns for web request and adobe forms

    Hi All,
    I am working on interactive forms for CRM 7.0 using web request and ZCI layout.
    When I say web request we define the fields required for the form in CRM that becomes the context for WDA and passed onto Adobe form.
    This web request is a flat structure which mean if I have a node and attributes with in that you cant have multiple values to wards this node as in WDA.
    Now My query:
      I have a field called "xyz" since web request is a flat structure i just defined it as a string.
      In WDA I made it a enumrated field and added key value pairs to it.
      In Adobe form I binded this field to a WD native enum dropdown list every thing is fine untill here.
      Now in the form I need this as a multiple select, so i changed the dropdown field to list box it works.
      The form has to be submitted as a draft version when did so, it will not execute any APIs but saves the data to the web request.
      When the same form is opened for the next time, with the data in web request it should reopen this field with the multiple seleced values high lighted.
      since the field xyz is a single filed of string, how can i maintain multiple values in that...?
      if there is a form status auto save function in Adobe form this might solve a bit but not sure when the form is opened 2nd time from web reqest view does it consider it as a new one or open the same form...?
    I have such dropdown fields and problems including ones with depenedt values on one another.
    I tried my best to explain the problem, if somebody can help me with this its much appriciated.
    Note: Since this is dependent on CRM web request I am posting the same query in that block also apologies if this mean a duplicacy.
    Thanks & Regards,
    Sai

    I got the solution and problem is solved.
    Iterating & processing a enumrated dropdown is like any other dropdown /list box in adobe forms.
    Regards,
    Sai Krishna

  • Problem during view Adobe Form in Web Request

    Hi All,
    I am facing problem while viewing the adobe form inside the Web Request form.
    Let me describe the issue clearly.
    I need to have a table in Adobe Form.So i created one table type and bind it to the table structure created, in Adobe Form.
    Then i uploaded the form as web request successfully.
    Now when i m trying to view the form from web ui, its unable to assign child node data at runtime.so dump is coming.
    Can anyone show light on this....i have tried all the possibilities.
    Unfortunately there is no standrad scenario available for reference.
    Regards,

    Hi Satish,
    Thanks for your reply.But this is not my requirement.
    If you will go to tcode CRM_UI and log in using business role CRMGRMPRGMAN, then go to Application and open one application.Here there is one assignment block called 'Application Form'. Here i have uploaded my Adobe Form as web request.
    This is working fine when i have simple linear form.
    But when i am using table inside the form and doing binding for it, Application is getting created with that form but while openning it here in the assignment block, dump is coming as below.Its not able to assign the child node.
    The ABAP call stack was:
    Method: NODE_ELEM_2_STRUCT of program CL_WD_ADOBE_SERVICES==========CP
    Method: NODE_2_DDIC of program CL_WD_ADOBE_SERVICES==========CP
    Method: DATASOURCE_2_FM_PARAMS of program CL_WD_ADOBE_SERVICES==========CP
    Method: CREATE_PDF_DDIC of program CL_WD_ADOBE_SERVICES==========CP
    Method: CREATE_PDF of program CL_WD_ADOBE_SERVICES==========CP
    Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/CADOBE==================CP
    Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/CADOBE==================CP
    Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/C8STANDARD==============CP
    Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/C8STANDARD==============CP
    Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/C8STANDARD==============CP
    Regards...

  • How to change a web-request

    Hi everybody
    I have created a web-request. I can create a web-request, but I cannot change it. Belong to the documentation, when I change a web-request, then the change will be made in a new version.
    Here is the link to the documentation:
    [http://help.sap.com/saphelp_crm60/helpdata/en/46/12cdc93b75424fe10000000a1553f6/content.htm]
    For creating the web-request I call this url (the hostname is imaginary):
    https://+hostname.ch:44306+/sap/bc/bsp/sap/ZWEB_REQUEST/start_exit?uws_application=CRM_ORDER&*uws_mode=CREATE*&uws_service_id=Z000000001&sap-client=090&sap-language=DE&WFF_VIEW=Z00001'.
    For changing the web-request I have tried this urls:
    [without parameter uws_version, mode:CHANGE]
    https://+hostname.ch:44306+/sap/bc/bsp/sap/ZWEB_REQUEST/start_exit?uws_application=CRM_ORDER&*uws_mode=CHANGE*&uws_service_id=Z000000001&uws_guid=4C23C343380B4542E100000083660E5E&WFF_VIEW=Z00001
    -> The webrequest appears in change-mode, but when I save it, it dumps.
    [with parameter uws_version, mode:CHANGE]
    https://+hostname.ch:44306+/sap/bc/bsp/sap/ZWEB_REQUEST/start_exit?uws_application=CRM_ORDER&*uws_mode=CHANGE*&uws_service_id=Z000000001&uws_guid=4C23C343380B4542E100000083660E5E&WFF_VIEW=Z00001&*uws_version=0000000001*
    -> The webrequest appears in change-mode, but when I save it, it dumps.
    [with parameter uws_version, , mode:CREATE]
    https://+hostname.ch:44306+/sap/bc/bsp/sap/ZWEB_REQUEST/start_exit?uws_application=CRM_ORDER&*uws_mode=CHANGE*&uws_service_id=Z000000001&uws_guid=4C23C343380B4542E100000083660E5E&WFF_VIEW=Z00001&*uws_version=0000000002*
    -> The webrequest appears in create-mode, the data of the previous version doesn't appear (Probably I could fill it through the bapi or directly through the bsp). When I save it, it dumps.
    [without parameter uws_version, , mode:CREATE]
    https://+hostname.ch:44306+/sap/bc/bsp/sap/ZWEB_REQUEST/start_exit?uws_application=CRM_ORDER&*uws_mode=CHANGE*&uws_service_id=Z000000001&uws_guid=4C23C343380B4542E100000083660E5E&WFF_VIEW=Z00001&
    -> The webrequest appears in create-mode, the data of the previous version doesn't appear (Probably I could fill it through the bapi or directly through the bsp). When I save it, I get a blank screen. It doesn't dump, but it's not saved.
    Can anybody help to find out the right way, how to change a web-request?
    Thanks in advance.

    Hi,
    the WDJ Application is DC then follow the below document to import the application into the NWDS.
    Importing the local Web Dynpro DCs into the SAP NetWeaver Developer Studio
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0e4528f-c471-2910-66a0-dd459f975dc2
    after importing the application into the nwds.
    navigate to view where the push button present.
    select the pushbutton properties and edit the text property.
    then the value changes.
    deploy the application.
    Regards,
    ramesh

  • N unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    some one can help me please
    i have no idea what i must to do.
    an unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    The Exception Handler gave all the info that you need. No need to print the whole stack trace.
    The exception handler says
    Exception Details: java.lang.IllegalArgumentException
    TABLE1.NAME
    Look in the session bean (assuming that is where your underlying rowset is). Look in the _init() method for statements similar to the following:
    personRowSet.setCommand("SELECT * FROM TRAVEL.PERSON");
    personRowSet.setTableName("PERSON");
    What do you have?

  • Ng An exception occurred during the execution of the current web request.

    An exception occurred during the execution of the current web request. Please contact the administrator to review the stack trace in the event log for more information about the error.
    this error occured while making changes to the mapings, there was "&" in the source account and some test also loaded in the text,
    the versio n of FDM is 11.1.2.0
    I understand that because of loading & in the source account it is causing this issue,
    How to delete this invalid char from database, which table and column will contain this information, Please advise me how to proceed on this.
    thanks,
    msr

    This TSQL will do the trick. It's not the cleanest as I just wrote it, but it will dynamically remove the & from the data mapping tables and replace any invalid entries with the phrase INVALID.
    --Remove && from Data Maps
    --Charles Beyer ([email protected])
    --NOTES : 'Hackish' version for demonstration purposes
    -- Declare working variables
    DECLARE @strTableName varchar(255)
    DECLARE @strSql Nvarchar(500)
    -- Create cursor to iterate through each Data Map table.  Look in special table sysobjects to get a list of the tables.
    DECLARE crsDataMapTables Cursor For
       select name
          from sysobjects
          where name like 'tdatamap%'
             and xtype = 'U'
    Open crsDataMapTables
    Fetch Next from crsDataMapTables Into @strTableName  --Get the name of the first Data Map table and place it into working variable
    While @@FETCH_STATUS = 0 Begin  --While records (table names) exist, execute loop logic
    print 'Cleaning table : ' + @strTableName
      --Multi-pass updates to check the SrcKey, TargKey, and WhereClauseValue fields for the invalid character
      --Dynamic SQL is used below so that we can use the Table Name from the cursor..
      Set @strSQL = 'UPDATE ' + @strTableName + ' set SrcKey = ''Invalid'' where SrcKey like (''%&%'')'
      exec (@strSQL)
      Set @strSQL = 'UPDATE ' + @strTableName + ' set TargKey = ''Invalid'' where TargKey like (''%&%'')'
      exec (@strSQL)
      Set @strSQL = 'UPDATE ' + @strTableName + ' set WhereClauseValue = ''Invalid'' where WhereClauseValue like (''%&%'')'
      exec (@strSQL)
      Fetch Next from crsDataMapTables Into @strTableName
    End
    --Dispose of Cursor as we are done.
    Close crsDataMapTables
    Deallocate crsDataMapTables
     

  • Enhancing Web request page in Service Order in web UI

    Hi,
    We are upgrading from CRM 4 to 7 and we would like to display web request page in / from service order page. As per standard web Ui The web request & service order displayed separately, I have enhaced the view but still I'm unable to see the web request (Component:webreq) in Service order ( BT116_SERVOH). Can please gude me step by step how to enhance this in CRM 7 web UI
    Thanks & Regards,
    CHANDRA

    Hi Deepak,
    I think you may not be able to get Subject Profile field in Service Order. We had a similar problem in case of Activity Transaction. I guess this may be a bug or maybe you may need to use Categorization Schema for the purpose. Need to do more research in this area.
    Regards,
    Deepak

  • Filter not intercepting a request correctly?

    I setup a filter in front of a servlet.
    The servlet seems to load before the filter then I see the filter.
    I don't understand why the request actually hits the resource requested before the filter kicks in.
    I thought filters were supposed to intercept a request do something then use the
    doChain()?
    Thanks.

    From my understanding of filters (which is clearly missing something or maybe request/response).
    I thought the filter intercepts the request. I just didn't think that the resource would load.
    Can you elucidate or provide a resource to some details on filters? I already read the Java Filters tutorial.
    Thanks.

  • Dropdown values in Web request and Adobe form.

    Hi All,
    I am a Abap dynpro & adobe forms developer.
    I have to work on a CRM project to generate Adobe forms using Web request.
    I could create forms submit data etc.
    Now came up with a requirement where I need to have dropdown in the form the source being comming from SAP.
    Can somebody help me how to create dropdowns and populate values in Adobe from from Web request.
    For your info : I have BADI implementations on the web request. in that On create method I need to populate date for this web request. so the query nails down to what should be the web request structure for dropdowns and how to set values to them.
    Thanks in advance,
    Sai krishna.

    The issue is solved.
    1) making the field as enumrated list in abap web dynpro.
    2) Adding the required enumrated list to this field.
    3) binding this field to a web dynpro native control "enumrated dropdown list".

  • Web request for complaint transaction

    i have created a web request for complaint transaction .
    on submit of the request on BSP page it gives me the activity no( complaint ).
    now on viewing this activity in crmd_order transaction it give me an error
    "Internal number of current transaction could not be determined "
    and comes out of crmd_order
    Please let me know if you have any idea about it
    Thanks & Regards
    Manish

    HI,
    When u add a new field through EEWB wizard, that field add in related table. Suppose u r adding a field for Complaint , for that u have to choose Business object for complaint.
    After this step when u run wizard, not only this field will add in Complaint table but wizard also generate BADI, FM,some structures and data element and also some classes.
    U can find all these related generated methods , structure etc from General Data of Task.
    U dont need to create any Ztable, wizard take care itseld all data storage and handling.
    Regards
    Gaurav

  • BSP web requests

    Hi BSP Exparts,
    Could any one tell me how web requests works in BSP?
    How to create web requests?
    Regards,
    Krishna

    Hi,
    In spro u can able to create webrequest as ooption as Create webrequest  .The fields you assign for every bsp appliocationshould contain webrequest such that
    thevalues will be triggered.

  • Outbound web request to internally hosted (natted server)

    Hi, I've got an issue with hairpining traffic on the ASA, it's a bit different to the usual VPN in/out query, not sure of the best way to approach this:
    [example names/IPs used]
    a)Web server hosted in dmz. External DNS resolves www.example.com to 8.8.8.10, ASA NATs 8.8.8.10 (outside) to 192.168.1.10 (DMZ)
    b)Outbound web request (from internal network client) 10.0.0.1 is natted to source 8.8.8.9 (outside) - doesn't use a proxy and uses external DNS.
    Web browsing to externally hosted sites works fine (as you'd expect), inbound web requests from foreign addresses works fine. When internal client browses to www.example.com, request fails.
    I assume this is because the outbound request is Natted to originate from 8.8.8.9 and destined for 8.8.8.10 which is on the same interface on the ASA.
    As the client is not using a proxy I cannot manipulate or redirect the request at this level.
    What would be the best way to address this issue? Would I create some kind of NAT exception/configuration like :
    source=10.0.0.x destination=8.8.8.10 NAT to source=10.0.0.x destination=192.168.1.10? meaning I would have multiple NAT rules (for multiple internally hosted servers) or is there a better way of doing this (given I am working with the outside interface which will include public traffic)? 

    So inside hosts are trying to access www.example.com using an external DNS.  is the 8.8.8.10 address being fully NATed to the 192.168.1.10 address or is PAT being used (only specific ports being NATed).  the reason I ask is that an option would be to use DNS doctoring but this is not supported when using PAT.  this is done by adding the dns keyword at the end of the NAT statement.
    What version ASA are you running?
    Another option would be to NAT the 8.8.8.10 to 192.168.1.10 from the inside to the DMZ.  NAT exemption will not work as that just prevents NATing from taking place.  You would need to NAT traffic destined for 8.8.8.10 on the inside interface to the DMZ.
    Both options are good options, but if possible I would go with the first option.

  • HTTP web request error (Web exception for remote server)

    To whom it may concern,
    I have recently applied a few patches for my client's server for IE9 but then one application starts to malfunction right after upgrade return successful. The program affected is CyberTech player which make use of Microsoft Silverlight. 
    My client currently uses Wind 2008 R2 x64, patches applied are below:
    MS13-009-IE9-Windows6.1-KB2792100-x64
    MS13-010_IE9-Windows6.1-KB2797052-x64-sp1
    MS13-021_IE9-Windows6.1-KB2809289-x64
    MS13-028IE9-Windows6.1-KB2817183-x64
    MS13-037_IE9-Windows6.1-KB2829530-x64
    MS13-038_IE9-Windows6.1-KB2847204-x64
    MS13-047_IE9-Windows6.1-KB2838727-x64
    MS13-069_IE9-Windows6.1-KB2870699-x64
    Please let me now if any further information is needed.
    Your prompt response will be much appreciated.

    Hi,
    Based on your description, I would like to suggest you try to uninstall and reinstall the latest version of Microsoft Silverlight.
    http://www.microsoft.com/silverlight/
    I also would like to suggest you update the CyberTech player so that it can be compatible with this update.
    Meanwhile, the http web request error was caused by IE itself:
    1. Improperly install or configure updates
    2. Security website authentications issue
    3. IE settings
    You may try the following steps to check the issue:
    1. Run IE with no add-ons. Click Start -> All Programs -> Accessories -> System Tools -> Internet Explorer (with no add-ons). 
    2. Try to use compatibility mode (go to tools --> Compatibility View Settings) to check the issue.
    For further research, it would be kind of you to capture a screenshot of the error page.
    Hope it helps.
    Regards,
    Blair Deng
    Blair Deng
    TechNet Community Support

Maybe you are looking for

  • Error while adding file share for File Server role

    I'm getting this error when trying to add a file share on a Server 2012 R2 failover cluster: "Unable to retrieve all data needed to run the wizard. Error details: Cannot retrieve information from server. Error occurred during enumeration of SMB share

  • Premiere CC is crashing on start up! - Still

    Hello, I know this has been asked a million times, but I still can't find a solution. When I attempt to open Adobe Premiere on CC, it loads a bit and then says "Adobe Premiere Pro CC has stopped working" and "Windows is checking for a solution to the

  • Display problem, charging Problem

    DISPLAY PROBLEM & CHARGING PROBLEM ACER LIQUID E700, INVOICE NO.S8001A/14-15/6959 INVOICE DT:02-02-2015

  • ORA-00957 Duplicate Column Name Materialized View  ( UPDATED: Not answered)

    Hello all.  I am getting this error when trying to create a Materialized View.  I have many other MV I created without problem, but I cannot find the catch up here, can anyone help?.  I cannot find any duplicates. The only duplicate I though was the

  • Userexit / BADI

    Hi Experts, My requirement is- I have HR ESS in place. Whenever an user places a request for leave, mail goes to SAP Inbox. I need to send a copy to external mail. I got the code somehow. Can anyone suggest Please tell me the userexit/BADI I need to