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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by TheObserver

  1. TheObserver

    How to maintain/preserve session between applications on same AS?

    I have an AS with two applications deployed on it. One bounces to the other to do a login workflow, stores a user data object in the session, then bounces back to the first application - again, all within the same AS. I am losing the session data when I bounce back from the second application...
  2. TheObserver

    JSP Session and Data Availability

    I have a JSP that I need to instantiate an object in that will be utilized as a centralized data access and collection point. I need to instantiate this object at the point where a frameset is in my process (generated by the JSP) and have the data object accessible to the pages referenced in...
  3. TheObserver

    Connect existing mixed network to another wireless network.

    Hello. I currently have an existing mixed wireless/wired network for my home. Everything works pretty well and everything can talk to everything properly (they can all access a network file server, print server, one another, etc). I currently have a netgear wireless router that enables the...
  4. TheObserver

    Need help with SOAP connectivity

    I need to connect via SOAP to a data provider. They require several pieces of information to authenticate against. The prescribe a header layout to facilitate this: <soap:Header> <impl:email>test@mountainnews.com</impl:email> <impl:language>en</impl:language>...
  5. TheObserver

    Remove tags and place in trunk

    I have a situation where I have some code marked with a tag. I'd like to remove the tag such that the code that was marked with it would be built as a matter of course if a person were to do a build against the trunk. Is there a means to do this easily without the possibility of losing the...
  6. TheObserver

    Perl &amp; LWP - responses are being marked as PRIVATE

    Hello. I have a unique situation that hopefully someone can help me solve. I have a Perl script that needs to call out to a URL through a Netscaler/Proxy/Caching Mechanism to make the response from the call get seeded into the Netscaler/Proxy/Cache. I've got LWP incorporated into my script to...
  7. TheObserver

    Split on a &quot;?&quot; character

    Hello. I've run into a small issue. I need to split a string with a "?" in it. However, I can't get the split to work - either it throws an error or it doesn't produce the proper result. I've tried split("?", $mystr) split("\?", $mystr) split('?', $mystr) split('\?', $mystr) split(/\?/...
  8. TheObserver

    Can't connect on first attempt

    Hello. I’ve got a struts action class that connects to a webservice to pull over some data. I’m accessing the service with the following code in my java class: StringBuffer mySB = new StringBuffer(); String serviceAddress = "http://myurl.com/mywebservice"; URL myURL = new...
  9. TheObserver

    Struts and Multi-Selects

    What is the procedure for setting a multi-select in a jsp via a form object from an action? I am taking data from a multiselect and placing it into a database via getParameters, etc, but I have need to take the data and place it back into a multiselect, somewhat akin to an "edit" capability...
  10. TheObserver

    Consumption of Web Services

    I have a question regarding the consumption of web services. I have previously written REST services, and those work fine. I was writing a client to consume them in PHP, so I wrote a class that would connect to the service via curl, pull over the content of the service (an xml document), and...
  11. TheObserver

    XMLParser or XMLPath to cleanup XML?

    I have an XML file that has been "converted" (via Protege) from an OWL/RDF file. I was wondering if there are any effective ways to use XMLParser or XMLPath to "cleanup" the XML file and output a more proper XML file - the conversion process leaves a lot of declaration type tags/trash in the...
  12. TheObserver

    Setting up to go through a proxy server.

    Hello. I have Debian setup on a computer that connects to a LAN which uses a proxy server to connect to the Internet. I was wondering how to configure the Debian computer to use the proxy server to connect to the Internet. Thanks for your time.
  13. TheObserver

    Convert byte array to an integer/long/double

    Thanks for your help...I figured it out. I'm taking the byte, casting it to an int, and multiplying by 256 to shift the value over then adding it to a local scope variable. Thanks for your time.
  14. TheObserver

    Convert byte array to an integer/long/double

    Binary data.
  15. TheObserver

    Convert byte array to an integer/long/double

    Here's what I've got... File file = new File(filein); InputStream is = new FileInputStream(file); // Get the size of the file long length = file.length(); // Check to ensure that file is not larger than MAX_VALUE. if (length > MAX_VALUE) {...

Part and Inventory Search

Back
Top