getParameter()
returns http request parameters. Those passed from the client to the server. For examplehttp://site.com/servlet?parameter=1
. Can only returnString
getAttribute()
is for server-side usage only - you fill the request with attributes that you can use within the same request. For example - you set an attribute in a servlet, and read it from a JSP. Can be used for any object, not just string.
It is very common that some columns of the report need to stretch to show all the content in that column. But if you just specify the property " stretch with overflow' to that column(we called text field in jasper report world) , it will just stretch that column and won't change other columns, so the row could be ridiculous. Haven't find the solution from internet yet. So I just review the properties in iReport one by one and find two useful properties(the bold highlighted in example below) which resolve the problems. example: <band height="20" splitType="Stretch" > <textField isStretchWithOverflow="true" pa...
Comments
Post a Comment