tag:blogger.com,1999:blog-4924966385028011361.comments2022-12-03T03:30:58.007-08:00MytechtodayBishow Paudelhttp://www.blogger.com/profile/13404171528390907420noreply@blogger.comBlogger17125tag:blogger.com,1999:blog-4924966385028011361.post-13350063198040639222012-03-08T15:46:40.217-08:002012-03-08T15:46:40.217-08:00Can I use transaction management with jdbctemplate...Can I use transaction management with jdbctemplate in grails?Allan Larangeirashttps://www.blogger.com/profile/01663981438519658581noreply@blogger.comtag:blogger.com,1999:blog-4924966385028011361.post-1182542670862871732011-11-18T12:34:27.641-08:002011-11-18T12:34:27.641-08:00@binaryman, I believe thats not a free tool.@binaryman, I believe thats not a free tool.Bishow Paudelhttps://www.blogger.com/profile/13404171528390907420noreply@blogger.comtag:blogger.com,1999:blog-4924966385028011361.post-80071523508382542292011-07-14T05:26:29.994-07:002011-07-14T05:26:29.994-07:00For a MS-Windows Box, I use: Directory Report
http...For a MS-Windows Box, I use: Directory Report<br />http://www.file-utilities.comAnonymoushttps://www.blogger.com/profile/08386173932109206890noreply@blogger.comtag:blogger.com,1999:blog-4924966385028011361.post-75984463470132794772011-04-28T22:51:54.141-07:002011-04-28T22:51:54.141-07:00nice script thanks for sharing.nice script thanks for sharing.subashhttp://oscience.infonoreply@blogger.comtag:blogger.com,1999:blog-4924966385028011361.post-45697904249154373232011-01-22T18:23:49.706-08:002011-01-22T18:23:49.706-08:00I just started taking a class in algorithm design....I just started taking a class in algorithm design. It teaches C++ first and then JAVA. I will certainly bookmark this site so that when I do become proficient, I will come back here for information. THANKS!online tech supporthttp://www.mytechteam.netnoreply@blogger.comtag:blogger.com,1999:blog-4924966385028011361.post-75459178683151031922010-05-30T07:01:42.384-07:002010-05-30T07:01:42.384-07:00Many institutions limit access to their online inf...Many institutions limit access to their online information. Making this information available will be an asset to all.custom research paperhttp://www.researchpaperspot.comnoreply@blogger.comtag:blogger.com,1999:blog-4924966385028011361.post-83632918162135886792009-07-09T21:52:34.512-07:002009-07-09T21:52:34.512-07:00You can also use the "responseMessage" p...You can also use the "responseMessage" property of the connection to get the same kind of information.<br /><br />def getUrlResponse(urlString) {<br /> def conn = new URL(urlString).openConnection()<br /> "$urlString : ${conn?.responseCode} : ${conn?.responseMessage}"<br />}<br /><br />println getUrlResponse("http://google.com")<br />// prints http://google.com : 200 : OK<br /><br />println getUrlResponse("http://google.com/foo") <br />// prints http://google.com/foo : 404 : Not FoundAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-4924966385028011361.post-67410808077984877132009-07-09T17:00:51.373-07:002009-07-09T17:00:51.373-07:00You are absolutely right ! I have made the correct...You are absolutely right ! I have made the correction on the code.<br /><br />ThanksBishow Paudelhttps://www.blogger.com/profile/13404171528390907420noreply@blogger.comtag:blogger.com,1999:blog-4924966385028011361.post-69897833035692151792009-07-09T15:44:29.377-07:002009-07-09T15:44:29.377-07:00You've shown one of the downsides of groovy - ...You've shown one of the downsides of groovy - poor static analysis.<br />You aren't using urlString within your checkURL method.<br /><br />urlString.toURL() gives you the URL<br /><br />URLConnection does not have a getResponseCode() so do you need to explicitly create a HttpURLConnection or does groovy/java automatically know because of the http:// prefix in the URL? In which case why do you have the HttpURLConnection cast in there?Patrickhttps://www.blogger.com/profile/17880139448719743642noreply@blogger.comtag:blogger.com,1999:blog-4924966385028011361.post-17934854476578878462009-03-09T19:18:00.000-07:002009-03-09T19:18:00.000-07:00it works ! Thanks,~Bishowit works ! <BR/>Thanks,<BR/>~BishowBishow Paudelhttps://www.blogger.com/profile/13404171528390907420noreply@blogger.comtag:blogger.com,1999:blog-4924966385028011361.post-54629929703220406812009-03-09T14:36:00.000-07:002009-03-09T14:36:00.000-07:00Can this work with the default datasouce in Grails...Can this work with the default datasouce in Grails?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4924966385028011361.post-81947909712870681422008-07-19T00:50:00.000-07:002008-07-19T00:50:00.000-07:00Good post - just a point on the final step. If you...Good post - just a point on the final step. If you are creating two arrays like that appName&appEmail you don't know they are in synch (eg one application owner might not have an email)<BR/><BR/>You can use the same approach though to create the map:<BR/><BR/>emailInfo.application.each {<BR/> emailMap[it.name] = it.email <BR/>}Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4924966385028011361.post-334269219790866192008-07-16T21:16:00.000-07:002008-07-16T21:16:00.000-07:00Thanks Randy !Thanks Randy !Bishow Paudelhttps://www.blogger.com/profile/13404171528390907420noreply@blogger.comtag:blogger.com,1999:blog-4924966385028011361.post-45274087262728403142008-07-16T20:44:00.000-07:002008-07-16T20:44:00.000-07:00You can shorten the second snippet quite a bit. Re...You can shorten the second snippet quite a bit. Replace everything after the definition of maxIndex by this:<BR/><BR/>def rnd = new Random()<BR/>100.times {<BR/> println( (1..IDlength).sum{ <BR/> validChars[ rnd.nextInt(maxIndex) ]<BR/> } )<BR/>}Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4924966385028011361.post-19079657770120169732008-05-08T12:06:00.000-07:002008-05-08T12:06:00.000-07:00As far as my knowledge DOM or SAX or Stax model of...As far as my knowledge DOM or SAX or Stax model of parsing are supported by Java. But XMLSluper is basically Groovy based parser that use SAX underneath.Bishow Paudelhttps://www.blogger.com/profile/13404171528390907420noreply@blogger.comtag:blogger.com,1999:blog-4924966385028011361.post-23615811454569595792008-05-08T11:47:00.000-07:002008-05-08T11:47:00.000-07:00Does XmlSlurper use DOM or SAX or Stax model of pa...Does XmlSlurper use DOM or SAX or Stax model of parsing?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4924966385028011361.post-25484005357805628282008-05-07T21:04:00.000-07:002008-05-07T21:04:00.000-07:00Thanks for your posting.Thanks for your posting.Anonymousnoreply@blogger.com