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...
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.