The moose likes Spring and the fly likes Question on arguments of ClassPathXmlApplicationContext Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Spring
Reply Bookmark "Question on arguments of ClassPathXmlApplicationContext" Watch "Question on arguments of ClassPathXmlApplicationContext" New topic
Author

Question on arguments of ClassPathXmlApplicationContext

Karnati Sudhakar
Ranch Hand

Joined: Aug 26, 2008
Posts: 270

I saw the below line of code in the Spring in Action 3rd edition book.



My question is what exactly commentStyle="XML" does?..I used to run my programs without this attribute...


Regards
Sudhakar
Christophe Verré
Marshal

Joined: Nov 24, 2005
Posts: 14361

It must be a typo, or some kind of problem which happened during the PDF generation. The java syntax is not even correct. I'll check that tonight in mine.


[SCBCD Wall of Fame] [My Blog]
All roads lead to JavaRanch
Help Japan. Make a donation.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12612
<meta>Hmm, for some reason I haven't been notified of an update for a really long time... when did you guys get your last revision?</meta>
Christophe Verré
Marshal

Joined: Nov 24, 2005
Posts: 14361

David Newton wrote:<meta>Hmm, for some reason I haven't been notified of an update for a really long time... when did you guys get your last revision?</meta>

I downloaded the latest update last Friday. And the pdf says : Last saved: 8/10/2010.
Manning's mail ended in my spam folder once. Check yours, it might be there.
Christophe Verré
Marshal

Joined: Nov 24, 2005
Posts: 14361

commentStyle is there. It's definitely a problem. I don't remember seeing it when I read that chapter in an older pdf. Karnati, you could post it at Manning's forum.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12612
Hmm :(

Oh, crap; some of my Manning things go to an email I never check anymore--this explains a lot. Humbug >:|
Karnati Sudhakar
Ranch Hand

Joined: Aug 26, 2008
Posts: 270

Christophe Verré wrote:commentStyle is there. It's definitely a problem. I don't remember seeing it when I read that chapter in an older pdf. Karnati, you could post it at Manning's forum.


Sure i will post it on manning forum.But I dont know if any one would responsd there..Everyone is angry about the delay of the book

David Newton wrote:Hmm, for some reason I haven't been notified of an update for a really long time... when did you guys get your last revision?


I received mail on 13th i.e. Friday (It has chapters on Spring webflow,Securing Spring.)
Christophe Verré
Marshal

Joined: Nov 24, 2005
Posts: 14361

Karnati Sudhakar wrote:Sure i will post it on manning forum.But I dont know if any one would responsd there..Everyone is angry about the delay of the book

Yeah But it would help the author to report it anyway.
 
IntelliJ Java IDE
 
subject: Question on arguments of ClassPathXmlApplicationContext
 
Threads others viewed
jdbcTemplate, Transaction Rollback issue with "defaultAutoCommit" (Env - Tomcat, Spring, Sybase)
ClassPathXmlApplicationContext wildcard problem
Can I read Spring configuration twice in my applction?
Scheduling job.
Classpath issue: class path resource [beans.xml] cannot be opened because it does not exist
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com