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...
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...
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...
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>...
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...
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...
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(/\?/...
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...
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...
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...
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...
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.
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.
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)
{...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.