Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by martindavey

  1. martindavey

    unchecked conversion warning - generics issue - please help

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

    HashMap needs unchecked conversion - Generics warning - please help.

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

    StringIndexOutOfBoundsException

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

    Use of id with html:image tag when using getX,getY

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

    Applet not refreshing when dragged.

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

    How do I stop Struts reformatting my HTML?

    Forget it. It's not Struts doing it, it must be something to do with the tag libraries I'm using.
  7. martindavey

    How do I stop Struts reformatting my HTML?

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

    Execute code on partition start.

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

    What spec App. Servers do you have?

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

    I need example code of user/group maintenance.

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

    How can I speed up my server?

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

    How do I pass a char** in IDL

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

    Upload component giving trouble in JScript.

    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( &quot;script:&quot; & Server.MapPath( &quot;./admin/wsc/MetaBuilders.FileUp.wsc&quot; ) ) reqVar =...
  14. martindavey

    How do I launch Unix application from Windows

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

    How do I launch Unix application from Windows

    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(&quot;z:/a/b/c/loginTest&quot;); I've mapped z: to our samba share. Any ideas?

Part and Inventory Search

Back
Top