Saturday, November 30, 2013

Q

పట్టు పట్టరాదు, పట్టి విడువరాదు 
పట్టనేని బిగియ బట్టవలెను 
పట్టి విడుచుట కంటె బదిచచుట మేలు 
విశ్వదాభిరామ వినురవేమ 

Pattu Pattaradu Patti Viduvaradu 
Patteneni Bigiya Battavalenu 
Patti Viduchukanna Badi Cachhutaye Melu 
Viswadaabhirama Vinura Vema. 

Never pick work, and if u do then u shouldnt leave it
when u hold it hold it tight
its better to die than letting it go
viswadaabhi rama vinuravemaa.... 

Thursday, November 28, 2013

Q

OM POORNAMADAH POORNAMIDAM
POORNAAT POORNAMUDACHYATE
POORNASYA POORNAMAADAAYA
POORNAMEVAAVASHISHYATE
OM SHANTI SHANTI SHANTIH
THAT (BRAHMAN) IS WHOLE
THIS (CREATION) IS ALSO WHOLE
FROM THAT WHOLE (I.E. BRAHMAN ONLY)
THIS WHOLE HAS COME OUT (CREATION)
BUT EVEN THOUGH THIS WHOLE HAS COME
OUT OF THAT WHOLE
YET THAT WHOLE REMAINS WHOLE ONLY

Wednesday, November 27, 2013

Q

Dhirubhai Ambani once said " If you do not work on fulfilling your dream, then someone else will hire you to work on fulfilling theirs !! 

Tuesday, October 22, 2013

Q

Be like water. It rises above the stones & flows. Similarly rise above obstacles in Life & move through them.Have patience & flow over them

--Ravishankar (saint)
 

Wednesday, September 18, 2013

Q

 "A dream you dream alone is only a dream... 
... A dream you dream together is reality." ☻

Friday, September 13, 2013

Q

ॐ  नमो भगवते वासुदेवाय ,
यागुम सर्व भूतानि चराणि स्थावराणि च, 
प्रातर नमस्यन्तु सद्याभीरक्षतु !!

Friday, September 6, 2013

Q

Have you ever sat very quietly with closed eyes and watched the movement of your own thinking? Have you watched your mind working? 

J Krishnamurti * 

Friday, May 24, 2013

True abt indians??

I used to feel people in Govt companies are very dishonest, 'cos the line of hierarchy itself is impure; so much so even if u want to work properly u r not allowed to. But its untrue... Today I had seen a case in a company where the admin personell were buying things at a higher price.

Few days back we had to buy samsung galaxy grand, the admin had called the retailer to the company and he was quoting 23+ K. OMG! on flipkart.com u get it for 19+K. Is it that the admin is not bothered? but this is all what they are supposed to do.

Today i came to know.. that people here get their flight tickets booked at 1.5 Lakhs while it wouldnt cost more than 1.+ Lakhs rupees if u visit the airliner website and do the booking. What is all this? aren't they craving for commissions?

I somehow feel its in our bood... the corruption and being dishonest.. what do u think?

Friday, April 26, 2013

Q

Biggest question in the universe: "Why?" But I don't understand Why "Why?"

Q

Be willing to go alone! many who started with you wont finish with you!

Wednesday, February 27, 2013

Q

రక్షణము   లేక సాధుడు రక్షితుడగు  సమత  చేసి రాయుడు లండున్ !
రక్షణలు    వేయి కలిగిన సిక్షితుడగు ఖలుడు పాప చిత్తున్  డగుటన్ !!

-బమ్మెర పోతన 

Wednesday, February 6, 2013

Spring register a new JSON Converter

Yesterday I had to modify the JSON during creation from an object. I want to add validation hints along with the json that travelled to the server.  Spring has converters and uses MappingJacksonHttpMessageConverter to convert the object returned by the controller. SO i want to modify the converter to include the hints in the JSON generated.

A lot of googling happened for no luck finally I got the solution which reads as follows

First override the default handler: MappingJsonHttpMessageConverter

public class JSONHttpMessageConverter extends MappingJacksonHttpMessageConverter {

@Override
protected void writeInternal(Object object, HttpOutputMessage outputMessage) throws IOException,
HttpMessageNotWritableException {




now in spring xml modify the mvc:annotation-config; Please make sure that u dont have another annotation-config with in any of the spring xmls in ur classpath.

    <mvc:annotation-driven  validator="ExtendedValidatationAdaptor" >
<mvc:message-converters register-defaults="true" >
<bean class="wavecrest.foundation.validate.web.JSONHttpMessageConverter" p:somebean-ref="somref" />
</mvc:message-converters>
</mvc:annotation-driven>
and this should do. 
Tested with spring-web-3.1.1.RELEASE.jar

Monday, January 21, 2013

eclipse tomcat startup: Reveal end of document error( internal Error)

 

I am not sure if this is the root cause, however when i do the below the error is gone….

  1. restart eclipse; right click inn console; go to preferences
  2. make sure u select the below options and as these are

image

if u unselect the checkbox: limit console output and if u r console generates a lot of print stmts u get the error.