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 =...
Hi,
I have a Java Application that serves as a GUI frontend to a C application on a Unix box.
FYI. The Unix filesystem is visible on the Windows network thanks to Samba.
I want to launch a C executable on the Unix box when the user clicks on a button in the Windows based Java App.
I would...
With a script I want to determine which version of the Java Virtual Machine is installed - my app. needs 1.4.2 or later.
If they haven't got 1.4.2 or later I want to prompt them to download it.
Hi,
I created a combo box based on the code in the tutorial on this page:-
http://devguru.com/Features/tutorials/ComboControl/combocontrol.html
I cannot seem to get it to do anything for the change or click event. The following example is very simple and I have been using for testing.
Do you...
Hi,
We want to purchase JBuilder9 in order to develop applications for use on our intranet and on the internet.
Is JBuilder9 Developer adequate, and what is the difference between it and Enterprise ($3500 verses $999).
What will we be missing if we don't buy Enterprise?
Martin.
Hi,
I'm attempting to break out of frames using the following code. However, I get permission denied.
How do I get round this?
<script language="javascript">
<!--
function fncBreakOutOfFrames() {
if (top.document.location.href != document.location.href) {...
I have the following listbox:-
<select name="mySelect"
style='font-family: Courier New;
font-size:xx-small;
height:18px;'>
This works great for IE, but it doesn't seem to work on NS4.6 - any ideas on how to achieve this on NS?
I want a multi-column list box that can be controlled with one scrollbar (I want the columns lined up).
How do I do this?
If it can't be done, If I put all the data into columsn in a table, can I add a scroll bar to control the table and pop it into a <div> section?
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.