📄 _findpeoplemessage.java
字号:
/*@lineinfo:filename=/FindPeopleMessage.jsp*/
/*@lineinfo:generated-code*/
import oracle.jsp.runtime.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.sql.*;
import to.model.People.*;
import to.model.Login.*;
public class _FindPeopleMessage extends com.orionserver.http.OrionHttpJspPage {
public final String _globalsClassName = null;
// ** Begin Declarations
// ** End Declarations
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException {
response.setContentType( "text/html;charset=GBK");
/* set up the intrinsic variables using the pageContext goober:
** session = HttpSession
** application = ServletContext
** out = JspWriter
** page = this
** config = ServletConfig
** all session/app beans declared in globals.jsa
*/
PageContext pageContext = JspFactory.getDefaultFactory().getPageContext( this, request, response, null, true, JspWriter.DEFAULT_BUFFER, true);
// Note: this is not emitted if the session directive == false
HttpSession session = pageContext.getSession();
if (pageContext.getAttribute(OracleJspRuntime.JSP_REQUEST_REDIRECTED, PageContext.REQUEST_SCOPE) != null) {
pageContext.setAttribute(OracleJspRuntime.JSP_PAGE_DONTNOTIFY, "true", PageContext.PAGE_SCOPE);
JspFactory.getDefaultFactory().releasePageContext(pageContext);
return;
}
int __jsp_tag_starteval;
ServletContext application = pageContext.getServletContext();
JspWriter out = pageContext.getOut();
_FindPeopleMessage page = this;
ServletConfig config = pageContext.getServletConfig();
try {
// global beans
// end global beans
out.write(__oracle_jsp_text[0]);
out.write(__oracle_jsp_text[1]);
out.write(__oracle_jsp_text[2]);
out.write(__oracle_jsp_text[3]);
/*@lineinfo:user-code*//*@lineinfo:19^10*/ loginItem li=(loginItem)session.getAttribute("user"); if(li==null) { response.sendRedirect("OfficeLogin.jsp"); }
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[4]);
/*@lineinfo:user-code*//*@lineinfo:38^9*/ PeopleItem pi=(PeopleItem)request.getAttribute("pi");
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[5]);
/*@lineinfo:user-code*//*@lineinfo:46^55*/ out.print(pi.getPeopleID());
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[6]);
/*@lineinfo:user-code*//*@lineinfo:55^55*/ out.print(pi.getUserName());
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[7]);
/*@lineinfo:user-code*//*@lineinfo:65^57*/ out.print(pi.getPeopleName());
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[8]);
/*@lineinfo:user-code*//*@lineinfo:76^15*/ if(pi.getPeopleSex().equals("男")) {
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[9]);
/*@lineinfo:user-code*//*@lineinfo:81^19*/ } else {
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[10]);
/*@lineinfo:user-code*//*@lineinfo:87^19*/ }
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[11]);
/*@lineinfo:user-code*//*@lineinfo:100^14*/ ResultSet rs=null; PeopleBean pb=new PeopleBean(); rs=pb.getAllNation(); while(rs.next()) { int NationID=rs.getInt("NationID"); String NationName=rs.getString("NationName"); if(NationID==Integer.parseInt(pi.getNation().trim())) {
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[12]);
/*@lineinfo:user-code*//*@lineinfo:111^40*/ out.print(NationID);
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[13]);
/*@lineinfo:user-code*//*@lineinfo:111^75*/ out.print(NationName);
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[14]);
/*@lineinfo:user-code*//*@lineinfo:112^23*/ } else {
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[15]);
/*@lineinfo:user-code*//*@lineinfo:117^40*/ out.print(NationID);
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[16]);
/*@lineinfo:user-code*//*@lineinfo:117^55*/ out.print(NationName);
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[17]);
/*@lineinfo:user-code*//*@lineinfo:118^23*/ } }
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[18]);
/*@lineinfo:user-code*//*@lineinfo:132^51*/ out.print(pi.getAddr().trim());
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[19]);
/*@lineinfo:user-code*//*@lineinfo:142^52*/ out.print(pi.getBirth().trim());
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[20]);
/*@lineinfo:user-code*//*@lineinfo:152^53*/ out.print(pi.getCertid().trim());
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[21]);
/*@lineinfo:user-code*//*@lineinfo:162^51*/ out.print(pi.getPost().trim());
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[22]);
/*@lineinfo:user-code*//*@lineinfo:172^56*/ out.print(pi.getOfficetel().trim());
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[23]);
/*@lineinfo:user-code*//*@lineinfo:182^53*/ out.print(pi.getMobile().trim());
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[24]);
/*@lineinfo:user-code*//*@lineinfo:191^54*/ out.print(pi.getHometel().trim());
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[25]);
/*@lineinfo:user-code*//*@lineinfo:201^52*/ out.print(pi.getEmail().trim());
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[26]);
/*@lineinfo:user-code*//*@lineinfo:211^64*/ out.print(pi.getDescs().trim());
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[27]);
/*@lineinfo:user-code*//*@lineinfo:220^11*/ ResultSet rsc=null; PeopleBean pbc=new PeopleBean(); rsc=pbc.getAllCollege(); while(rsc.next()) { int CollegeID=rsc.getInt("CollegeID"); String CollegeName=rsc.getString("CollegeName"); if(CollegeID==pi.getCollegeID()) {
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[28]);
/*@lineinfo:user-code*//*@lineinfo:231^38*/ out.print(CollegeID);
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[29]);
/*@lineinfo:user-code*//*@lineinfo:231^74*/ out.print(CollegeName);
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[30]);
/*@lineinfo:user-code*//*@lineinfo:232^21*/ } else {
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[31]);
/*@lineinfo:user-code*//*@lineinfo:237^38*/ out.print(CollegeID);
/*@lineinfo:generated-code*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -