}
Long symptomCode = (new Long(request.getInput("symptomCode"))).longValue();
Symptom symptom = facade.searchSymptom(symptomCode);
//#if relacional
symptom.addObserver(facade);
//#endif
request.put(SYMPTOM, symptom);
out.println("Update Symptom");
out.println("<script language=\"javascript\">");
out.println("function submeterDados(modulo)");
out.println("{");
String a1 = "\"";
String a2 = "\"";
out.println(" var f = document.formAlterarUnidade2;");
out.println(" if(f.descricao.value ==" + a1 + a2 + ")");
out.println(" {");
out.println(" alert(\"Digite a nova descri��o do sintoma!\");");
out.println(" f.descricao.select();");
out.println(" return;");
out.println(" }");
out.println(" f.operation.value = \"UpdateSymptomData\";");
out.println(" f.submit();");
out.println("}");
out.println("//--></script>");
out.println("<body><h1>Update Symptom:</h1>");
out.println("<form method=\"POST\" name=\"formAlterarUnidade2\" action=\"http://"+Constants.SERVLET_SERVER_PATH+"HWServlet\">");
out.println("<input type=\"hidden\" name=\"operation\" value=\"UpdateSymptomData\">" );
out.println("<div align=\"center\"><center><h4>Symptom: " + symptomCode + "</h4></center></div>");
out.println("<div align=\"center\"><center><p><strong>Name:</strong><br><input type=\"text\" name=\"descricao\" value=\"" + symptom.getDescription() + "\" size=\"60\"></p></center></div>");
out.println("<div align=\"center\"><center><h4><input type=\"button\" value=\"Update\" name=\"bt1\" onClick=\"javascript:submeterDados();\"><input type=\"reset\" value=\"Clear\" name=\"bt2\"></h4></center></div></form>");
out.println(HTMLCode.closeAdministrator());
} catch (ObjectNotFoundException e) {
out.println("Symptom does not exist!");