Lalit Mehra wrote:Hi Sarvath,
Your myclass needs a no-argument constructor.
<jsp:useBean> initializes the bean with the no-argument constructor of the specified class.
Hope this helps.
Campbell Ritchie wrote:Why are you using StringBuffer in 2013? Have you read the documentation for StringBuilder#append, String#valueOf, etc.?