Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: Localhost

  1. #1
    Junior Member
    Join Date
    Dec 2017
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Localhost

    Hello. This is my first time on this forum. I am asking for some help. Hopefully its a simple matter.

    I am currently trying to get some Lewis and Loftus code to work for me. I believe that it does work, if only I new where to store the .wav file.

    The line of code
    [code = java] url1 = new URL ("file", "localhost", "beat.wav"); [/code]

    My question is where do I need to put the beat.wav file.
    I am using Windows 10 operating system.

  2. #2
    Member
    Join Date
    Dec 2013
    Location
    Honolulu
    Posts
    83
    Thanks
    1
    Thanked 4 Times in 2 Posts

    Default Re: Localhost

    That is a good question. If you plan on using a JavaServlet jsp, as in Apache Tomcat application, you are in luck. This is an open source code for all developers of Java programs. It handles and manages request of URL and produces an object of the JavaServlet class which is an extension of a web container or website account. The apache tomcat was developed in 1999 and will give you answers you may have when you decide to develope your own Java EE edition of a application, as the Apache Tomcat. Look this up, it gives you much information on your concerns, including storage and memory use.

  3. #3
    Member Helium c2's Avatar
    Join Date
    Nov 2023
    Location
    Kekaha, Kaua'i
    Posts
    106
    Thanks
    1
    Thanked 1 Time in 1 Post

    Default Re: Localhost

    Localhost: Maybe I can help you. You can get a free web host ing site for all your pictures and video. ImageTwist - Free Image Hosting & Photo sharing website. It is free use. And you can earn points to get a refund. This holds all of your files. It automatically generates those URL codes for you. Thanks in advance.

  4. #4
    Member Helium c2's Avatar
    Join Date
    Nov 2023
    Location
    Kekaha, Kaua'i
    Posts
    106
    Thanks
    1
    Thanked 1 Time in 1 Post

    Default Re: Localhost

    Are you using Java programming already? There. The computer has to be pinged from all the users you use. Networking. When they ping your computer at down times, like a power outage and after, your computer will automatically pop up and work like new again. After the power outage. Networking news and what you're are experiencing. Files that need permissions first. Java exceptions as an example. If you are making those special cases.
    Last edited by Helium c2; January 5th, 2024 at 05:26 PM. Reason: wording

Similar Threads

  1. Localhost
    By runciman in forum What's Wrong With My Code?
    Replies: 2
    Last Post: December 18th, 2017, 08:19 AM
  2. Java DB - Embedded or localhost?
    By Chaotic in forum Java Theory & Questions
    Replies: 1
    Last Post: September 15th, 2014, 11:49 AM
  3. Mail Sender Application from Localhost
    By srinivasgoudn in forum Web Frameworks
    Replies: 11
    Last Post: January 12th, 2012, 01:44 AM
  4. Mysql url pointer to server instead of localhost
    By kurt-hardy in forum JDBC & Databases
    Replies: 3
    Last Post: April 12th, 2011, 04:32 AM
  5. JNLP webstart application in localhost
    By Jhovarie in forum Threads
    Replies: 2
    Last Post: February 14th, 2011, 06:53 PM