I don't know what the application is. All I know is it is running on an IBM mainframe computer, and I pass it the username and password by forming a url to send it.
Amos
Programer/Analyst
United States Postal Service
I know this. I'm passing the verification over https in one instance. If go to the verification server in a browser a username password box pops up. It doesn matter if I use http or https. And I can verify my user. Now when I add it to an application and I pass the username and password to...
I am writing a java struts app. The end user is connecting to the app via http. My app takes their username and password and passes it to an http server. That works fine, but now they want me to change my verification from http to https. If I just change the URL it will not authenticate with...
I'm working on an internal application, and I'm wondering if I should make my beans final. I made all the methods(getters and setters) final for performance, and it helped a lot. Will making the actuall bean class give me a performance gain?
Amos
Programer/Analyst
United States Postal Service
//constructor
public CreateExcelSheet( List passedClasses ) {
//create a hash map for each bean
map = new HashMap[passedClasses.size()];
localObjects = new Object[passedClasses.size()];
localClass = passedClasses.get(0).getClass();
for ( int i = 0; i < passedClasses.size(); i ++ ) {...
Thanks I got it all figured out. Sorry that I didn't give enough info about the hasmap thing. I was just saying that I had made the new array but I for got to create the individual hashmaps in that array. I know that it starts at zero and it is in a loop. If you want I will post my code for...
I think it is because I used
Hashmap[] map = null;
map = new HashMap[10];
but I didn't do map[1] = new HashMap();
Amos
Computer Science
U of MO - Rolla
I'm trying to use reflection like this
methods[i].invoke( localObjects[position], null )
I run it through my debugger and it errors with a null pointer exception. So I read and find that the method is an instance. Here is the mthod it is trying to invoke.
public String getAddress() {...
Does anyone know of a way to get the names of variables from a bean. I want to write a class that creates spreadsheets from database queries, but I don't want to have to write it for each bean/table. I want to be able to pass in a list of beans and then do something like...
Diancecht,
Thanks for the length, but that is JCraft that they are talking about, and unfortunately it only has a 45 day trial, and is not free past that. I got around the problem by placing my function on the server, and now I just have to figure out WSDL and jaxRPC so I can get at it. That...
I did your simple google search many times. I even decided, jut to humor you, I would copy your search.
Ok so starting with fresh meat.
If you follow the link you will find that is in fact, not free. I did find this in my searching, and here is the page with the licenses and prices...
I really hate to have to explain this, but ssl is NOT ssh. sftp uses ssh. ssl can be used to allow https but not sftp. There are loads of free sftp programs, and ftp. There are loads of free libraries to do ftp, but not sftp. Thank you, and good day.
Amos
Computer Science
U of MO - Rolla
Thanks, and I appreciate this, but I already have an SFTP server. I am writing a web API that searches an Oracle Database, and retrieves a file location on an ftp server. it then searches for a password in the database, that is changed monthly. It takes this information and is supposed to get...
Believe me I have. Many times. I found quite a few libraries that I can pay thousands for, but nothing that is free or cheap. My boss is telling me that he wants me to use a windows command, and call it from java, but that will expose the password to the file location, which he doesn't want...
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.