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!

Search results for query: *

  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?

    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...
  7. 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.
  8. 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...
  9. 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.
  10. 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...
  11. 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...
  12. 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 =...
  13. martindavey

    How do I launch Unix application from Windows

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

    How do I determine which version of JRE is installed?

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

    ASP: VB Combo Box on IE6

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

    Enterprise or Developer?

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

    Permission Denied breaking out of frames...

    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=&quot;javascript&quot;> <!-- function fncBreakOutOfFrames() { if (top.document.location.href != document.location.href) {...
  18. martindavey

    &lt;select style=...&gt; not working on Netscape.

    I have the following listbox:- <select name=&quot;mySelect&quot; 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?
  19. martindavey

    Multi-column list box.

    How do I get a multi column list box? I want the columns lined up, and I don't know how to change the font of a list box.
  20. martindavey

    Multi-Column List Box?

    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?

Part and Inventory Search

Back
Top