• 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
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

servlets and basic Excel technology which generates xml

 
Ranch Hand
Posts: 421
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello I have a servlet which needs to be edited for one field which needs to be restructed for a Canadian Date instead of a US Date. (It is my understanding the Canadians use the 01/03/2012 to say March 1, 2012, whereas the US writes 03/01/2012.) I did a search within my appliation to see how many times this XML field is used and received the following output:

workspace\MMP\build\classes\MMP-COM\MMPExcelCOM\Connect.vb
workspace\MMP\build\classes\MMP-COM\MMPExcelCOM\Connect.vb
build\classes\MMP-COM\MMPWordCOM\Connect.vb
workspace\MMP\build\classes\MMP-COM\MMPWordCOM\Connect.vb
build\classes\MMP-COM\MMPWordCOM\Connect.vb
workspace\MMP\build\classes\MMP-COM\MMPWordCOM\Connect.vb
src\bcc\pages\documentManagement\DMTemplateDataTag.java
workspace\MMP\src\bcc\pages\documentManagement\DMTemplateDataTag.java
src\bcc\pages\documentManagement\DMTemplateLoaderFinancial.java
workspace\MMP\src\bcc\pages\documentManagement\DMTemplateLoaderFinancial.java
src\bcc\pages\documentManagement\DMTemplateLoaderLite.java
workspace\MMP\src\bcc\pages\documentManagement\DMTemplateLoaderLite.java
src\MMP-COM\MMPExcelCOM\Connect.vb
workspace\MMP\src\MMP-COM\MMPExcelCOM\Connect.vb
src\MMP-COM\MMPExcelCOM\Connect.vb
workspace\MMP\src\MMP-COM\MMPExcelCOM\Connect.vb
workspace\MMP\src\MMP-COM\MMPWordCOM\Connect.vb
workspace\MMP\src\MMP-COM\MMPWordCOM\Connect.vb

so I can see clearly that it is a VB situation, only I have three files which mention the field. A snippet of code from one of them is as follows:



----------------------------------------------------------------------------

My question is how do I attack the problem, do I try to put some logic in the java file to handle the "DispositionDay" being different for CAnadian users or do I try to do it in the VB or in both?

Thanks,
 
Sheriff
Posts: 17644
300
Mac Android IntelliJ IDE Eclipse IDE Spring Debian Java Ubuntu Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Your "snippet" sure has a lot of fluff to go through to even find what you're talking about... is it that last line there, Line 138? Maybe it's just me but I still don't understand much about the problem scope based on what you gave. Looks like the app you're maintaining is a Children's Services case management app, huh? I worked on two (HUGE) projects like this for the government. They were not pretty either. Always the poor children getting the short end of it...
 
What's brown and sticky? ... a stick. Or a tiny ad.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic