• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

problem in Spring first program

 
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
this is my hlo.java




this is mn.java






this is jl.xml






So , I wanted to know here, the cursor position of everytime, according to me, the cursor should start from main class, so , it should go mn.java and from there it should go xml file and get all the ids n all and then call the method(which is in hlo.java), so show1 is called , then what about

when cursor will go setmessage and getmessaege, means on which state?
 
Ranch Hand
Posts: 499
Spring AngularJS Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
sarojni agrwal,

Do you have hlo.java in any of the packages, if so you will have to give the full path to you jl.xml
 
Bartender
Posts: 2910
150
Google Web Toolkit Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In my opinion, you seriously need to look at java naming conventions. This applies to your classnames, methods, configuration xmls, etc.
Remember, in a practical scenario, the code written by you would mostly be maintained by some other programmer.
 
reply
    Bookmark Topic Watch Topic
  • New Topic