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 gkittelson 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. jobizfa

    Hi all I would really appreciate

    or you can do this: class SwitchApp{ public static void main (String args[])throwsIOException { System.out.println("Please enter Y/N"); char c = (char)System.in.read(); switch (c) { case 'y': case 'Y'...
  2. jobizfa

    how do you overload an operator?

    Interestin!! This is not possible in java except if you use the + operator.To do what you want you need to store the values in variables and then operate on them from 2 different objects.
  3. jobizfa

    Is it good to set null to all variables?

    Hi,This is how to look at it.If you set the variables to null,then when the Garbage collector comes it will definately collect.However you cannot predict when the collector will run.Its even worse in a jsp ,the behavior of the collector becomes even more unpredictable.This should not be a...
  4. jobizfa

    too many open files

    Hi, what you need to do is to close all your streams in a finally block e.g code: Source xslSource = new StreamSource(stylesheet); TransformerFactory transFact = TransformerFactory.newInstance(); Templates templates = transFact.newTemplates(xslSource); for (int i=0; i<msgs.length; i++) {...
  5. jobizfa

    TransformerConfigurationException in websphere 4.0.4 and not in 4.0.3

    having just moved my j2ee application from websphere 4.0.3 to 4.0.4,I get a transformerConfigurationError when transforming many xml files.In most cases it transforms ok about 27 times and then throws this error.Using the same code ,this never happened in websphere 4.0.3 where we have done up to...

Part and Inventory Search

Back
Top