• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is my code thread safe ?

 
venkata adari
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I have two jsp's one is called webservice.jsp and other is account.jsp
webservice.jsp has static method getAccountsXML which return xml String i included this webservice.jsp in account.jsp.
Please tell me if anything wrong with my approach.Present code works fine.
In future i will add more methods for different webservice calls and include this webservice.jsp in many jsp's.

I just wanted to make sure it is thread safe

Thanks in Advance

Here is my code snippet.

webservice.jsp

[ July 21, 2007: Message edited by: Ben Souther ]
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
venkat,
Please check your private messages.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic