This is a generics thing I believe.
I've simplified my class and method for clarity.
But I get the following warning on line 5:
Type safety: The expression of type HashMap needs unchecked conversion to conform to
HashMap<String,Object>
1: public class aClass {
2: private HashMap<String...
This is a generics thing I believe.
I've simplified my class and method for clarity.
But I get the following warning on line 5:
Type safety: The expression of type HashMap needs unchecked conversion to conform to
HashMap<String,Object>
1: public class aClass {
2: private HashMap<String...
Hi,
I have a list box of urban sprawls (Manchester, Norwich, etc.) The user may select none, 1 or more of these - there are over 500 in the list.
The result is concatenated into a string which ends up looking like:
String sql = "{ Call...
Hi,
I am using the html:image tag.
I have set property="" which allows me to implement getX(), setX(), getY(), and setY().
When I click on the image I get the X and Y lovely jubbly.
I need to add an id attribute (styleId normally) to the image tag so I can manipulate it within JavaScript -...
Hi,
This error only happens in IE, not Firefox.
- I have an applet JDialog thats drawn with SpringUtilities.invokeAndWait.
- When it loads it can be dragged around (show window contents while dragging set to on - desktop properties) and the dialog and desktop/browser beneath redraw nicely.
- If...
I have an action forward that returns a page called ac05.jsp
The HTML gets reformatted before it reaches the browser.
If I request the page directly it's fine, but when Struts returns it, it gets reformatted.
How do I prevent Struts screwing around with my HTML?
FYI.
It isn't formatting it...
Hi,
I have a web app deployed to BES60.
In the package I have an application called ServiceManager.class, I want this to run when the partition is started/restarted - how do I do this?
Ideally, I want it to be a managed object.
Thanks, Martin.
We are rewriting our Unix/C sales system with a Java/JSP thin client intranet system.
We currently have Informix/C on a meaty Unix box.
Our new infrastructure will consist of a meaty Unix box with Oracle on it (and some legacy business logic), but between that and the client PCs will be a...
I want to incorporate group (role) and user maintenance in my project and wonder if anyone knows of the whereabouts of any existing code that does something like this - in Java. Either JSP or application.
I have a Java client on a PC and a C++ server on a unix machine. The client calls the method with a structure, the values in the structure are modified and returned.
When I call the method once it takes appx. 1400ms
This is pretty slow compared with my XML-RPC version of the same test (it...
I'm new to IDL and have not had much luck finding a good tutorial online.
If I have a simple C client program:-
int main(int argc, char **argv) {
...
return(0);
}
How do I declare the interface in IDL?
I've tried the following but it gives the following error:
test.idl: 4:syntax error...
Hi,
We've re-written all our pages in JScript but are having problems with the following code.
This small example works fine in VBScript:-
<%
Dim MBRequest
Set MBRequest = GetObject( "script:" & Server.MapPath( "./admin/wsc/MetaBuilders.FileUp.wsc" ) )
reqVar =...
Thanks guys.
We have our Ent. App. Server running on the Unix box, and the EJBs are going to be deployed there - so I suppose I could write an EJB that performs the exec() call and invoike that using RMI from the Client App.
Hi sedj,
Many thanks for your reply.
I get the following runtime error:-
java.io.IOException: CreateProcess: z:/a/b/c/loginTest error=3
My code is as follows:-
Process ls_proc = Runtime.getRuntime().exec("z:/a/b/c/loginTest");
I've mapped z: to our samba share.
Any ideas?
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.