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 SkipVought 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. ganeshmb

    Trying to get javax.servlet.* package to work in J2EE?

    Specifying the directory will not work unless you have J2EE classes in exploded format in that directory. Most likely, they will be in a jar file under lib directory of your installation and you will have to explicitly specify the jar file in order for the compiler to pick J2EE classes. One...
  2. ganeshmb

    Java and WebLogic

    Weblogic is a J2EE application server. So applications running on Weblogic are developed using Java technologies. Ganesh If you find my post really helpful, please record it by clicking the purple star below.
  3. ganeshmb

    Servlet thread for periodic task?

    Most of the application servers provide the option of specifying startup classes. They let you specify startup classes as a configuration paramter(a properties file or a XML) and start them automatically when the server is started. I'd suggest you to explore this option in your app server...
  4. ganeshmb

    Problem with packaging a client-server application!

    I'd also strongly recommend sedj's approach. I had to a similar stuff a year back and this is what I did: I divided the application into several modules, each representing a solid functionality that can be exposed to the outside world on its own without any dependency on other modules. Then, I...
  5. ganeshmb

    where & how do you install(add) third party packages????

    >>why do I need to specify the path again above when I set the classpath already? I am not sure as to how you set you classpath before running the program. If you don't specify the classpath using -classpath identifier, javac picks up the classpath value from the env variable classpath. You can...
  6. ganeshmb

    where & how do you install(add) third party packages????

    1) what is the proper place to add the third party package? You can place it wherever you want. Just set you CLASSPATH variable to point to those packages(Just the directory if you have classes, the jar file itself if it is already packaged) As for your other questions, is the classpath same...
  7. ganeshmb

    Help!!! - HOW & WHERE do I add someone's package into your JDK library

    gb828, Place the new jar under some other folder and set your class path to point to the jar(not the directory). For example, you can put the sample.jar under c:\temp and set your classpath as, CLASSPATH=c:\temp\sample.jar Ganesh If you find my post really helpful, please record it by clicking...
  8. ganeshmb

    wildcard in classpath.

    Umesh, I don't think there is any way you can specify that. Ganesh If you find my post really helpful, please record it by clicking the purple star below.
  9. ganeshmb

    What is the difference between knowing J2EE and knowing Java?

    Is there a good book and/or websites on some basic standards and rules of thumbs to think about when I start designing my code? Looks like, you are new to OOPS world! I'd recommend Object-oriented Analysis and design with Applications by Grady Booch. Ganesh If you find my post really...
  10. ganeshmb

    jbuilder9 problem

    May be, you have named your class as accuracytests instead of AccuracyTests, just open your AccuracyTests.java and check the case of AccuracyTests at public class AccuracyTests Ganesh If you find my post really helpful, please record it by clicking the purple star below.
  11. ganeshmb

    Reading Environment variables in java ..

    Oops! these TGML tags are killing me. The command-line invokation should read, java -Dmyvariable=xyz com.abc.MyApplication Sorry about that.. Ganesh If you find my post really helpful, please record it by clicking the purple star below.
  12. ganeshmb

    Reading Environment variables in java ..

    If the idea behind having these environment variables is just to configure some environment-specific parameters outside the Java code, you can try this instead. Register the property using -D flag while you invoke your java application. This will be accessible inside java code with...
  13. ganeshmb

    read class file

    If you are going for a decompiler, I'd recommend jad. I used it couple of years back. I recall that it had plenty of command-line options and is very efficient too. In addition to legal restrictions, you may encouter other irritants such as obfuscators. Obfuscators juggle up the class file so...
  14. ganeshmb

    Problem definition: My java

    I just wanted to let you know that I have obtained a solution for my problem. For some weird reason, java.util.zip.ZipFile doesn't work but it works if I directly get hold of Zip input stream using java.util.zip.ZipInputStream. I have just re-written the class of mailtorakeshkumar to explain...
  15. ganeshmb

    Problem definition: My java

    idarke, I did that, the zip created using java.util.zip is opening properly for me. jwenting , It seems indeed logical that the file may be in a format that Java doesn't natively support. You are correct. Looks like, my only option now is to look for a 3-rd party Java API to counter my 3-rd...
  16. ganeshmb

    Problem definition: My java

    Rakesh! Thank you very much for your reply. I tried extracing my zip with your program, it's failing with the same exception. As I mentioned in my previous mail, the same zip opens with Pkzip and winzip. So, all my original questions are still pertinent. What is so different about the zip...
  17. ganeshmb

    Problem definition: My java

    Problem definition: My java program tries to unzip a zip file using java.util.zip classes. It fails right in the first line given below: ZipFile oZip = new ZipFile(strFileName); Exception thrown: The following exception is thrown with the above line. java.util.zip.ZipException: error in...
  18. ganeshmb

    Invalid use of null

    Hello Trudye If you are fetching the data from the database as a recordset or individual parameters for the controls on your form, you need to take care of fields that could be Nullable. To avoid ADODB error 'Invalid use of Null', try appending "" to all the fields or the fields...
  19. ganeshmb

    Graying out buttons in HTML using Javascript

    Sorry guys! I was very busy for last 3 weeks. It's nice to see all your solutions. Edward, I think I will finally settle for your last solution. BB101, HellTel and Edward, Thank you very much! Appreciate your help.
  20. ganeshmb

    Graying out buttons in HTML using Javascript

    Thank you very much Edward and Helltel! It is actually an image, sorry about not mentioning it clearly in my earlier mail. This is how my image is built. <img alt=&quot;Save&quot; src=&quot;/images/save.gif&quot; border=&quot;0&quot; height=&quot;24&quot; width=&quot;125&quot;> Edward, if...

Part and Inventory Search

Back
Top