¹ØÓÚjsp¹ºÎï³µÎÊÌâ
²»ÖªµÀÄÄλ´óÏÀ¿´¹ýjspÓ¦Óÿª·¢Ïê½âµÚÒ»°æµÄ£¬ÎÒÕÕ×ÅÊéдÁËËüµÄ¹ºÎï³µ´úÂ룬·¢ÏÖÏÔʾ²»ÁË»õÎ¼Û¸ñµÈ£¬Ï£Íû°ïæ¿´¿´£¬Ð»Ð»£¡£¡
<%!
public String code(String str){
String s=str;
try{
byte[]b=s.getBytes("ISO-8859-1");
s=new String(b);
return s;
}
catch(Exception e){return s;}
}
%>
<%
if(session.getAttribute("username")==null || session.getAttribute("username")=="")
{
response.sendRedirect("login.jsp?url="+request.getRequestURI());
}
%>
<html>
<body bgcolor=#ffffff>
<div align="center">
<table width="100%" border="0" bgcolor=#ccccff>
<tr> <td> <div align="center"> <b> <font color=ff0000>¹ºÎï³µ </font> </b> </div>
</td> </tr> </table>
<form name="form1" method="post" action="order1.jsp">
<p>ÄúµÄ¹ºÎï³µÖаüº¬ÒÔÏ»õÎ </p>
<table width=100% border=0 >
<tr bgcolor=#ffcccc> <td width=15%> <div align=center>
<font color=#0000ff>¹ºÂòÊýÁ¿ </font> </div&
Ïà¹ØÎÊ´ð£º
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jas ......
//Óÿͻ§µÄsessionµÄid½¨Á¢Ò»¸öÁÙʱÎļþ£º
//String tempFileName=(String)session.getId();
String tempFileName = (String)session.getId();
//out.println(& ......
ÎÒÏëÓÃjavabeanʵÏÖ¼ÆÊý
´úÂëÈçÏ£º
ComputerCount.java
package tom.jiafei;
import java.io.*;
public class ComputerCount{
int number=0;
boolean iscome=false;
File file=new ......
jsÖеķ½·¨£¬²»ÄÜÔÚjspÖе÷ÓÃÔõô½â¾ö£¿¼±£¡£¡!
²»Ã÷°×Òâ˼
ºÃºÃ¼ì²éÊDz»ÊÇ·¾¶µÄÎÊÌ⣬ºÜÓпÉÄÜ·¾¶²»¶Ôµ¼Öµ÷Óò»µ½
Ìùһϵ÷ÓõĴúÂë¿´¿´°¡~~
ÓÐûÓÐÕýÈ·ÒýÓÃjs£¿º¯ÊýÓÐûÓгõʼ»¯£¿....
jsp´úÂë±¾À´¾ ......
top.jspÀïÃæÒýÓÿؼþ<object id="ocx" classid ="clsid:......"></object>
ÊÔÎÊÎÒÔõô²ÅÄÜÔÚmain.jspÒ³ÃæÖлñÈ¡¸Ã¿Ø¼þ£¿£¿£¿
top.jsp¡¢main.jspÊÇ¿ò¼ÜÒ³ ......