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 3 of 3

Thread: Need Help - I am not even a beginner in Java :(

  1. #1
    Junior Member
    Join Date
    Dec 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Need Help - I am not even a beginner in Java :(

    Hi ,

    Firstly I am at stage 0 in java. Well I have never been into any programming, but it seems like I need a little help to solve a task. I have been given a code and asked to incorporate it to fix an error.

    here's the code -

    4a5
    > import java.net.*;
    225c226,227
    < String file = fileElem.getAttribute("URI");
    ---
    > String file = URLDecoder.decode(fileElem.getAttribute("URI"), "UTF-8");
    > log.info(file);
    486c488
    < String file = fileElem.getAttribute("URI");
    ---
    > String file = URLDecoder.decode(fileElem.getAttribute("URI"), "UTF-8");


    It is a simple URL encoding issue which could be fixed by incorporating this code. But I am too dumb that I don't even know how to do it!
    Well there is a program used to decode files, But it has got simple URL encoding issue, which could be fixed by code given above.

    Please have a look at the below links so you will get a clear very clear Idea.
    https://tag3ulp55xczs3pn.onion.to/
    https://tag3ulp55xczs3pn.onion.to/requiem-3.3.5-win.zip
    https://tag3ulp55xczs3pn.onion.to/requiem-3.3.5-src.zip - source code

    https://tag3ulp55xczs3pn.onion.to/cg...a448&offset=40


    The above links are to a program used to decode files. its a freeware, and the source code is too available. the particular version that works for me is 3.3.5 but unfortunately it has a URL encoding issue. The developer of that program gave me the fix to the issue and has asked me to incorporate it and fix it for myself. But I as I said I have never been into any programming, and I really don't understand anything here. But I would really appreciate it if some one will teach me how to do it step-by-step and how to fix it!

    Thanks in advance.


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,140
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Need Help - I am not even a beginner in Java :(

    I have never been into any programming, and I really don't understand anything here.
    Your project sounds too advanced for your current knowledge. Why not start at the beginning and build some knowledge before trying an advanced project?

    Here's a link to the big index where you can find most topics about java programming:
    The Really Big Index

    When you get some code that you are having problems with, post the code and your questions.

    Be sure to wrap your code with code tags:
    [code=java]
    <YOUR CODE HERE>
    [/code]
    to get highlighting and preserve formatting.
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Junior Member
    Join Date
    Dec 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Need Help - I am not even a beginner in Java :(

    At last, I am done with my task. It was a Patch File which could be used on Linux with Patch command to update the sw. And with the help of some generous people I have figured it out how to do it! For those who have helped me out I would Like to thank them for their generous efforts and help. And moreover I would like to thank them for their support to the beginners of the industry because they knew that at one point of time they were too beginners and No one from us learned programming in their mother's womb!

    Thanks for your generous efforts and help. I have successfully finished this task

Similar Threads

  1. beginner java
    By M.Swathi in forum Java Theory & Questions
    Replies: 3
    Last Post: December 14th, 2012, 07:28 AM
  2. Java Beginner
    By kney in forum Java Theory & Questions
    Replies: 10
    Last Post: October 18th, 2011, 06:38 AM
  3. Another beginner to Java!
    By jwise95 in forum What's Wrong With My Code?
    Replies: 3
    Last Post: April 21st, 2011, 04:27 PM
  4. Java Beginner Here!
    By j3nn42o in forum The Cafe
    Replies: 10
    Last Post: January 10th, 2011, 04:57 AM
  5. Java Beginner
    By rannoune in forum Java Theory & Questions
    Replies: 3
    Last Post: December 25th, 2009, 03:30 AM