Results 1 to 6 of 6
  1. #1
    kaalaoui is offline Member
    Join Date
    Jul 2014
    Posts
    2
    Rep Power
    0

    Question can you help me understanding what that program does ?

    hello; i'm working on an old application wich i'm asked to improve.
    i don't understand what this program does exactly??, i'm a begginer at java J2EE developing.

    the code is enclosed attachement : code.txt

    plzzz help to understand what does this program if there's a way to improve it, if there's tutorials or articls wich can help me understanding this code ??
    Attached Files Attached Files

  2. #2
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,098
    Rep Power
    6

    Default Re: can you help me understanding what that program does ?

    Its a servlet that does things and stuff with XML. Its not a program and its not even the complete source.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  3. #3
    SurfMan's Avatar
    SurfMan is offline Godlike
    Join Date
    Nov 2012
    Location
    The Netherlands
    Posts
    990
    Rep Power
    2

    Default Re: can you help me understanding what that program does ?

    I know this looks scary: file:\\\\\\C:\\edi\\genericNew.xsl
    "It's not fixed until you stop calling the problem weird and you understand what was wrong." - gimbal2 2013

  4. #4
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,098
    Rep Power
    6

    Default Re: can you help me understanding what that program does ?

    Didn't even spot that. So its code produced by some student who had no architectural vision to realize that hard-coding OS-specific absolute paths in code, especially in a component of a web application, is basically as wrong as you can make it.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  5. #5
    kaalaoui is offline Member
    Join Date
    Jul 2014
    Posts
    2
    Rep Power
    0

    Default Re: can you help me understanding what that program does ?

    thank you for your answer, i know it's a servlet , what i want to know
    is the " stuff" that does with xml files, this is the part of the source don't understand.
    does this servlet an xml validation for the file ??

  6. #6
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,098
    Rep Power
    6

    Default Re: can you help me understanding what that program does ?

    There is XSL involved, so I'm guessing it is transforming XML. That's about as much as I'm going to say about it.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

Similar Threads

  1. Replies: 9
    Last Post: 07-09-2014, 08:56 AM
  2. Help understanding how program works!
    By zzzarf in forum New To Java
    Replies: 8
    Last Post: 12-07-2012, 06:19 AM
  3. Letter counter program. having trouble understanding it.
    By silverglade in forum New To Java
    Replies: 17
    Last Post: 05-21-2011, 01:06 PM
  4. Help on understanding a program
    By newbie225 in forum New To Java
    Replies: 1
    Last Post: 11-10-2009, 12:53 AM
  5. I have trouble understanding this program!
    By PureAwesomeness in forum New To Java
    Replies: 1
    Last Post: 03-16-2009, 05:34 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •