Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. dustfinger

    IXMLDOMDocument2 loadXML where XML contains prohibited characters

    I have an XML document contained in a BSTR and I want to load the xml document using the IXMLDOMDocument2. The problem is that one of the nodes of my XML has inner text that contains a less than sign. If I try to load the XML document using IXMLDOMDocument2->loadXML then it fails to load...
  2. dustfinger

    tomcat: ServletException: is not bound in this Context

    Solved it. All I had to do was get the datasource like this.. Context initCtx = new InitialContext(); Context envCtx = (Context) initCtx.lookup("java:comp/env"); if(envCtx == null ) throw new Exception("Boom - No Environment Context"); this.datasource = (DataSource)...
  3. dustfinger

    tomcat: ServletException: is not bound in this Context

    I am working on a simple java servlet and I am getting the following error from tomcat. Taken from ImageServerServlet.java public void init() throws ServletException { try { InitialContext ic = new InitialContext(); this.datasource = ( DataSource )ic.lookup(...

Part and Inventory Search

Back
Top