My data row-wise, ie the first line again to display a row. I .Ex added to the list through the reference object ResultSet -
while (rsnext ()) {Comp_Mps ref = new Kanpmpis (); Ref.setLogtime (rs.getString (1)); Ref.setBeam_current (rs.getString (2)); Ref.setBeam_energy (rs.getString (3)); Ref.setst4_vs6_bag1_rb (rs.getString (4)); St_jsp.add (referee); }
where
st_jsp is
List & lt; Comp_MPS & gt; St_jsp = new arreelist & lt; Comp_MPS & gt; ();
And the comp_Mps is the class name. In JSP I appear as data
{(r.beam_energy)}
, but now a large database to me and my Nearly 200 columns are nearby. Therefore, I am not able to make garter and sitar systems for all the columns. So by adding data to the list and JSP pages it exists another way to display the correct format, so line-by and besides I subtract data in JSP, I am not able to do it in Java. Subtraction code in Jsp
& lt; fmt: formatNumber value = "$ {(r.st4_vs6_bag8_rb-row.st4_vs6_bag8_rb}}" maxFractionDigits = "2" minIntegerDigits = "2" pattern = "# #. ## E0" var = "mm" & gt; & Lt; / Fmt: formatNumber & gt; $ {(Mm)}
No comments:
Post a Comment