• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

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: 2846
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.
 
Live a little! The night is young! And we have umbrellas in our drinks! This umbrella has a tiny ad:
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic