CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: unicman

Page 1 of 19 1 2 3 4

Search: Search took 0.08 seconds.

  1. Replies
    6
    Views
    545

    Re: EJB Transactions

    There is one more thing I found out in case of Orion App Server.

    If you are trying on Orion, you should know that Orion server doesn't give error even if a method signature in descriptor is wrong...
  2. Replies
    6
    Views
    545

    Re: EJB Transactions

    If I am not mistaken, EJB1.1 specs say that the trasaction won't be rolled back automatically.

    They suggest to use context.setRollbackOnly() if you want to rollback a transaction in that case.
    ...
  3. Methods/Properties of Java2 applet thro JavaScript

    Hi,

    I am trying to expose some methods and attributes of applet for use in JavaScript. I am using Java plug-in right now.

    I made a bean of the applet for this. I tried it with BDK, and it...
  4. Replies
    2
    Views
    669

    Re: Swinf in the html file

    You will have to use 'object' and 'embed' instead of 'Applet' tag.

    See appletviewer help in ur JDK1.2 documentation.

    - UnicMan
    http://members.tripod.com/unicman
  5. Replies
    4
    Views
    1,370

    Re: Hoe to configure Servlet under IIS

    Have u tried ServletExec from NewAtlanta?
    I have used it. It has web UI for admin... u can admin from browser!

    - UnicMan
    http://members.tripod.com/unicman
  6. Replies
    4
    Views
    769

    Re: Applet Class Not Found Exceptions

    Then it should work actually.

    Just in case if you haven't checked-out this before... Please check CLASSPATH environment is set. If it is set, check if it has '\jdk1.2\jre\lib\rt.jar' included.
    ...
  7. Re: Can a messagebox be popped up from an applet's stop() method?

    I tried with null as parent, its working in stop and destroy method.

    - UnicMan
    http://members.tripod.com/unicman
  8. Replies
    4
    Views
    627

    Re: avoid DOS window

    If you don't want DOS window when you run your application, use 'javaw.exe' for JDK1.2 or 'jre.exe' for JDK1.1

    Hope this is what you want.

    - UnicMan
    http://members.tripod.com/unicman
  9. Replies
    1
    Views
    2,423

    Re: How to "UNLOAD" a servlet ???

    Normally servlet engines reload the servlet if the servlet class is changed. Or at least they give UI to reload servlet (e.g. in ServletExec, there is HTML UI for this).

    JSDK doesn't support this...
  10. Re: Can a messagebox be popped up from an applet's stop() method?

    I had tried to show dialog box in stop method, and it was working when I ran that applet in browser.

    I used JRE1.2 that time. And dialog box was confirmation dialog in JOptionPane.

    You can try...
  11. Re: Can a messagebox be popped up from an applet's stop() method?

    I had tried to show dialog box in stop method, and it was working when I ran that applet in browser.

    I used JRE1.2 that time. And dialog box was confirmation dialog in JOptionPane.

    - UnicMan...
  12. Replies
    4
    Views
    769

    Re: Applet Class Not Found Exceptions

    are you using JDK1.2?
    If yes, are you using 'applet' tag to load the applet?

    If you are using JDK1.2, u should be using 'object' tag instead. You will get its help in JDK1.2 documentation (in...
  13. Icons in JTextComponent in JDK1.3 (applet)

    Hi,

    There is a documentation on java site for showing styled text in JTextComponent.

    I learnt from there that I can put icons in JTextComponent using StyleConstants class.

    And the icon gets...
  14. Thread: HREF

    by unicman
    Replies
    1
    Views
    453

    Re: HREF

    You can do such a thing directly. But you can have a query-string which will specify from where the servlet URL is called.

    If you don't have control over HREF, then you may not be able to identify...
  15. Replies
    4
    Views
    667

    Re: Netscape & Swing

    Well.. if you are so keen on using swing in Java1.1 then you can use 'com.sun.java.swing' which used to ship for Java1.1.

    Classes in Java2 might work, but you can't assure how much compatible they...
  16. Replies
    3
    Views
    10,791

    Re: How do you make a JFrame modal?

    Well there is no direct support in Java for making JFrame modal. However using 'wait' and 'notify' in your sub-class of JFrame, you might be able to achieve that effect.

    - UnicMan...
  17. Replies
    2
    Views
    620

    Re: BMP/GIF displaying

    I don't think there is direct support for BMPs in Java.

    But for GIFs, if you get data of a GIF "exactly same" as a byte array, you might be able to create Image object out of it. And use it in...
  18. Replies
    1
    Views
    539

    Re: function for every request

    In java a method is never instantiated. What is instantiated is a class.

    In case of servlets... normal servlet will be instantiated only ONCE. After that there will be different threads for each...
  19. Replies
    2
    Views
    667

    Re: "hidden" argument

    Well, basically OOP recommends to hide all the variables in a class, but I don't think its restriction. U can just declare public variable and access it from other classes.

    But now consider the...
  20. Replies
    2
    Views
    982

    Re: component flicker

    If you haven't implemented double-buffering, try implementing it. It gives remarkable effect.

    - UnicMan
    http://members.tripod.com/unicman
  21. Thread: JSP

    by unicman
    Replies
    1
    Views
    613

    Re: JSP

    I had heard that dreamweaver IDE supports JSP development. You can try it.

    - UnicMan
    http://members.tripod.com/unicman
  22. Thread: protocols

    by unicman
    Replies
    2
    Views
    596

    Re: protocols

    HTTP:

    'HyperText Transfer Protocol' is used for normal communication for web. There exists language called HyperText Markup Language (HTML). The protocol was used to get these files from internet...
  23. Thread: Firewall

    by unicman
    Replies
    1
    Views
    566

    Re: Firewall

    Main application of firewall is to separate intranet (LAN/WAN) from internet.

    Firewall can be a computer or a hardware device.

    Basically on internet there is a concept of IP address and port....
  24. Replies
    1
    Views
    615

    Re: how to make undo/redo

    Well... I don't have sample code you asking for.

    But you can have undo/redo feature in JTextArea.
    See JDK1.3 documentation's javax.swing.JTextComponent. There is a link saying 'General rules...'....
  25. Thread: type casting

    by unicman
    Replies
    1
    Views
    552

    Re: type casting

    By default typecasting works for last returned value...

    If you try follwing, it should work...

    <javacode>
    if( ((CoefficientTerm)terms.firstElement()).isZero() ) {...do something..}...
Results 1 to 25 of 453
Page 1 of 19 1 2 3 4





Click Here to Expand Forum to Full Width

Featured