Browse Source

Links auf Impressum klappen unter Informix nicht mehr #307740

userinfo_gueltigkeit
Daniel Quathamer 1 year ago
parent
commit
3266795fb8
  1. 3
      superx/edit/kern/show_html_content.jsp

3
superx/edit/kern/show_html_content.jsp

@ -69,12 +69,11 @@ PreparedStatement st_output;
ResultSet rs_output; ResultSet rs_output;
st_output=conmm.prepareStatement("select trim(content) from sx_repository where id=? and today() between gueltig_seit and gueltig_bis and aktiv=1"); st_output=conmm.prepareStatement("select trim(content) from sx_repository where id=? and today() between gueltig_seit and gueltig_bis and aktiv=1");
st_output.setString(1,IdOutput); st_output.setString(1,IdOutput);
System.out.println("here we are again2");
rs_output = st_output.executeQuery(); rs_output = st_output.executeQuery();
String sb_output=""; String sb_output="";
while (rs_output.next()) while (rs_output.next())
{ if(rs_output.getObject(1) !=null) { if(rs_output.getObject(1) !=null)
sb_output=rs_output.getObject(1).toString(); sb_output=rs_output.getObject(1).toString().trim();
} }
rs_output.close(); rs_output.close();
st_output.close(); st_output.close();

Loading…
Cancel
Save