C++简单计算器 这个错误在哪里? 有人能帮我看看吗? [问题点数:20分]

Bbs1
本版专家分:0
结帖率 0%
Bbs2
本版专家分:393
帮我看看这个错误是什么吗??
Error #: 2301 : internal compiler error: java.lang.NullPointerExceptionrn
有人帮我看看这个SQL语句错在哪里了吗?
查询分析器提示FROM语句附近有<em>错误</em>,找了半天没找到。。。rnrnSELECT TOP 5 b_author.a_authorid,a_isactive,a_RegistrationTime,a_Email,sum(CAST(b_SalesNumber AS int)) as a FROM b_book right join B_Author on b_book.b_AuthorID = B_Author.a_AuthorID group by b_author.a_authorid,a_isactive,a_RegistrationTime,a_Email HAVING sum(CAST(b_SalesNumber AS int))<(SELECT MIN(sum(CAST(b_SalesNumber AS int))) FROM (SELECT TOP 5 FROM (sum(CAST(b_SalesNumber AS int))) ORDER BY sum(CAST(b_SalesNumber AS int)) DESC) AS tblTmp) ORDER BY sum(CAST(b_SalesNumber AS int)) DESC
各位大侠,有人帮我看看吗?
各位老大,我想做一个小东西,在开机后自动启动,然后使用户只能使用我规定的几个软件。不要有远程控制的。就是在软件里加一个超级用户用他设置。有谁有这方面的资料和源码,给我好吗?
有人帮我看一下这个问题吗?
不能与数据库联系上,<em>错误</em>提示如下:rn用户 'sa' 登录失败。原因: 未与信任 SQL Server 连接相关联。rnrn哪位高手能告诉我这可能是<em>哪里</em>出了问题了,应该怎么样设置才能改正确??谢谢了
有人帮我解释一下这个代码吗?
<em>有人</em>能<em>帮我</em>解释一下<em>这个</em>代码吗,看我的理解对不,不对请更正一下啊,先谢谢了rnrn.386p ; 386+ required =)rn.model flat ; 32 bit registers, no segs.rnrnshit_size equ (offset delta-offset aztec)rnrn.codernrnstart label byternrnaztec:rn pushad ; Push all the registersrn pushfd ; Push the FLAG registerrnrn call delta ; 1 这句是调用delta:标签下的代码吗?rndelta: pop ebp ; 2 这句是把当前的栈顶的4个字节内容弹出到ebp寄存器中么?rn mov eax,ebprn sub ebp,offset delta ; 3 这句不明白什么意思了?请<em>帮我</em>解释下啊,谢谢rnrn sub eax,shit_size ; Obtain the Image Base on 4 不明白????请<em>帮我</em>解释下啊,谢谢rn sub eax,00001000h ; the flyrnNewEIP equ $-4 ; 5 这句不明白什么意思了?请<em>帮我</em>解释下啊,谢谢rn mov dword ptr [ebp+ModBase],eax
有人帮我看看这段语句有什么错误吗?
string inserSQL;rninserSQL="insert into userinfo (uid,upw,uname) values (?,?,?)";rnOleDbCmd=new System.Data.OleDb.OleDbCommand(inserSQL,OleDbCon);rnOleDbCmd.Parameters.Add(new OleDbParameter("@uid",System.Data.OleDb.OleDbType.Char,25));rnOleDbCmd.Parameters.Add(new OleDbParameter("@upw",System.Data.OleDb.OleDbType.Char,20));rnOleDbCmd.Parameters.Add(new OleDbParameter("@uname",System.Data.OleDb.OleDbType.Char,8));rnOleDbCmd.Parameters[0].Value=Lblid.Text.Trim();rnOleDbCmd.Parameters[1].Value=Lblpwd.Text.Trim();rnOleDbCmd.Parameters[2].Value=Lblname.Text.Trim();rnOleDbCon.Open();rnOleDbCmd.ExecuteNonQuery();rnOleDbCon.Close();rn提示说:“<em>错误</em>信息:操作必须使用一个可更新的查询。”rn查来查去不知道那里出了问题
有人帮我看看这个错误怎么修改吗
DownSys.CheckInfusern If Not IsNumeric(Request("id")) And Request("id")<>"" thenrn Response.write"<em>错误</em>的系统参数!ID必须是数字"rn Response.Endrn End Ifrn Dim Rsonline,strUsername,statuserid,stridentity,remoteaddr,onlinemanyrn Dim Rs,SQL,Gradesrn If Request.ServerVariables("HTTP_X_FORWARDED_FOR")=empty Thenrn remoteaddr=Request.ServerVariables("REMOTE_ADDR")rn elsern remoteaddr=Request.ServerVariables("HTTP_X_FORWARDED_FOR")rn End Ifrn If DownSys.membername="" Thenrn Grades = 0rn strUsername ="匿名用户"rn elsern Grades = CInt(DownSys.membergrade)rn strUsername = DownSys.membernamern End Ifrn Set Rs=DownSys.Execute("select * from WD_UserGroup where Grades = "& Grades)rn stridentity = Rs("GroupName")rn Rs.Closern Set Rs=Nothingrn Set Rsonline = server.CreateObject ("adodb.recordset")rn SQL="select * from [WD_Online] where ip='"&remoteaddr&"' and username='"&strUsername&"' or id="&session.sessionidrn Rsonline.Open SQL,Conn,1,3rn If Rsonline.EOF Thenrn Rsonline.addnewrnrn Rsonline("identity") = stridentityrn Rsonline("startTime") = now()rn Rsonline("lastTime") = now()rn Rsonline("browser") = Request.ServerVariables("HTTP_USER_AGENT")rn Rsonline("ip") = remoteaddrrn Rsonline("username") = strUsernamern Rsonline("id") = session.sessionidrn elsern Rsonline("browser") = Request.ServerVariables("HTTP_USER_AGENT")rn Rsonline("lastTime") = now()rn Rsonline("identity") = stridentityrn Rsonline("ip") = remoteaddrrn Rsonline("username") = strUsernamern Rsonline("id") = session.sessionidrn End Ifrn Rsonline.updatern Rsonline.closern Set Rsonline = Nothingrn Rem 删除超时用户rn If IsSQLDataBase = 1 Thenrn conn.execute("delete from [WD_Online] where DateDIff(s,lastTime,GetDate()) > "& CInt(DownSys.Setting(20)) &" * 60")rn elsern conn.execute("delete from [WD_Online] where DateDIff('s',lastTime,Now()) > "& CInt(DownSys.Setting(20)) &" * 60")rn End Ifrn onlinemany = conn.execute("Select count(id)from WD_Online")(0)rn If CInt(Request.Querystring("id")) = 1 Thenrn Response.Write "document.writeln(" & chr(34) & ""& onlinemany &""& chr(34) & ");"rn End IfrnConn.close()rnrnrn------------------------rnrnrn<em>错误</em>类型:rnMicrosoft OLE DB Provider for SQL Server (0x80040E21)rn多步 OLE DB 操作产生<em>错误</em>。如果可能,请检查每个 OLE DB 状态值。没有工作被完成。rn/down/online.asp, 第 46 行rnrnrn浏览器类型:rnMozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727) rn
帮我看看这个链表的错误哪里
下面<em>这个</em>链表是先赋值,然后输出,然后释放,但是黑窗口的输出中会有“应用程序<em>错误</em>”的提示,不知怎么改,请帮忙<em>看看</em>。rnrn[code=c]#include "stdafx.h"rn#include rn#include rnrn#define SIZE 100rnrnstruct name rnrn char firstname[SIZE];rn char lastname[SIZE];rn struct name *next;rn;rnrnint main(void)rnrn struct name *head, *current;rnrn//为链表赋值rn head = (struct name *)malloc(sizeof(struct name));rn puts("Please enter the firstname of a student:");rn gets(head->firstname);rn puts("Please enter the lastname of a student:");rn gets(head->lastname);rn current = (struct name *)malloc(sizeof(struct name));rn head->next = current;rnrn puts("Please enter the firstname of another student:"); rn while(gets(current->firstname)!=NULL && current->firstname[0] != '\0')rn rn puts("Please enter the lastname of another student:");rn gets(current->lastname);rn current = (struct name *)malloc(sizeof(struct name));rn current->next = current;rn rnrn//输出链表rn current = head; rn while(current != NULL)rn rn printf("%-5s %-5s\n", current->firstname, current->lastname);rn current = current->next ;rn rnrn//释放内存 rn current = head; rn while(current != NULL)rn rn free(current);rn current = current->next ;rn rn rn return 0;rnrn[/code]
帮我看看这个小程序 错误哪里
#includern#includernusing namespace std;rnclass timernpublic:rn time():h(0),m(0),s(0);rn //~time();rn int seth();//设置小时rn int setm();//设置分钟rn int sets();//rn void gettime();rn private:rn int h;rn int m;rn int s; rn;rnrnint time::seth()rnrn cin>>h;rn return h;rn rnint time::setm()rnrn cin>>m;rn return m;rn rnint time::sets()rnrn cin>>s;rn return s;rn rnvoid time::gettime()rncout<); rn return 0; rnrnrn
帮我看看这个存储过程错误出在哪里
ALTER PROCEDURE GetPlanUpStatusrn@sureStartYear int,rn@sureStartMonth int,rn@sureEndYear int,rn@sureEndMonth int,rn@nodeID varchar(50),rn@Up_Status int output rnASrn select @Up_Status=COUNT(DISTINCT nodeID) from CaptialMain where sureStartYear=@sureStartYear and sureStartMonth =@sureEndMonth and nodeID=@nodeID rn RETURN rnrn为什么数据库里面明明COUNT(DISTINCT nodeID)=1,可是@Up_Status却为始终为0
帮我看看吗?
我想从数据库取出数据后,每行显示二个公司名称,每页显示20个公司名。rnrn在 rs.pagesize=4 时正常,可每页设在6条以上时,每页都只显示4条记录,其于不见了每翻页都是掉记录, rnrn rn rn rnrn=2 then %>rn第一页rn上一页rnrn第一页 上一页 rnrnrn=1 then %>rn下一页rn最后一页rnrn下一页 最后一页 rnrnrnrn
有人帮我一下吗?
我有一个程序必须在cmd环境中运行,怎么把下面的语句改成cmd环境中的?谢谢了D:\JPEG2000>vm9_compress -i d:\JPEG2000\barbara.raw -rcb 512 512 1 -o newbarbara.jp2 -dt uchar -Fkernels W9X7 -Flev 3 -rate 1
帮我看看这个程序吗
请<em>帮我</em><em>看看</em><em>这个</em>程序 <em>这个</em>错怎么改啊 请也说明下为什么会错的呢rnimport java.awt.*;rnimport java.awt.event.*;rnimport javax.swing.*;rnrnpublic class JoptionPaneFrame extends JFrame rnrn JPanel contentPane;rn FlowLayout flowLayout1=new FlowLayout();rn JButton jbutton1=new JButton();rn JButton jbutton2=new JButton();rn JButton jbutton3=new JButton();rn JButton jbutton4=new JButton();rn rn public JoptionPaneFrame()rn rn enableEvents(AWTEvent.WINDOW_EVENT_MASK);rn tryrn rn jbInit();rn rn catch(Exception e)rn e.printStackTrace();rn rn rn rn private void jbInit() throws Exceptionrnrn contentPane=(JPanel)this.getContentPane();rn jbutton1.setText("Confirm Dialog");rn jbutton1.addActionListener(new java.awt.event.ActionListener()rn public void actionPerformed(ActionEvent ae)jbutton1_actionPerformed(this);rn );rn contentPane.setLayout(flowLayout1);rn this.setSize(498,98);rn this.setTitle("JOptionPane Example");rn rn jbutton2.setText("Input Dialog");rn jbutton2.addActionListener(new ActionListener()rn public void actionPerformed(ActionEvent ae)jbutton2_actionPerformed(this);rn );rn rn jbutton3.setText("Option Dialog");rn jbutton3.addActionListener(new ActionListener()rn public void actionPerformed(ActionEvent ae)jbutton3_actionPerformed(this);rn );rn rn jbutton4.setText("Message Dialog");rn jbutton4.addActionListener(new ActionListener()rn public void actionPerformed(ActionEvent ae)jbutton4_actionPerformed(this);rn );rn rn contentPane.add(jbutton1,null);rn contentPane.add(jbutton2,null);rn contentPane.add(jbutton3,null);rn contentPane.add(jbutton4,null);rn rnrnrnprotected void processWindowEvent(WindowEvent we)rnrn super.processWindowEvent(we);rn if(we.getID()==WindowEvent.WINDOW_CLOSING)rn System.exit(0);rnrnrnvoid jbutton1_actionPerformed(ActionEvent e)rnrn JOptionPane.showConfirmDialog(this,"This is a test!","Confirm Dialog",JOptionPane.OK_CANCEL_OPTION,JOptionPane.INFORMATION_MESSAGE);rnrnrnrnvoid jbutton2_actionPerformed(ActionEvent e)rnrn String[] s="a","b";rn JOptionPane.showInputDialog(this,"This is a test!Please input the value","Input Dialog",JOptionPane.INFORMATION_MESSAGE,null,s,"b");rn rnrnrnvoid jbutton3_actionPerformed(ActionEvent e)rnrn String[] s="a","b","c";rn JOptionPane.showOptionDialog(this,"Warning!This is a Test!","Option Dialog",JOptionPane.YES_NO_CANCEL_OPTION,JOptionPane.WARNING_MESSAGE,null,s,"c");rn rnrnrnvoid jbutton4_actionPerformed(ActionEvent e)rnrn JOptionPane.showMessageDialog(this,"Error!\nThis is a Message Dialog test!","Message Dialog",JOptionPane.ERROR_MESSAGE);rnrnrnrnrn<em>错误</em>信息:rnE:\JAVA\练习\第九章\JoptionPaneFrame.java:31: 无法将 JoptionPaneFrame 中的 jbutton1_actionPerformed(java.awt.event.ActionEvent) 应用于 ()rn public void actionPerformed(ActionEvent ae)jbutton1_actionPerformed(this);rn ^rnE:\JAVA\练习\第九章\JoptionPaneFrame.java:39: 无法将 JoptionPaneFrame 中的 jbutton2_actionPerformed(java.awt.event.ActionEvent) 应用于 ()rn public void actionPerformed(ActionEvent ae)jbutton2_actionPerformed(this);rn ^rnE:\JAVA\练习\第九章\JoptionPaneFrame.java:44: 无法将 JoptionPaneFrame 中的 jbutton3_actionPerformed(java.awt.event.ActionEvent) 应用于 ()rn public void actionPerformed(ActionEvent ae)jbutton3_actionPerformed(this);
高手能帮我看看这个程序吗?
那位高手<em>帮我</em><em>看看</em><em>这个</em>程序,,,是从网上下载来的,但是看不懂,能<em>帮我</em>详细注解一下吗?不胜感激啊!!!这是vc的win32程序。rn#include "resource.h"rn#include "Server.h"rnrnHWND hDialog=0;rnHINSTANCE hInst;rnchar szBuff[ 80 ];rnSOCKET sock;rnint WINAPI WinMain(HINSTANCE hInstance,rn HINSTANCE hPrevInstance,rn LPSTR lpCmdLine,rn int nCmdShow)rnrnrn hDialog = CreateDialog(hInstance,rn MAKEINTRESOURCE (IDD_DEMO),rn 0,rn DialogProc);rn if (!hDialog)rn rn char buf[100];rn wsprintf (buf,"Error x%x", GetLastError());rn MessageBox(0,buf,"CreateDialog",MB_ICONEXCLAMATION | MB_OK);rn return 1;rn rnrn MSG msg;rn int status;rn hInst = hInstance;rn //消息循环rn //If message other than WM_QUIT, the return value is nonzero.rn //If the WM_QUIT message, the return value is 0. rn //If there is an error, the return value is -1. rn while ((status=GetMessage(&msg,0,0,0))!=0)rn rn if (status==-1)rn return -1;rn //whether a message is intended for the specified dialog box,rn //and if it is, processes the message to the Dialog procedure. rn //else ,process the message as usual.rn if (!IsDialogMessage(hDialog,&msg))rn rn TranslateMessage(&msg);rn DispatchMessage(&msg);rn rn rn return msg.wParam;rn rnrn//4 dialog procedurernBOOL CALLBACK DialogProc(HWND hDlg,rn UINT message,rn WPARAM wParam,rn LPARAM lParam)rnrn switch (message) rn rn // inite dialogrn case WM_INITDIALOG:rn rn int status;rn WSADATA WSAData;rn char szTemp[80];rn rn if ((status = WSAStartup(MAKEWORD(1,1), &WSAData)) == 0) rn rn MessageBox( hDlg, WSAData.szDescription, WSAData.szSystemStatus, MB_OK);rn rn elsern rn sprintf(szTemp, "%d is the err", status);rn MessageBox( hDlg, szTemp, "Error", MB_OK);rn rn rn break; rn rn //close the dialogrn case WM_CLOSE:rn DestroyWindow(hDlg); //send WM_DESTROYrn break;rn rn //destroy the windowrn case WM_DESTROY:rn PostQuitMessage(0); //send WM_QUIT,then GetMessage is brokenrn break;rn rn case WM_COMMAND:rn switch (GET_WM_COMMAND_ID(wParam,lParam)) rn rn case IDCANCEL:rn EndDialog(hDlg,TRUE);rn DestroyWindow(hDlg); //send WM_QUIT,then GetMessage is brokenrn break; rn rn case IDOK:rn char szText[128],buf[256];rn GetDlgItemText(hDlg,IDC_TXT,szText,sizeof(szText));rn wsprintf(buf,"Hello! you click OK.\n\n text is:%s",szText);rn MessageBox(hDlg,buf,"Dialog test",0);rn break;rnrn case IDC_BUTTON1:rn StartUp();rn break;rnrn case ID_SEND:rn GetDlgItemText( hDlg, IDC_SENDM, szBuff, 80);rn send(sock, szBuff, strlen(szBuff), NO_FLAGS_SET );rnrn rn break;rnrn case WSA_READ:rn rn int status;rn char szTemp[ MY_MSG_LENGTH ];rnrn if (WSAGETSELECTEVENT(lParam) == FD_READ)rn rn status = recv((SOCKET)wParam, szTemp, MY_MSG_LENGTH, NO_FLAGS_SET );rn if (status)rn rn szTemp[ status ] = '\0';rn SetDlgItemText(hDlg, IDC_RESV, szTemp);rn rn elsern MessageBox( hDlg, "Connection broken", "Error", MB_OK);rn rn rnrn default:rn return FALSE;rn rn rn return TRUE;rn rnrnint StartUp(void)rnrn //SOCKET sock;rn SOCKADDR_IN local_sin;rn u_short portno;rn int acc_sin_len;rn SOCKADDR_IN acc_sin;rn int status;rnrn sock = socket( AF_INET, SOCK_STREAM, 0);rn rn if (sock == INVALID_SOCKET)rn rn SetDlgItemText(hDialog, IDC_STATUS, "socket()出错");rn closesocket(sock);rn return 0;rn rnrn local_sin.sin_family = AF_INET;rn local_sin.sin_addr.s_addr = INADDR_ANY;rnrn GetDlgItemText( hDialog, IDC_PORT, szBuff, 80);rn portno = atoi(szBuff);rn local_sin.sin_port = htons(portno);rnrn SetWindowText( hDialog, "等待连接...");rn SetDlgItemText(hDialog, IDC_STATUS, "监听状态");rnrn if(bind( sock, (struct sockaddr FAR *) &local_sin, sizeof(local_sin)) == SOCKET_ERROR)rn rn sprintf(szBuff, "%d 出错", WSAGetLastError());rn SetDlgItemText(hDialog, IDC_STATUS, szBuff);rn return 0;rn rnrn if(listen( sock, MAX_PENDING_CONNECTS ) < 0)rn rn sprintf(szBuff, "%d 出错", WSAGetLastError());rn SetDlgItemText(hDialog, IDC_STATUS, szBuff);rn return 0;rn rnrn acc_sin_len = sizeof(acc_sin);rnrn sock = accept( sock,(struct sockaddr FAR *) &acc_sin,rn (int FAR *) &acc_sin_len );rn if (sock < 0)rn rn sprintf(szBuff, "%d 出错", WSAGetLastError());rn SetDlgItemText(hDialog, IDC_STATUS, szBuff);rn return 0;rn rnrn SetDlgItemText(hDialog, IDC_STATUS, "建立一个连接");rn EnableWindow( GetDlgItem( hDialog, IDC_PORT ), FALSE );rnrn if ((status = WSAAsyncSelect( sock, hDialog, WSA_READ, FD_READ | FD_CLOSE )) > 0) rn rn wsprintf(szBuff, "%d (0x%x)");rn SetDlgItemText(hDialog, IDC_STATUS, szBuff);rn closesocket( sock );rn rnrn return 1;rnrnrn
帮我看看这个问题吗?
CREATE PROCEDURE ModifyPassword(@userid char(6),@OldPwd char(20),@newPwd char(20))rn ASrnrnif not exists(select * from bsUser where userid=@userid and psw=@OldPwd)rnbeginrn raiserror('[%s]原密码不正确,请重新输入。',16,1,@userid)rn return -1rnendrnrnupdate bsuser set psw=@newPwd where userId=@useridrnGOrnrn写了一个过程用于修改密码。rn我现在想,如果原密码<em>错误</em>,怎样就可以返回rn上面的提示呢:rnraiserror('[%s]原密码不正确,请重新输入。',16,1,@userid)rnrn用c#的,多谢。
有人帮我看看程序吗?
题目:设计一个表示N个学生成绩的结构,每个学生有两门成绩exercise和practice,并由此得到总成绩score=exercise*5%+practice*90%.编程读入学生的姓名和两门成绩,从高到低打印各门成绩和总成绩。rnrn#include rn#define GRADE struct gradernrnGRADErnrn char *name;rn float exercise[2]; //记录两门的exercisern float practice[2]; //记录两门的practicern float score[3]; //记录各门的score和总成绩rn GRADE *next;rn ;rnrnvoid main()rnrn int n;rn printf("input the number of student:");rn scanf("%d",&n);rn GRADE *head=NULL;rn GRADE *gradep,*pcurrent,*pivot;rnrn for (int i=1;iname);rnrn for (int j=0;jexercise[i]);rn printf("input the practice score");rn scanf("%f",&gradep->practice[i]);rn gradep->score[i]=gradep->exercise[i]*0.05+gradep->practice[i]*0.9;rn rn gradep->score[2]=gradep->score[0]+gradep->score[1]; //链表赋初值rnrn if (head==NULL)rn rn head=gradep;rn head->next=NULL; //空链表情况rn rn elsern rn pcurrent=pivot=head;rnrn if(gradep->score[2]>head->score[2])rn rn gradep->next=head;rn head=gradep;rn rn else //以下对链表从大到小排序插入rn rn while (pcurrent!=NULL)rn rn if (gradep->score[2]score[2])rn rn pivot=pcurrent;rn pcurrent=pcurrent->next; //寻找插入点rn rn elsern rn gradep->next=pcurrent;rn pivot->next=gradep;rn break; //插入链表rn rn rnrn if (pivot->next!=gradep)rn rn pivot->next=gradep;rn gradep->next=NULL; //如果前面没有完成插入,说明待插入链表score最小,插在最后rn rn rn rn rnrn pcurrent=head;rn for (int i=1;iname);rn printf("%8.2f\t%8.2f\t%8.2f\n",pcurrent->score[0],pcurrent->score[1],pcurrent->score[2]);rn pcurrent=pcurrent->next;rn rnrn getch();rn rnrn为什么我在赋值第二个链表时,还没有插入,head->name就自动变为gradep->name,帮忙找BUG好吗?谢谢!^_^rnrn
有人帮我看看吗?
string LinkSqlData = "data source=Localhost;initial catalog=DATASQL;persist security info=False;user id=sa;workstation id=AHUI;packet size=4096";rn SqlConnection myConnection = new SqlConnection(LinkSqlData);rn string UpdataCmd = "UPDATA MODULETREE SET TextValue = @TextValue,Url = @Url WHERE This_ID = @This_ID";rn SqlCommand MC = new SqlCommand(UpdataCmd,myConnection);rn MC.Parameters.Add(new SqlParameter("@This_ID",SqlDbType.Int,4));rn MC.Parameters.Add(new SqlParameter("@TextValue",SqlDbType.Char,50));rn MC.Parameters.Add(new SqlParameter("@Url",SqlDbType.Char,50));rn MC.Parameters["@TextValue"].Value = "111111111";rn MC.Parameters["@Url"].Value = "2222222222";rn MC.Parameters["@This_ID"].Value = 1;rn MC.Connection.Open();rn MC.ExecuteNonQuery();rn MC.Connection.Close();rnrn我只想更新This_ID 为1的数据rn结果报错:rn异常详细信息: System.Data.SqlClient.SqlException: 第 1 行: 'UPDATA' 附近有语法<em>错误</em>。rnrn源<em>错误</em>: rnrnrn行 34: MC.Parameters["@This_ID"].Value = 1;rn行 35: MC.Connection.Open();rn行 36: MC.ExecuteNonQuery();rn行 37: MC.Connection.Close();rn行 38: rn rn36行
帮我看看这个错误
[code=C#] public class check : System.Web.UI.Pagern rn public void checkLogin()rn rn Response.Write("xxxxxxx");rn rn [/code]rnrn我有上面那样一个类rnrn但是 创建对象 调用 checklogin方法的时候 却出现<em>错误</em>消息rnrn异常详细信息: System.Web.HttpException: 响应在此上下文中不可用。rnrn[code=C#]源<em>错误</em>: rnrnrn行 32: public void checkLogin()rn行 33: rn行 34: Response.Write("xxxxxxx");rn行 35: rn行 36: rn rnrn源文件: e:\361fdc\App_Code\messageCls.cs 行: 34 [/code]rnrn这是什么原因啊rn
有人能给我看看吗?
这是个背包问题算法程序,调试不下去了,问题应该是出来greedy-package()里的,可是我看不出来,<em>有人</em>能指点一二吗?谢!rnrn#define n 3rn#define m 20rnrnrnmain()rnrnint i;rnstatic float p[n],w[n],x[n],s[n];rnfor(i=1;iw1[i])rn rn x1[i]=1;rn cu=cu-w1[i];rn rn rn rn if(i<=k)rn x1[i]=cu/w1[i];rnrn rn rnsort(p,w,s,k)rnfloat p[],w[],s[];rnint k;rnrn int i,j;rn float b;rn for(i=1;i
帮我看看这个错误!
还需要其它信息请说:[img=http://hiphotos.baidu.com/87%5Fanycall/pic/item/c73624510e086d958d5430da.jpg][/img]
有人帮忙看看吗?
用vb.net做的网页程序,如何控制焦点和tab键呢? rn例如有3个textbox控件,分别是textbox1,textbox2,textbox3。在textbox1处输入123后回车, rn结果需要达到:光标到textbox3处并且textbox2中的内容和textbox1中的内容一样是123.rnrn代码如下:可是就是不行啊 rn
discuz有人熟悉吗,能帮我看看这是什么问题吗
我的模板文件在帖子页header部分 加载了 jquery-1.8.3.min.jsrnrn然后我在分类信息模板下 写了一个div 需要用到  jquery-1.8.3.min.js 做js一些功能和效果rnrn但是我写的div 并不能使用到 header部分 加载的 jquery-1.8.3.min.js,也就是js不起作用rnrn如果我在模板信息div顶部 再加载一遍jquery-1.8.3.min.js,那我的div写的js就可以用了rnrn但是本页模板部分基于jquery-1.8.3.min.js的js功能又不能用了,比如帖子侧边鼠标悬浮出现管理项div,就不能正常弹出了rnrn求解 这是个什么原因
大家帮我看看这个错误吗?
rn rnrn rn
晕了~~大家能帮我看看这个错误吗??
小的现在是用struts写一个web项目,可是有个jsp需要用到很多的下拉菜单,我全部是用rn和写的~不过是写死了的eg:rnrn 2006rn 2005rn 2004rn 2003rn 2002rn 2001rn可是我在从数据库中把<em>这个</em>对象取出来填在jsp上是出现了<em>错误</em>:rnhe system is out of resources.rnConsult the following stack trace for details.rnjava.lang.OutOfMemoryErrorrnrn13:57:32,156 ERROR [Engine] ApplicationDispatcher[/safety] Servlet.service() for servlet jsp threw exceptionrnCompile failed; see the compiler error output for details.rn at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:938)rn at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:758)rn at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)rn at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)rn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)rn at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)rn at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)rn at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)rn at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)rn at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:581)rn at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:101)rn at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:137)rn at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:758)rn at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:890)rn at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:460)rn at org.apache.jsp.WEB_002dINF.view.tiles.layout_002dcontent_002dhorizontal_jsp._jspx_meth_tiles_insert_1(layout_002dcontent_002dhorizontal_jsp.java:347)rn at org.apache.jsp.WEB_002dINF.view.tiles.layout_002dcontent_002dhorizontal_jsp._jspx_meth_logic_notEmpty_2(layout_002dcontent_002dhorizontal_jsp.java:320)rn at org.apache.jsp.WEB_002dINF.view.tiles.layout_002dcontent_002dhorizontal_jsp._jspService(layout_002dcontent_002dhorizontal_jsp.java:161)rn at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)rn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)rn at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)rn at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)rn at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)rn at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)rn at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1056)rn at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:261)rn at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:237)rn at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:300)rn at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231)rn at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)rn at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)rn at com.prg.safety.model.basic.share.filter.EncodingFilter.doFilter(EncodingFilter.java:31)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)rn at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)rn at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)rn at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)rn at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)rn at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)rn at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)rn at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:158)rn at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)rn at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)rn at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)rn at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)rn at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)rn at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)rn at java.lang.Thread.run(Thread.java:534)请大家半帮忙~~~~~~~~~~
可以帮我看看这个程序的错误
rnrnrnrn=#00:00:00# then %>rn上午好!rn=#12:00:00# then %>rn下午好! rnrn晚上好!rnrnrnrnrn
帮我看看这个错误严重吗?
日志中的提示:rnAn error was detected on device \device\harddisk1\DR5 during a paging operationrnrn是什么出了问题,怎么解决!rn先谢各位了!
帮我看看哪里出问题了
[code=SQL]rnSELECT 站号, 年, 月, AVG(均温) / 10 AS 均温, AVG(相对湿度) AS 相对湿度, AVG(高温) rn / 10 AS 高温, AVG(低温) / 10 AS 低温, AVG(均压) / 10 AS 均压, AVG(高压) / 10 AS 高压, rn AVG(低压) / 10 AS 低压, AVG(均风) / 10 AS 均风, AVG(大风) / 10 AS 大风rnFROM 日对比差rnWHERE (均温 <>32766) ORrn (高温 <>32766) ORrn (低温 <>32766) ORrn (均压 <>32766) ORrn (高压 <>32766) ORrn (低压 <>32766) ORrn (相对湿度 <>32766) ORrn (均风 <>32766) ORrn (大风 <>32766)rnGROUP BY 站号, 年, 月rn[/code]rnrn为什么,32766还是参与了计算结果rn[color=#3366FF]站号 年 月 均温 高温 低温 均压 高压 低压 相对湿度 均风 大风rn51053 2005 12 0 0 0 0 0 0 0 0 0rn51058 2006 1 0 3 0 0 0 0 0 0 3276rn51058 2006 2 0 0 0 0 0 0 0 0 3276rn51058 2006 3 0 0 0 0 0 0 0 105 3276[/color]rnrn帮帮忙吧rn[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/onion/3.gif][/img]rnrnrn
有人碰过这个错误吗?
配置<em>错误</em>,引用的某个DLL拒绝访问rn不知道是什么原因
有人遇到过这个错误吗?
javac:Invalid Flag. D:\Directory\src\ora.db\counterrnrn编译此文件成功,但执行就报上述<em>错误</em>。rnrn请教大家。
这个错误有人遇到吗?
我compile没有问题,但是build的时候出现了<em>这个</em><em>错误</em>,为什么?怎么解决?<em>有人</em>遇到过吗?thaks,问题如下rnfatal error RC1015: cannot open include file 'afxres.h'.rnError executing rc.exe.
有人知道这个错误吗,
配置<em>错误</em> rn说明: 在处理向该请求提供服务所需的配置文件时出错。请检查下面的特定<em>错误</em>详细信息并适当地修改配置文件。 rnrn分析器<em>错误</em>信息: 访问被拒绝:“fredck.fckeditor”。rnrn源<em>错误</em>: rnrnrn行 196: rn行 197: rn行 198: rn行 199: rn行 200: rn rnrn源文件: c:\windows\microsoft.net\framework\v1.1.4322\Config\machine.config 行: 198 rnrn程序集加载跟踪: 下列信息有助于确定程序集“fredck.fckeditor”无法加载的原因。rnrnrn=== Pre-bind state information ===rnLOG: DisplayName = fredck.fckeditorrn (Partial)rnLOG: Appbase = file:///F:/aspnet/Kaersoft技术论坛V0.5 371_ersoft_Forumv0。5rnLOG: Initial PrivatePath = binrnCalling assembly : (Unknown).rn===rnrnLOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).rnLOG: Post-policy reference: fredck.fckeditorrnLOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/kaersoft_forum/c059ce36/b552aa12/fredck.fckeditor.DLL.rnLOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/kaersoft_forum/c059ce36/b552aa12/fredck.fckeditor/fredck.fckeditor.DLL.rnLOG: Attempting download of new URL file:///F:/aspnet/Kaersoft技术论坛V0.5 371_ersoft_Forumv0。5/bin/fredck.fckeditor.DLL.rnLOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).rnLOG: Post-policy reference: FredCK.FCKeditor, Version=0.9.0.28136, Culture=neutral, PublicKeyToken=nullrnrn rnrn
帮我看看代码错误哪里
CurrentConvert.asprnrnrnrnrn rn rnConvert: rn US dollars to Euros.rn rnrn rn rnrnrnrnCurrencyConvert.vbrn' VB DocumentrnImports Microsoft.VisualBasicrnImports SystemrnImports System.WebrnImports System.Web.UIrnImports System.Web.UI.WebControlsrnImports System.Web.UI.htmlControlsrnrnPublic Class CurrencyConverterrn Inherits Pagern rn Protected Result As HtmlGenericControlrn Protected WithEvents Convert As HtmlInputButtonrn Protected US As HtmlInputTextrn rn Private Sub Convert_ServerClick(sender as Object,e As EventArgs) Handles Convert.ServerClickrn rn Dim Amount As Decimal = Val(US.value)rn Dim Item As ListItemrn 就在这里>>>>>>>>>>>Item = Currency.Items(Currency.SelectedIndex)rn rn Dim NewAmount As Decimal = Amount * val(Item.Value)rn 'Dim EuroAmount As Decimal = USAmount * 1.12rn Result.InnerText = Amount.ToString() & "US dollars ="rn Result.InnerText &= NewAmount.ToString() & "" &Item.Textrn End Subrn rn Private Sub Page_Load(Sender As Object,E As EventArgs) Handles MyBase.Loadrn If Me.IsPostBack = Falsern Currency.Item.Add(New ListItem("Euro","1.12"))rn Currency.Item.Add(New ListItem("Japanese Yen","122.33"))rn Currency.Item.Add(New ListItem("Canadian Dollars","1.58"))rn 'Currency.Item.Add("Euro")rn 'Currency.Item.Add("Japanese Yen")rn 'Currency.Item.Add("Canadian Dollars")rn End Ifrn End SubrnEnd classrn<em>错误</em>提示:rn“System.Currency”是“Private”,因此它在此上下文中无法访问。rnItem = Currency.Items(Currency.SelectedIndex)这行有<em>错误</em>20行CurrentConvert.vbrnrn
帮我看看吗,谢谢!
rnrnrnrnrnrn代码调试总给出“ERROR:Please try again !”,不知道<em>哪里</em>不对,大家能<em>帮我</em><em>看看</em>吗?谢谢了!
帮我看看什么原因吗??
D:\WINNT\system32> "d:\winnt\microsoft.net\framework\v1.0.2914\vbc.exe" /t:library /utf8output /R:"d:\winnt\assembly\gac\system.web.services\1.0.2411.0__b03f5f7f11d50a3a\system.web.services.dll" /R:"d:\winnt\assembly\gac\system.data\1.0.2411.0__b77a5c561934e089\system.data.dll" /R:"d:\winnt\assembly\gac\system.drawing\1.0.2411.0__b03f5f7f11d50a3a\system.drawing.dll" /R:"d:\winnt\assembly\gac\system.xml\1.0.2411.0__b77a5c561934e089\system.xml.dll" /R:"d:\winnt\assembly\gac\system\1.0.2411.0__b77a5c561934e089\system.dll" /R:"d:\winnt\assembly\gac\system.web\1.0.2411.0__b03f5f7f11d50a3a\system.web.dll" /out:"D:\WINNT\Microsoft.NET\Framework\v1.0.2914\Temporary ASP.NET Files\root\fa7064c6\2014c0f1\lzloylzn.dll" /debug- "E:\dongyu\wwwroot\socket\2001020701.vb"rnrnrnMicrosoft (R) Visual Basic.NET 编译器版本 7.00.9254rn用于 Microsoft (R) .NET CLR 版本 1.00.2914.16rn版权所有 (C) Microsoft Corp 2001。保留所有权利。rnrnE:\dongyu\wwwroot\socket\2001020701.vb(60) : error BC30311: 无法将类型“System.Net.IPHostEntry”的值转换为“System.Net.IPAddress”。rnrn Dim IPMail as IPAddress = myDNS.Resolve(mServer)rn ~~~~~~~~~~~~~~~~~~~~~~rnE:\dongyu\wwwroot\socket\2001020701.vb(72) : error BC30491: 此表达式不产生值。rnrn tResponse = Telnet.Connect(mServer,25)rn ~~~~~~~~~~~~~~~~~~~~~~~~~~rnE:\dongyu\wwwroot\socket\2001020701.vb(124) : error BC30491: 此表达式不产生值。rnrn if (sToSend.Length()=nStream.Write(bData,0,bData.Length())) Then rn ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rnrn
看看这个小小的错误哪里
#include rnusing namespace std;rnrnclass Complexrnrnprivate:rn double rpart, ipart;rnpublic:rn Complex(double r = 0.0, double i = 0.0)rn rn rpart = r;rn ipart = i;rn rn friend ostream& operator << (ostream&, Complex&);rn;rnrnostream& operator << (ostream& os, Complex& c)rnrn os << "(" << c.rpart << "," << c.ipart << ")" << endl;rn return os;rnrnrnint main()rnrn Complex a(5, 4), b(1.1, 2.2);rn cout << a << b;rn return 0;rnrn以上错在<em>哪里</em>?初学
看看这个代码错误哪里
把JSON转为Ddataset,提示var那个地方<em>错误</em>,要怎么改呢?rnrnusing System;rnusing System.Data;rnusing System.Configuration;rnusing System.Collections;rnusing System.Web;rnusing System.Web.Security;rnusing System.Web.UI;rnusing System.Web.UI.WebControls;rnusing System.Web.UI.WebControls.WebParts;rnusing System.Web.UI.HtmlControls;rnrnusing System.Text;rnrnusing System.Web.Script.Serialization;rnrnusing System.Collections.Generic;rnusing System.Data.SqlClient;rnrn/// rn /// 将JSON解析成DataSet只限标准的JSON数据rn /// 例如:Json=t1:[name:'数据name',type:'数据type'] 或 Json=t1:[name:'数据name',type:'数据type'],t2:[id:'数据id',gx:'数据gx',val:'数据val']rn /// rn /// Json字符串rn /// DataSetrn public static DataSet JsonToDataSet(string Json)rn rn tryrn rn DataSet ds = new DataSet();rn JavaScriptSerializer JSS = new JavaScriptSerializer();rnrnrn object obj = JSS.DeserializeObject(Json);rn Dictionary datajson = (Dictionary)obj;rnrnrn foreach ([color=#FF0000]var[/color] item in datajson)rn rn DataTable dt = new DataTable(item.Key);rn object[] rows = (object[])item.Value;rn foreach ([color=#FF0000]var[/color] row in rows)rn rn Dictionary val = (Dictionary)row;rn DataRow dr = dt.NewRow();rn foreach (KeyValuePair sss in val)rn rn if (!dt.Columns.Contains(sss.Key))rn rn dt.Columns.Add(sss.Key.ToString());rn dr[sss.Key] = sss.Value;rn rn elsern dr[sss.Key] = sss.Value;rn rn dt.Rows.Add(dr);rn rn ds.Tables.Add(dt);rn rn return ds;rn rn catchrn rn return null;rn rn rnrnrn rn
看看这个错误错在哪里
Set MSFlexGrid1.DataSource = rsrnrn这句语句报错 对象变量或with变量未设置rnrn请问应该怎样设置
求助:请帮我看看这个C程序看看哪里不对?
#include rn#include "malloc.h"rn#define null 0rntypedef char ElemType;rntypedef struct LNodernrn ElemType data;rn struct LNode *next;rn;rnrn/*setnull(struct LNode **p)rn头指针置空rn *p = null;rn*/rnrnint length(struct LNode **p) rn/*求链表长度*/rn int n = 0 ;rn struct LNode *q= *p;rn while(q!=null)rn rn n++;rn q=q->next;rn rn return(n);rnrnrnElemType get(struct LNode **p,int i)rn/*获取某一结点数据*/rn int j=1;rn struct LNode *q = *p;rn while(jnext;rn j++;rn rn if(q!=null)rn return(q->data);rn elsern /*printf("parameter is not correct!\n");*/rn return (-1);rn rnrn int locate(struct LNode **p,ElemType x)rn /*确定某一数据所在结点的位置*/rn int n= 0;rn struct LNode *q = *p;rn while(q!=null&&q->data!=x)rn rn q=q->next;rn n++;rn rn if(q==null)rn return(-1);rn elsern return(n+1);rn rnrn void insert(struct LNode **p,ElemType x,int i )rn /*插入结点,x为要插入的数据,i为插入的位置*/rn int j=1;rn struct LNode *s,*q;rn s=(struct LNode *)malloc(sizeof(struct LNode));rn s->data = x;rn q=*p;rn if(i==1)rn rn s->next =q;rn q=s;rn rn elsern rn while(jnext!=null)rn rn q=q->next;rn j++;rn rn if(j==i-1)rn rn s->next = q->next;rn q->next = s;rn rn else printf("parameter is wrong!");rn rn rn void delete(struct LNode **p,int i)/*不知该函数是否正确?*/rn /*删除结点*/rn int j=0;rn struct LNode *q,*s;rn q = *p;rn if(inext!=null)rn rn q=q->next;rn j++;rn rn if(j==i-1)rn rn s= q->next; rn q->next = q->next->next;rn free(s);rn rn else printf("Locate paremeter is wrong!\n");rn rnrnrnvoid display(struct LNode **p)rn/*显示链表*/rn struct LNode *q;rn q= *p;rn printf("single linklist show:\n");rn if(q==null)rn printf("Linklist is empty!\n");rn else if(q->next ==null)rn printf("%c\n",q->data);rn elsern while(q->next!=null)rn rn printf("%c->",q->data);rn q = q->next;rn rn printf("%c",q->data);rn rn printf("\n");rnrnrnmain()rnrn struct LNode *head,*q;rn char e,y;rn int i,n;rn int select,x1,x3,m,g;rn ElemType x2;rn head = null;rn /*头指针置空*/rn printf("please input the length of linklist:");rn scanf("%d",&n);rn for(i=1;i,&g);rn delete(&head,g);rn display(&head);rn break;rnrn rnrnrn运行结果:rnplease input the length of linklist:3rninsert datas into Linklist://为何显示两行?rninsert datas into Linklist:rnarninsert datas into Linklist:rnsingle linklist show:rnLinklist is empty!//插入数据不成功rnrnselect 1.account the length:length()rnselect 2.get the node: get()rnselect 3.locate()rnselect 4.delete the node:delete()rninput your select: 2rnplease input you want to get the node: 3rn /nsingle linklist show:rnLinklist is empty!rnrn运行环境:windows 2003 下 Turbo C 2.0rnrn
帮我看一下错误吗?
下面是WebSphere报的错,不知道一般是什么原因导致的,出现<em>错误</em>后WebSphere停2,3分钟自动重起服务恢复rn "Servlet.Engine.Transports:468" (TID:0x1b33518, sys_thread_t:0x2477a410, state:R, native ID:0xbcc) prio=5rn at java.net.SocketInputStream.socketRead(Native Method)rn at java.net.SocketInputStream.read(SocketInputStream.java(Compiled Code))rn at com.ibm.ws.io.Stream.read(Stream.java(Compiled Code))rn at com.ibm.ws.io.ReadStream.readBuffer(ReadStream.java(Compiled Code))rn at com.ibm.ws.io.ReadStream.read(ReadStream.java(Compiled Code))rn at com.ibm.ws.http.HttpRequest.readRequestLine(HttpRequest.java(Compiled Code))rn at com.ibm.ws.http.HttpRequest.readRequest(HttpRequest.java(Compiled Code))rn at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java(Compiled Code))rn at com.ibm.ws.http.HttpConnection.run(HttpConnection.java(Compiled Code))rn at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)rnrn ----- Native Stack -----rn Address Framern 0x77f827e8 0x2d08fb04 NtWaitForSingleObject+0xbrn 0x74f58e33 0x2d08fb80 WSPGetSockOpt+0x5927rn 0x74fba247 0x2d08fbc8 recv+0x99rn 0x707b3197 0x00000a9c 0x0001:0x00002197 d:\WebSphere\AppServer\java\jre\bin\hpi.dll
帮我看看这个错误
type Exception reportrnrnmessage rnrndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexception rnrnjavax.servlet.ServletException: java.lang.reflect.InvocationTargetExceptionrn org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:515)rn org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:422)rn org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:99)rn org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174)rn org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)rn org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:78)rn org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)rn org.xc.system.filter.AuthoryFilter.doFilter(AuthoryFilter.java:114)rn org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)rn org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)rn org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)rn org.hi.framework.security.acegi.ResourceBindleFilterSecurityInterceptor.doFilter(ResourceBindleFilterSecurityInterceptor.java:114)rn org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)rn org.hi.framework.security.acegi.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)rn org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)rn org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)rn org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)rn org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)rn org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)rn org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:106)rn org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)rn org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:217)rn org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)rn org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:229)rn org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)rn org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)rn org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)rnrnrnroot cause rnrnjava.lang.reflect.InvocationTargetExceptionrn sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)rn sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn java.lang.reflect.Method.invoke(Method.java:616)rn com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:404)rn com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:267)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:229)rn com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:221)rn com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)rn com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)rn com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)rn com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)rn com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:150)rn org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:48)rn com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)rn com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)rn com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)rn com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)rn com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:123)rn com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)rn com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)rn com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)rn com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:184)rn com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)rn com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)rn com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)rn com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
帮我看看这个错误 !!!!!!
OraTable_UserDayReport->Insert();rn OraTable_UserDayReport->FieldByName("DATE_ID")->AsDateTime =rn IncDay(startDate, 1);rn OraTable_UserDayReport->FieldByName("CORP_ID")->AsInteger =rn pQuery->FieldByName("CORP_ID")->AsInteger;rn OraTable_UserDayReport->FieldByName("PROD_ID")->AsInteger =rn pQuery->FieldByName("PROD_ID")->AsInteger;rn OraTable_UserDayReport->FieldByName("PROD_GRP_ID")->AsInteger =rn pQuery->FieldByName("PROD_GRP_ID")->AsInteger;rn OraTable_UserDayReport->Post();rn// DATE_ID, CORP_ID , PROD_ID, PROD_GRP_ID联合做为主键rn// 当运行到Post的时候报ora-00904,非法列名的<em>错误</em>rn// 请帮分析一下
谁来帮我看看这个错误?
我自己写了一个DLL,rnextern "C"_declspec(dllexport) CString FileFind(CString sfile)rnrn WIN32_FIND_DATA fd;rn HANDLE hd=::FindFirstFile((LPCTSTR)sfile,&fd);rn if(hd==INVALID_HANDLE_VALUE)rn return "wrong" ; rn return fd.cFileName;rnrn编译通过,在另一个EXE文件中调用该DLL,返回的却是 wrong,为什么?
帮我看看这个错误
create FUNCTION queqinDays(@jgh varchar,@nian varchar, @yue varchar) rnreturns int as rnbegin rndeclare @num int rnset @num=0 rndeclare @zt varchar(30) rnfor(int i=0;i <>'01') rn( rnset @num=@num+1 rn) rn) rnend rnreturn @num rn该怎么写<em>这个</em>函数
大家帮我看看这个错误
大家<em>帮我</em><em>看看</em>有什么<em>错误</em>,编译后出现:rnCompiling...rnCpp1.cpprnC:\Documents and Settings\Administrator\桌面\Cpp1.cpp(36) : warning C4715: 'isSub' : not all control paths return a valuernLinking...rnrnCpp1.exe - 0 error(s), 1 warning(s)rnrnrn原文如下:rnrn# include rnrnint isSub(char *,char *);rnrnmain()rnrn char * a="acbdef";rn char * b="bde";rn //cout<
帮我看看这个什么错误。。。
<em>错误</em>如下:rnrnrnHTTP Status 500 - rnrn--------------------------------------------------------------------------------rnrntype Exception reportrnrnmessage rnrndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexception rnrnorg.apache.jasper.JasperException: UserDatarn at org.apache.jasper.compiler.BeanRepository.getBeanType(BeanRepository.java:183)rn at org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:691)rn at org.apache.jasper.compiler.Node$GetProperty.accept(Node.java:552)rn at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:1028)rn at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:1070)rn at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:1076)rn at org.apache.jasper.compiler.Node$Root.accept(Node.java:232)rn at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:1028)rn at org.apache.jasper.compiler.Generator.generate(Generator.java:1871)rn at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:238)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:351)rn at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:474)rn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:184)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)rn at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)rn at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)rn at java.lang.Thread.run(Thread.java:536)rnrnrnroot cause rnrnjava.lang.ClassNotFoundException: UserDatarn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1428)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1274)rn at org.apache.jasper.compiler.BeanRepository.getBeanType(BeanRepository.java:181)rn at org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:691)rn at org.apache.jasper.compiler.Node$GetProperty.accept(Node.java:552)rn at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:1028)rn at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:1070)rn at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:1076)rn at org.apache.jasper.compiler.Node$Root.accept(Node.java:232)rn at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:1028)rn at org.apache.jasper.compiler.Generator.generate(Generator.java:1871)rn at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:238)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:351)rn at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:474)rn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:184)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)rn at 。。。。。。。。。。。。。rnrn
谁能帮我看看这个错误??
“/ypeaker/db”应用程序中的服务器<em>错误</em>。rn--------------------------------------------------------------------------------rnrn用户 'YPEAKER\ASPNET' 登录失败。 rn说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该<em>错误</em>以及代码中导致<em>错误</em>的出处的详细信息。 rnrn异常详细信息: System.Data.SqlClient.SqlException: 用户 'YPEAKER\ASPNET' 登录失败。rnrn源<em>错误</em>: rnrnrn行 26: private void Page_Load(object sender, System.EventArgs e)rn行 27: rn行 28: //String strConnection="server=(local);database=Northwine;integrated security=true;";rnrn行 29: //SqlConnection objConnection=new SqlConnection(strConnection);rn行 30: //String strSQL="SELECT";rn rnrnrn说是28行有<em>错误</em>,可我28行已经注销了啊?
帮我看看这个是什么错误
[code=Java]HTTP Status 500 - rnrn--------------------------------------------------------------------------------rnrntype Exception reportrnrnmessage rnrndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexception rnrnorg.apache.jasper.JasperException: An exception occurred processing JSP page /excel1.jsp at line 15rnrn12: String sql;rn13: sql="select * from h_Fangyuan";rn14: conn = sqlconnect.getConnection(); rn15: stmt = conn.createStatement(); rn16: rs = stmt.executeQuery(sql); rn17: while(rs.next()) rn18: out.print(rs.getInt("id"));rnrnrnStacktrace:rn org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:505)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rnrnrnroot cause rnrnjava.lang.NullPointerExceptionrn org.apache.jsp.excel1_jsp._jspService(excel1_jsp.java:69)rn org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rnrnrnnote The full stack trace of the root cause is available in the Apache Tomcat/6.0.20 logs.rnrnrn--------------------------------------------------------------------------------rnrnApache Tomcat/6.0.20[/code]
谁能帮我看看这个错误
头一天运行项目都是正常的,第二天就报<em>这个</em><em>错误</em>了,大家<em>帮我</em><em>看看</em>是怎么回事。rnrnrnHTTP Status 500 - rnrn--------------------------------------------------------------------------------rnrntype Exception reportrnrnmessage rnrndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexception rnrnorg.apache.jasper.JasperException: javax.servlet.ServletException: java.lang.NoClassDefFoundError: org/apache/struts2/views/jsp/PropertyTagrn org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:491)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:401)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rnrnrnroot cause rnrnjavax.servlet.ServletException: java.lang.NoClassDefFoundError: org/apache/struts2/views/jsp/PropertyTagrn org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:862)rn org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)rn org.apache.jsp.index_jsp._jspService(index_jsp.java:93)rn org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rnrnrnroot cause rnrnjava.lang.NoClassDefFoundError: org/apache/struts2/views/jsp/PropertyTagrn org.apache.jsp.index_jsp._jspx_meth_s_005fproperty_005f0(index_jsp.java:105)rn org.apache.jsp.index_jsp._jspService(index_jsp.java:77)rn org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rnrnrnroot cause rnrnjava.lang.ClassNotFoundException: org.apache.struts2.views.jsp.PropertyTagrn org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)rn org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)rn org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:128)rn org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:66)rn org.apache.jsp.index_jsp._jspx_meth_s_005fproperty_005f0(index_jsp.java:105)rn org.apache.jsp.index_jsp._jspService(index_jsp.java:77)rn org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rnrnrnnote The full stack trace of the root cause is available in the Apache Tomcat/6.0.29 logs.rnrn
帮我看看这个asp错误
答复对象 <em>错误</em> 'ASP 0185 : 8002000e' rnrn缺少默认属性 rnrn/zhharbourwh/WorkShop/Tcoaljob/ChargeBalance.asp,行0 rnrn找不到对象的默认属性。 rnrn行0,我都不知道<em>哪里</em>错了,不过我用rnresponse.write rnresponse.end rn调试,直到rnStorageFee=ComputeStorageFee(rs("GoodsCode"),rs("CustomerCode")) rn行,就出错了,我以前一直都不会的,不知道怎么了,而且两个参数值都正常的,如果有谁知道这是<em>哪里</em>出了问题,万分感谢。。。rn
(急)帮我看看这个错误
Microsoft VBScript 运行时<em>错误</em> <em>错误</em> '800a0005' rnrn无效的过程调用或参数: 'left'rnrn代码如下:rn
帮我看看这个eWebEiditor的错误
使用eWebEditor,配置在Weblogical8.1下,出现如下<em>错误</em>:rnrnrnError 500--Internal Server Error rnjava.lang.NullPointerExceptionrnat jsp_servlet.__ewebeditor._jspService(__ewebeditor.java:272)rnat weblogic.servlet.jsp.JspBase.service(JspBase.java:33)rnat weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)rnat weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)rnat weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:463)rnat weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)rnat weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)rnat weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)rnat weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)rnat weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)rnat weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)rnat weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)rnat weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)rn不知道是怎么回事?请各位计算机高手请教一下!
大家帮我看看这个错误
rnrnrn rn请输入SQL语句:rnrn确定rnrnrnrn rnrnrn编译器<em>错误</em>信息: BC30002: 未定义类型“adoconnection”。rnrn可是书上就是这么写的啊??是不是区分大小写啊rnrn另外如果这里有什么其他的<em>错误</em>,也请一并告诉我,我先谢谢了rnrnrn
各位帮我看看这个错误....
我在asp.net中连接access2003数据库rn他报错:rnFROM 子句语法<em>错误</em>。rnrn程序如下:rn DataTable dt = new DataTable();rn OleDbCommand dtCmd = new OleDbCommand();rn string sql="select id,dept,name from user";rn dtCmd.CommandText = sql;rn dtCmd.Connection = conn;rn OleDbDataAdapter apt = new OleDbDataAdapter(dtCmd.CommandText,conn);rn // tryrn // rn conn.Open();rn apt.Fill(dt);rn // rn // catchrn // rn // throw new Exception("打开数据库出错");rn // rn conn.Close();rn return dt;rnrn他在 apt.fill这句出错,报错就是“FROM 子句语法<em>错误</em>”rn我的数据库连接串为rnreturn @"Provider=Microsoft.Jet.OLEDB.4.0; Data Source=D:\Inetpub\wwwroot\Files\Data\files.mdb;User Id=admin;Password=;";rnrn那个SQL我用access的查询分析器来查询都能运行
帮我这个程序吗?
C++ 的爱好者们@@?rn 本人是一菜鸟级的fan,在了解到连接列表的有如下程序,欢迎各位help,talk,rnrnrn 驱动程序:rnrn0 #include "def0514.h"rn1 #include "node0601.h"rn2 int main()rn3 rn4 Node head('a');rn5 head.Insert('b');rn6 int Count=head.HowMany('a')rn7 coutInsert(theChar);rn42 rnrnrndef0514.hrnrn0 #ifndef DEFINEDrn1 #define DEFINEDrn2rn3 #includern4 using namespace std;rn5rn6 const char alpha[]="abcedfghijklmnopqrstuvwxyz";rn7 const int minPos=2;rn8 const int maxPos=10;rn9 const int minLetters=2;rn10 const int maxLetters=26;rn11 rn12 #define DEBUGrn13rn14 #ifndef DEBUGrn15 #define ASSERT(x)rn16 #elsern17 #define ASSERT(x) \rn18 if(!(x)) \rn19 \rn20 cout<<<<<<n23 rn24 #endifrnrnrn node类声明rn rn0 class Nodern1 rn2 public:rn3 Node(char c);rn4 ~Node();rn5 void Display()const;rn6 int HowMany (char c) const;rn7 void Insret (char c);rn8 rn9 private:rn10 char GetChar();rn11 Node *GetNext();rn12 char myChar;rn13 Node *nextNode;rn14 rnrnrnrn能详细介绍一下各个方法的实现情况吗?(含this指针的方法,)rn他们都太抽象了,能明了一些吗?rnrn
帮我看看这个错误是什么
http://222.76.212.235:7999/SilverlightApplication7TestPage.html
帮我看看这个错误
#include rnvoid getmemory(char *p)rnrnp=(char *) malloc(100);rnstrcpy(p,"hello world");rnrnint main( )rnrnchar *str=NULL;rngetmemory(str);rnprintf("%s/n",str);rnfree(str);rnreturn 0;rnrn<em>这个</em>程序错在哪 啊rn
帮我看看这个连接错误!!!!
包错如下:rnunresolved external symbol "public: int __thiscall AppMgr::Start(struct HINSTANCE__ *,struct HINSTANCE__ *,char *,int)" (?Start@AppMgr@@QAEHPAUHINSTANCE__@@0PADH@Z)rnApp_LoGine.obj : error LNK2001: unresolved external symbol "class AppMgr theAppMgr" (?theAppMgr@@3VAppMgr@@A)rnLIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _mainrnDebug/App_LoGine.exe : fatal error LNK1120: 3 unresolved externalsrn象这样的连接<em>错误</em>是怎么回事啊??我不知道怎样来调试这样的<em>错误</em>:rn代码如下:rn#include "stdafx.h"rn#include "AppMgr.h"rnrnCRITICAL_SECTION g_cs;rnrnint APIENTRY WinMain(HINSTANCE hInstance,rn HINSTANCE hPrevInstance,rn LPSTR lpCmdLine,rn int nCmdShow)rnrn // TODO: Place code here.rn ::InitializeCriticalSection(&g_cs);rnrn if(!theAppMgr.Start(hInstance, hPrevInstance, lpCmdLine, nCmdShow))rn //errorrn MessageBox(NULL, "檬扁拳累诀阑 肯丰且 荐 绝嚼聪促.\r\n角青吝牢 促弗 橇肺弊伐阑 辆丰窍绊 促矫 矫档秦 林绞矫坷", "Sayclub Logine", NULL);rn ::DeleteCriticalSection(&g_cs);rn return 1;rn rn ::DeleteCriticalSection(&g_cs);rnrn return 0;rnrn
达人帮我看看这个错误
[code=C#] rnpublic Byte[] EncryptEx(string Data, string Key)rn rn if (Data == null || Key == null) return null;rn byte[] Data_byte = Encode.GetBytes(Data);rn Byte[] Output = new Byte[Data_byte.Length];rn Int64 i = 0;rn Int64 j = 0;rn byte k;rn Int16 mBoxL = 256;rn Byte[] mBox = GetKey(Encode.GetBytes(Key), mBoxL);rnrn // 加密rn for (Int64 L = 0; L < Data_byte.Length; L++)rn rn i = (i + 1) % mBoxL;rn j = (j + mBox[i]) % mBoxL;rnrn Byte temp = mBox[i];rn mBox[i] = mBox[j];rn mBox[j] = temp;rnrn //Byte a = Data[L];rn //Byte b = mBox[(mBox[i] + mBox[j] % mBox.Length) % mBox.Length];rn // mBox[j] 一定比 mBox.Length 小,不需要在取模rn mBox[k] =mBox[(byte)(mBox[i] + mBox[j]) % mBoxL];rnrn Output[L] = (Byte)(mBox[k] ^ Data_byte[L]);rn rnrn return Output;rn rnrn public Byte[] DecryptEx(string Data, String Key)rn rn return EncryptEx(Data, Key);rn rnrn /// 打乱后的S盒rn static private Byte[] GetKey(Byte[] Pass,Int32 KLen)rn rn Byte[] mBox = new Byte[KLen];rnrn for (Int64 i = 0; i < KLen; i++)rn rn mBox[i] = (Byte)i;rn rnrn Int64 j = 0;rn for (Int64 i = 0; i < KLen; i++)rn rn j = (j + mBox[i] + Pass[i % Pass.Length]) % KLen;rnrn Byte temp = mBox[i];rn mBox[i] = mBox[j];rn mBox[j] = temp;rn rn return mBox;[/code]rn报了三个<em>错误</em>rn\Settings.Designer.csrnF:\coding\C\StartFrame\StartFrame\RC4Crypto.cs(16,32): <em>错误</em> CS0103: 当前上下文中不存在名称“Encode”rnF:\coding\C\StartFrame\StartFrame\RC4Crypto.cs(23,34): <em>错误</em> CS0103: 当前上下文中不存在名称“Encode”rn无法将类型“byte”转换为“string”rnrn请问Data和Key都是从text中读出的string类型,如何转化为byte类型?就是1,2个<em>错误</em>rn在最后输出的Output[]如何转化为从byte[]转化为 string类型,放进text中rn
大家帮我看看这个错误
[code=C#]rn public bool Login(string loginID, string password, out User validUser)rn rn User user = objUsersvc.GetUserByLoginID(loginID);rn if (user == null)rn rn validUser == null;//只有 assignment、call、increment、decrement 和 new 对象表达式可用作语 rn return false;rn rn if (user.Password == password)rn rn validUser == user;//只有 assignment、call、increment、decrement 和 new 对象表达式可用作语rn return true;rn rn elsern rn validUser = null; // 这句没报错rn return false;rn rn[/code]rnrn这是为什么?rn好奇怪啊.
帮我看看这个错误消息
我打开工程发现以下<em>错误</em>消息,我无视他们继续执行,但是我不知道这是什么<em>错误</em>,谁能<em>帮我</em>解析下rn System.ComponentModel.ReflectPropertyDescriptor.SetValue(Object component, Object value)rn System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializePropertyAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement, CodePropertyReferenceExpression propertyReferenceEx, Boolean reportError)rn System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement)rn System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)
帮我看看这个错误!!谢谢!!
System.Data.SqlClient.SqlException: SQLSERVER不存在或访问被拒绝rn我连的是NORTHWIND.MDB.rnSQL SERVER2000 以打开.rn请问是什么原应
谁来帮我看看这个错误
www.xmnow.cn点击“告诉朋友”,js会报System error: -1072896658<em>错误</em>。rn但是在firefox下没事。其中执行了一段ajax的js
帮我看看这个错误是什么?
将一个类的cpp文件和h文件复制到自己代码中编译出错:rnf:\xxb\cu\error.cpp(36) : fatal error C1010: unexpected end of file while looking for precompiled header directivern请问是该怎样解决?rn
大家帮我看看这个错误
在执行WSASend()函数时,操作失败,<em>错误</em>为:一个封锁操作被对 WSACancelBlockingCall 的调用中断。 rnrn我不懂这是个什么意思,怎么引起的,怎么改正,请高手执教!
帮我看看这个错误java.lang.NullPointerException
<em>这个</em>一个上传的例子:rn<em>帮我</em><em>看看</em><em>这个</em><em>错误</em>java.lang.NullPointerExceptionrnrnjava.lang.NullPointerExceptionrn at org.apache.commons.fileupload.DefaultFileItem.write(DefaultFileItem.java:442)rn at org.apache.jsp.demo2_jsp._jspService(demo2_jsp.java:80)rn at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)rn at java.lang.Thread.run(Unknown Source)
帮我看看这个错误,谢谢
[code=HTML]str=str &" " & UBBCode(rs("Content_Content"))) &" "&rs("Content_date")&" "& vbcrlf[/code]rn为什么用存储过程就循环不出来内容呢?rn用普通的SQL语句就可以,还有一点,如果用存储过程去掉FONT里边的STYLE就能显示内容,加上就不行了,为什么呢?rn请指教,谢谢
帮我看看这个常见的错误
我是初学者,在学Struts2,用的是MyEclipse,在src下新建一个web.action的包,在包里有个文件是LoginAction.class,execute方法return的是"success",struts2.xml文件的内容如下:rnrnrnrn rn rn /index.jsprn rn rnrn rnrn布署后报错信息如下:rn2010-7-5 20:46:34 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Parsing configuration file [struts-default.xml]rn2010-7-5 20:46:34 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Parsing configuration file [struts-plugin.xml]rn2010-7-5 20:46:34 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Parsing configuration file [struts.xml]rn2010-7-5 20:46:35 com.opensymphony.xwork2.util.logging.commons.CommonsLogger errorrn严重: Unable to find parent packages struts_defaultrnrn请问是什么原因的<em>错误</em>
大家帮我看看这个错误……
我做好了个网站,本地测试没有问题。rn上传到网上却出现下列<em>错误</em>提示:rnrnServer Error in '/' Application.rn--------------------------------------------------------------------------------rnrnCould not find a part of the path "C:\". rnrnrnDescription: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. rnrnException Details: System.IO.DirectoryNotFoundException: Could not find a part of the path "C:\".rnrnSource Error: rnrnAn unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. rn
有人帮我改一改这个算符优先的语法分析程序吗?
#include rn#include rn#include rntypedef struct Graph //文法rnrn char str[5];rnGraph;rn rnstruct tag_out //输出rnrn int num; //步骤rn char s[10]; //栈rn char Rel; //优先关系rn char Tok; //当前字符rn char Rest[10]; //剩余输入串rn int Action; //动作,0代表移进,1代表归约rnout[50];rnrnvoid getch();rnvoid recoghead();rnvoid recogtail();rnrnchar Ter[6]='+','*','(',')','i','#';rnchar Nter[3]='E','T','F';rnrnchar a[6][6]='>','','','>','>','','',rn'','>',' ','>',' ','>',rn'>','>',' ','>',' ','>','')rn rn out[m].Rel=a[flag1][flag2];rn out[m].Action=1;rn recoghead(); //输入指针回退一个字符 ,规约rn rn while(top!=1);//继续取数,rn if(top==1&&s[top]=='E')rn printf("Success!\n");rn elsern printf("Error!\n");rnrnrnvoid recoghead() //寻找lpp的头lowerrnrn int i;rn int lower,upper;rn int flag3,flag4,flag5;rn char n;rn //输出下一步分析rn out[m].num=m;rn printf("%d",out[m].num);//步骤rn s[top+1]='\0';rn strcpy(out[m].s,s);//栈rn printf("%c",out[m].Rel);//优先关系rn printf("%c",out[m].Tok);//当前字符rn Res[sum]='\0';rn strcpy(out[m].Rest,Res);//剩余输入串rn printf("%d",out[m].Action);//动作rn m=m+1;rn lower=tail;rn dorn rn upper=lower;rn for(i=0;i);rn ch=line[cc];rn cc=cc+1;rnrnrn
有人帮我看下这个计数器为什么不工作吗?
新手求教,代码如下:rn[code=javascript]rnrnrnrn Counting with a local variable.rnrnCount!rnrn 0rnrn rnrnrn[/code]
有人帮我修改一下这个程序吗???急!!!!!!!!!!!!
大家好,我想问一个有关IO流编程的问题。rn我下面的程序是做一个非常简单的文件读写器。功能只要求能输出选定的文件。并编辑。rn程序编译通过,但是应用的时候却找不到File f1=new File("s")中的f1。请大家<em>看看</em>是不是有什么<em>错误</em>。多谢了!急!rnimport java.awt.*;rnimport java.awt.event.*;rnimport java.io.*;rnpublic class zuoye rnrnpublic static void main(String[] args) rnrnFrame f=new Frame("文件对话框");rnf.addWindowListener(new WindowAdapter()rnpublic void windowClosing(WindowEvent e)rnSystem.exit(1);rnrn);rnFileDialog fd=new FileDialog(f,"Text",FileDialog.LOAD);rnString path=fd.getDirectory();rnString file=fd.getFile();rnString s= path + file;rnFile f1=new File("s");rntryrnrnFileReader fr=new FileReader("f1");rnBufferedReader br=new BufferedReader(fr);rnFileWriter output=new FileWriter("temp.txt");rnBufferedWriter bw=new BufferedWriter(output);rnString s1=br.readLine();rnwhile(s1!=null)rnbw.write(s1);rnbw.newLine();rns1=br.readLine();rnrnbr.close();rnbw.close();rnrncatch (IOException e)rnrne.printStackTrace();rnrnf.add(fd);rnfd.setVisible(true);rnf.setSize(300,200);rnf.setVisible(true);rnrnrnrn
有人帮我改改这个javascript吗?谢谢!在线等
我就是想在页面中倒计时60秒后自动关闭页面!rn rnrn
有人帮我解决这个问题,重酬!!
sql server2000,近来隔一段时间老是自动停止,连接不上。但服务管理器那里显示仍然是运行的。我rn然后把sqlserver.exe进程结束掉,服务管理器又自动把sqlserver.exe启动了,客户端能重新连接上。rn到底什么原因造成老是自动停止呢?已经打了SP4的,服务器内存2g。我现在的解决办法,是写一个程序定时执行一个存储过程,当出现连接不上的时候,把sqlserver.exe进程结束掉,再由服务管理器自动把sqlserver.exe重新启动。谁能<em>帮我</em>找出数据库自动停止的原因,重酬!
大家有人用过jboss吗,帮我看看是什么错误
我用的是jboss-3.2.1_tomcat-4.1.24。rn运行bin下的run.batrn在ie里输入:http://localhost:8080 正常rn在ie里输入:http://localhost:1099 正常rn在ie里输入:http://localhost:8083 <em>错误</em>页面(该页无法显示)rn在ie里输入:http://localhost:8080/jmx-console <em>错误</em>如下:rnrnrnHTTP Status 500 - rnrn--------------------------------------------------------------------------------rnrntype Exception reportrnrnmessage rnrndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexception rnrnorg.apache.jasper.JasperException: Unable to compile class for JSPrnrnAn error occurred at line: -1 in the jsp file: nullrnrnGenerated servlet error:rn [javac] Compiling 1 source filernrnrnrn at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:130)rn at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)rn at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:353)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)rn at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473)rn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)rn at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)rn at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)rn at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)rn at java.lang.Thread.run(Thread.java:536)rnrnrnrn--------------------------------------------------------------------------------rnrnApache Tomcat/4.1.24-LE-jdk14rnrn这是什么错啊?谢谢!!!
有人可以免费帮我看看这个javascript 吗?
rn rnrnrnrn
有人帮我做个表吗
<em>有人</em>能<em>帮我</em>做个表吗rn做一个能添加,查询,的表,<em>有人</em>帮忙吗??
有人帮我看看这个lzw的解码有什么错吗?
BOOL CGif89a::extractData(FRAME* f,ifstream& ifs)rn STRING_TABLE_ENTRY *strTable;rn UINT codeSize,rootSize,tableIndex,codeSizeBK;rn int remainInBuf = 0,i;rn UINT bufIndex = 0,outIndex = 0;rn UINT bitIndex = 0;rn DWORD code,oldCode;rn BYTE be,*outP;rn BYTE buf[262];rn BOOL readOK = FALSE;rn UINT bufLen = f->imageWidth*f->imageHeight;rn if((strTable = new STRING_TABLE_ENTRY[4096]) == NULL)rn return FALSE;rn ZeroMemory(strTable,sizeof(STRING_TABLE_ENTRY)*4096);rn outP = f->dataBuf = new BYTE[bufLen];rn if(f->dataBuf == NULL)rn delete[] strTable;rn return FALSE;rn rn ifs.read((char*)&be,1);rn codeSizeBK = codeSize = be+1;rn rootSize = 1;rn rootSize <<>= 32-codeSize;rn bitIndex += codeSize;rn bufIndex += bitIndex/8;rn remainInBuf -= bitIndex/8;rn bitIndex %= 8;rn if(code >= rootSize+1)rn goto error;rn if(code == rootSize)rn goto begin;rn elsern outP[outIndex++] = *strTable[code].p;rn oldCode = code;rn rn for(;;)rn if(remainInBuf<>= 32-codeSize;rn bitIndex += codeSize;rn bufIndex += bitIndex/8;rn remainInBuf -= bitIndex/8;rn bitIndex %= 8;rn if(code == rootSize)rn codeSize = codeSizeBK;rn for(i=rootSize;idataBuf = NULL;rn return FALSE;rn
有人帮我做一个LINUX的启动盘吗?
<em>有人</em>能<em>帮我</em>做一个LINUX的启动盘吗?我想要的是冲浪公司的XTEAMLINUX启动盘,谢谢!因我无法从光驱启动所以很需要<em>这个</em>,<em>这个</em>应该能带起光驱吧,我需要用它来装LINUX,请压成ZIP文件发到我的邮箱,谢谢!50分送上rnolivia3333@sohu.com
批处理--------------------有人帮我解释一下吗?
clsrn@echo offrnReg Add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu" "871C5380-42A0-1069-A2EA-08002B30309D" /t "REG_DWORD" /d "1" /frnReg Add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" "871C5380-42A0-1069-A2EA-08002B30309D" /t "REG_DWORD" /d "1" /frn
有人帮我改一下程序吗?
<em>有人</em>能<em>帮我</em>改一下程序吗?rnrn请留下e-mail地址。
有人帮我做这道题吗
下面是一个程序框架:rnrnrn#include rnusing namespace std;rn#include //for strlen(),strcpy()rnstruct stringyrnrnchar * str;//points to a stringrnint ct;//length of string(not counting '\0')rn;rn// prototypes for set(),show(),and show() go gerernint main()rnrnstringy beany;rnchar testing[]="Reality isn't what it used to be.";rnset(beany,testing); // first argument is a reference,rn// allocates space to hold copy of testing,rn//sets str member of beany to point to thern//new block,copies testing to new block,rn//and sets ct member of beanyrnshow(beany);// prints member string oncernshow(beany,2);// prints member string twicerntesting[0]='D';rntesting[1]='u';rnshow(testing);//prints testing string oncernshow(testing,3);//prints testing string thricernshow("Done!");rnreturn 0;rnrn请提供其中描述的函数和原型,从而完成该程序.注意,应有两个show()函数,每个都使用默认参数.请尽可能使用cosnt参数.set()使用new分配足够的空间来存储指定的字符串.rn请高手帮忙写出完整代码.rn
下面的一些问题,有人帮我做吗?
1编写一个程序求一元二次方程的解。rn 讨论下述情形:rn(1)a=0,不是二次方程。rn (2)b^2-4ac=0,有两个相等实根。rn (3) b^2-4ac>0,有两个不等实根。rn (4) b^2-4ac<0,有两个复根(表示成x+yi,x-yi)。rn2.编写一个程序,打印下列图形:rn 1rn 1 2rn 1 2 3rn 1 2 3 4rn 1 2 3 4 5
有人帮我调试下程序吗?
有几个<em>错误</em>我撞破脑袋都没给搞定,在此请教高手,我把东西传给你
金旭亮2011_JavaSE系列课件_7下载
本资源为北京理工大学计算机学院2011年《Java技术及应用》课程的最新课件,主讲教师金旭亮,随课程的进行而同步发布,可以自由传播,但不得用于商业盈利目的。本讲内容:面向对象理论基础。完整课件资源链接请访问作者博客:http://blog.csdn.net/bitfan 相关下载链接:[url=//download.csdn.net/download/bitfan/3625467?utm_source=bbsseo]//download.csdn.net/download/bitfan/3625467?utm_source=bbsseo[/url]
LabVIEW源代码下载
LabVIEW修改注册表来实现对USB接口的控制 相关下载链接:[url=//download.csdn.net/download/kay_huang/3260758?utm_source=bbsseo]//download.csdn.net/download/kay_huang/3260758?utm_source=bbsseo[/url]
物资管理系统下载
在软件设计模式课上,做的物资管理系统,有项目说明,类图什么的比较全 相关下载链接:[url=//download.csdn.net/download/wander669/7403827?utm_source=bbsseo]//download.csdn.net/download/wander669/7403827?utm_source=bbsseo[/url]
相关热词 c# 去空格去转义符 c#用户登录窗体代码 c# 流 c# linux 可视化 c# mvc 返回图片 c# 像素空间 c# 日期 最后一天 c#字典序排序 c# 截屏取色 c#中的哪些属于托管机制
我们是很有底线的