Android开发 eclipse ...cannot be resolved

Android 新人
[code=java]package com.example.ex03_01;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.TextView;
import android.widget.EditText;
import android.widget.Button;

public class MainActivity extends Activity {
private TextView txt;
private EditText edit;
private Button myButton;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
txt= (TextView)findViewById(R.id.textView1);
edit= (EditText)findViewById(R.id.editText1);
myButton= (Button)findViewById(R.id.button1);
myButton.setOnClickListener(new mClick());
}
}
class mClick implements OnClickListener{
public void onClick(View v){
String inputStr;
inputStr=edit.getText().toString();
txt.setTxt(inputStr);
}
}[/code]
报错: edit cannot be resolved ; txt cannot be resolved;
warning: The value of the field MainActivity.edit (txt) is not used.
res中并没有相关报错。。网上没找着对应的原因和解决方法 应该不是版本问题
图片说明

2个回答

把你完整的错误log日志粘贴出来看一下呢!看一下你报错具体实在哪一行

chenbaige
legendCoder 回复GreyWang1: 采纳一下呀,兄弟
接近 2 年之前 回复
GreyWang1
GreyWang1 回复legendCoder: 嗯嗯解决了 受教~ 受c、c++影响 没想到java里有内部类这种操作
接近 2 年之前 回复
chenbaige
legendCoder 回复GreyWang1: 把你的mClick类放到MainAcrivity内部去,你都放到外不去了,还是私有属性,怎么访问。
接近 2 年之前 回复
GreyWang1
GreyWang1 en 传了 谢谢
接近 2 年之前 回复

图片说明

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
cannot be resolved
[img=http://my.csdn.net/my/album/detail/1156757][/img][img=http://my.csdn.net/my/album/detail/1156756][/img]
eclipse 配合 weblogic The import cannot be resolved 的问题
请问各位大侠,我使用eclipse 和 weblogic 开发jsp,自建pb类后eclipse 放在src下,使用<% import%> 或者rn在编写是没有报错,但是运行时出现The import pb cannot be resolved 和 pb cannot be resolved to a type的错误,若是不导入类则没有问题,请问应该在哪里如何配置?谢谢rn
eclipse中drools报错,$account cannot be resolved
eclipse4.3安装的是drools6.0.0Beta5,按照eclipse3.7离线安装drools5.5.0的过程安装的,并且安装成功了。后来导入drools自带的drools-examples,各种报语法错误,$ cannot be resolved,mismatched input'#' in rule,如下图,哪位大神给看看怎么解决哟。。。。rn会不会是插件没安装好啊?rn[img=https://img-bbs.csdn.net/upload/201308/11/1376206518_394947.jpg][/img]rn[img=https://img-bbs.csdn.net/upload/201308/11/1376206834_484498.jpg][/img]
eclipse为什么出现the type java.lang.Object cannot be resolved
有eclipse3.0.1里开发jsp,用lomboz插件,eclipse为什么出现the type java.lang.Object cannot be resolved。it is indirectly referenced from required .class files这是什么原因。我的JSP文件rnrnrnrn Lomboz JSPrnrnrnrnThis is main.jsprnrnrnrn请问一下如何贴图呀
XmlPullParser cannot be resolved
XmlPullParser cannot be resolved 这样一个错误提示。。要怎么样在J2ME中importXmlPullParser呢。。急!!rn谢谢
InputStream cannot be resolved
  最近在做一个Struts2+spring+hibernate的文件上传,单元测试没有问题,不过,这个存入数据库的Blob对象是通过new关键字创造一个文件对象,然后创建一个输入流fin,再用Hiberante.createBlob(fin)生成的.但是,我想从JSP页面的文件域里面取得一个文件对象,然后再创建Blob,部分代码如下:rnrnpublic Integer uploadImage(Integer userId,List title,List photos) throws BlogException rn List files = photos ;//从页面上来的文件对象列表rn int length = files.size();rn List titles = title;//文件标题列表rn Integer pId = null;rn for(int i = 0 ; i < length ; i++)rn try rn                  /**从列表中取出一个文件对象,用来创建一个输入流(就在这个地方出现了"                      InputStream cannot be resolved"问题,这是断点调试时的结果)最后在rn                  JSP异常页面打印出的异常信息是:"java.lang.ClassCastException:                        java.lang.String "**/rnrn InputStream fin = new FileInputStream(files.get(i));rn Blob photoContext = Hibernate.createBlob(fin);rn rn Photo photo = new Photo();rn User user = userDao.get(userId);rn photo.setUser(user);rn photo.setTitle(titles.get(i));rn photo.setPhotocontext(photoContext);rn rn photoDao.save(photo);rn pId = photo.getPhotoId();rn catch (FileNotFoundException e) rn e.printStackTrace();rn throw new BlogException("上传文件没有找到,请检查操作是否合法!");rn catch (IOException e) rn e.printStackTrace();rn throw new BlogException("IO操作异常!");rn rn rn return pId;rn rn  敬请各位前辈指教!小弟不胜感激!!rn
The import org.eclipse cannot be resolved
[code=Java]rnimport org.eclipse.jface.action.StatusLineManager;rnimport org.eclipse.jface.action.ToolBarManager;rnimport org.eclipse.jface.window.ApplicationWindow;rnimport org.eclipse.swt.SWT;rnimport org.eclipse.swt.events.SelectionAdapter;rnimport org.eclipse.swt.events.SelectionEvent;rnimport org.eclipse.swt.graphics.Point;rnimport org.eclipse.swt.widgets.Button;rnimport org.eclipse.swt.widgets.Composite;rn[/code]rnrn错误提示:rnThe import org.eclipse cannot be resolvedrnrn我只是装了jdk和eclipse ide for j2ee developersrn我是不是缺了什么没装好啊,所以会有那个错误?
R.array cannot be resolved
rn我在layout下新建了.xml文件,内容如下rnrnrnrn 1rn 2rn 3rnrnrnrn在主程序中添加了rnspl=(Spinner)findViewById(R.id.spl);rnArrayAdapter Ad=ArrayAdapter.createFromResource(this,R.array.num,android.R.layout.simple_spinner_item);rnAd.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);rnspl.setAdapter(Ad);rnrn但是其中R.array cannot be resolved,求解!!!
The import cannot be resolved 问题
rn//rnimport java.io.*;rnimport javax.bluetooth.*;rnimport javax.microedition.io.*;rnrnpublic class ConnHandler extends Thread rn private Server owner = null;rn public ConnHandler (Server owner)rn super();rn this.owner = owner;rn rn//rn//rnimport java.awt.*;rnimport javax.swing.*;rnrnpublic class Server extends JFrame rn public Server () rn super();rn ......rn ......rn ConnHandler handler = new ConnHandler(this);rn handler.start();rn rn//rnrn 以上两个类ConnHandler, Server之间有关联,所以打算放在同一个工程的同一个包里rnrn 但是,当我建立的工程是普通的Java 工程的时候,ConnHandler中的import 语句就提rn示错误:import javax.bluetooth.*;rn import javax.microedition.io.*;rn 这两句提示The import cannot be resolvedrn此时Server中无错误。rnrn 而当我建立的工程是J2ME MIDlet Suite,也就是 J2ME MIDlet 工程时,情况就反过来rn了:Server中的import语句有错:import java.awt.*;rn import javax.swing.*;rn 这两句提示The import cannot be resolvedrn此时ConnHandler中无错误。rnrn 不知道该怎么办啊..rn
JSONArray cannot be resolved
怎样解决?rnJSONArray.fromObject(listTree).toString();这一句有错误JSONArray cannot be resolvedrnlistTree 是一个ArrayList
sql cannot be resolved!郁闷
rn rn查询书籍信息 rn rn rn rn rn rn 请选择查询条件: rn rn ID rn name rn auther rn publisher rn time rn all rn rn 关键字 rn rn rn rn jsp的查询如下:rn<%@ page contentType="text/html;charset=gb2312"%> rn<%@ page import="java.sql.*"%> rn<%@ include file="conn1.jsp"%>rn <% String id=request.getParameter("ID");rn String name=request.getParameter("name");rn String auther=request.getParameter("auther");rn String publisher=request.getParameter("publisher");rn String time1=request.getParameter("time");rn String all=request.getParameter("all");rn String keyword=request.getParameter("keyword");rn String id1="id";rn String name1="name";rn String auther1="auther";rn String publisher1="publisher";rn String time11=" time1";rn String keyword1=" keyword";rn String all1="all";rn if (id1==id) String sql="select * from info where ID="+keyword; rn if(name1==name) String sql="select * from info where name="+keyword; rn if(auther1==auther) String sql="select * from info where auther="+keyword; rn if(publisher1==auther) String sql="select * from info where publisher="+keyword; rn if(time11==time1) String sql="select * from info where time="+keyword;rn if(all1==all) String sql="select * from info "; rn ResultSet rs=st.executeQuery(sql);rn out.println("数据库操作成功,查询结果如下:"); rn out.println(" ");rn out.println(" "+"ID"+" "+"name"+" "+"auther"+" "+"publisher"+" "+"time"+""); rn while(rs.next()) rn String col1 =rs.getString(1);rn String col2 =rs.getString(2);rn String col3 =rs.getString(3);rn String col4 =rs.getString(4);rn String col5 =rs.getString(5);rn out.println(" "+col1+" "+col2+" "+col3+" "+col4+" "+col5+""); rn rn out.println("");rn %> <%//这个是什么作用啊? 似乎很重要的语句rn%> rn <% rn rs.close(); rn st.close(); rn con.close(); rn %> rnrn rn rnrn 错误信息:rnAn error occurred at line: 5 in the jsp file: /result.jsprnGenerated servlet error:rnsql cannot be resolvedrnrn感觉程序写的冗余代码比较多,希望大侠指点修正阿,拜谢!
out cannot be resolved 怎么回事?
<%!rn int dd()rn rn for(int i=3;i>=0;i--)rn rn out.print(""+i+"");rn rn return 0;rn rn%>rnrnGenerated servlet error:rnout cannot be resolvedrn怎么回事?
The import java.util cannot be resolved
刚用MyEclipse6.5+Tomcat6.0做我的课程设计,但刚写2句话就有错误。rn我安的是JDK6.0,在C盘。写一般的java程序没有问题、rn[code=HTML]rn<%@page contentType="text/html;charset=gbk" %>rn<%@page language="java" import="java.util.*" %>rn[/code]rn提示说“The import java.util cannot be resolved”rn我在网上查找说可能是build path中没有设置好。rn[img=http://hi.csdn.net/attachment/201101/3/6202528_1294061531WD8A.jpg][/img]rn[img=http://hi.csdn.net/attachment/201101/3/6202528_1294061527hevV.jpg][/img]
The import javax.bluetooth cannot be resolved
import javax.bluetooth.BluetoothStateException;rnimport javax.bluetooth.DiscoveryAgent;rnimport javax.bluetooth.LocalDevice;rnimport javax.bluetooth.UUID;rnrn都有错误,rnrnUUID,LocalDevice都cannot be resolved to a typernrn我应该加入哪个jar包?rnrn我在网上搜了好长时间,但是都不知道javax.bluetooth.* 下的东西都在哪个jar包中。。。rnrn我该在google 或 baidu 中怎么搜索?
servlet cannot be resolved
请问在普通java类中能这样用吗rnServletContext context=servlet.getServletContext();rn提示错误如标题rn
The import net cannot be resolved
rnimport java.io.BufferedInputStream;rnimport java.io.File;rnimport java.io.FileInputStream;rnimport java.io.FileNotFoundException;rn[color=#FF6600]import net.mindview.util.Print[/color].*;rnpublic class ReadLineDemo rn static void main(String[] args) rn File file=new File("text.txt");rn tryrn FileInputStream input=new FileInputStream(file);rn catch(FileNotFoundException e)rn rn rn rnrn在reference中已经引入net.mindview.util.Print包rn但是提示包为引入
The import org.javia cannot be resolved
import org.javia.arity.Symbols;rnimport org.javia.arity.SyntaxException;rnimport org.javia.arity.Util;rnrnrn三个均提示The import org.javia cannot be resolvedrnrn请问如何解决?
The import com.jauker cannot be resolved
import com.jauker.widget.BadgeView; rn这一行怎么显示 The import com.jauker cannot be resolved.
FileUpload cannot be resolved
----------------这是ImageUploadHandler.jsp-------------------rn<%@ page language="java" contentType="text/html; charset=gb2312"rn import="java.util.*" import="java.io.*" import="mytest.*"pageEncoding="gb2312"%>rnrnrnrn rn 显示上传图片rnrnrn<% rnrnString filePath = request.getSession().getServletContext().getRealPath("");//获取该项目的真实路径 rnrnout.println(filePath+" "); rnrnString photo=request.getParameter("imgUpload");//获取file控件里的路径(绝对路径) rnrnrnint indexOfLine = photo.lastIndexOf("\\"); rnrnString fileName = photo.substring(indexOfLine+1,photo.length());//文件名(含后缀,不包含路径信息) rnrnString destFilePathAndName = filePath+"\\image\\"+fileName;//要保存文件的路径 rnrnFileUpload.uploadImage(filePath+"\\image\\",photo,destFilePathAndName);//上传图片到目的路径 rnrnString relativeFilePath = ".\\image\\"+fileName;//用来显示图片的相对路径 rnrnrnout.println(photo+" "); rnrnout.println(destFilePathAndName+" "); rnrn%>rn上传的图片: rnrnrnrn------------------这是mytest包里面的FileUpload类--------------------rnpackage mytest; rnrnimport java.awt.image.BufferedImage; rnrnimport java.io.*; rnrnimport java.awt.Image; rnrnimport com.sun.image.codec.jpeg.JPEGCodec; rnrnimport com.sun.image.codec.jpeg.JPEGImageEncoder; rnrnrnpublic class FileUpload rnrn rnrnpublic static void uploadImage(String imgFolderPath,String srcFileName,String dstFileName) throws IOException rnrn rnrn//判断文件夹image是否存在,若不存在则创建 rnrnFile folder = new File(imgFolderPath); rnrnSystem.out.println("function 'uploadFileTest2'-imgFolderPath'"+imgFolderPath); rnrnif(!folder.exists()) rnrn rnrnfolder.mkdir(); rnrnSystem.out.println("maked a folder!"); rnrn rnrnrnFile _file = new File(srcFileName); //读入文件 rnrnImage src = javax.imageio.ImageIO.read(_file); //构造Image对象 rnrnint wideth=src.getWidth(null); //得到源图宽 rnrnint height=src.getHeight(null); //得到源图长 rnrnBufferedImage tag = new BufferedImage(wideth,height,BufferedImage.TYPE_INT_RGB); rnrntag.getGraphics().drawImage(src,0,0,wideth,height,null); rnrnFileOutputStream out=new FileOutputStream(dstFileName); //输出到文件流 rnrnJPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out); rnrnencoder.encode(tag); //JPEG编码 rnrnout.close(); rnrnSystem.out.println("function 'uploadFileTest2'-status:A Image File Saved!"); rnrn rnrn rnrnrn----------------------------------------rn运行之后为什么出现如下错误呢?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 JSP: rnrnAn error occurred at line: 25 in the jsp file: /ImageUploadHandler.jsprnFileUpload cannot be resolvedrn22: rn23: String destFilePathAndName = filePath+"\\image\\"+fileName;//要保存文件的路径 rn24: rn25: FileUpload.uploadImage(filePath+"\\image\\",photo,destFilePathAndName);//上传图片到目的路径 rn26: rn27: String relativeFilePath = ".\\image\\"+fileName;//用来显示图片的相对路径 rn28: rnrnrnrnrnrnrn
The import org.apache.commons cannot be resolved
我用的是eclipse和tomcat,导入:commons-fileupload-1.1.1.jar,和commons-io-1.2.jar两个包后,还是出现上面的问题即:The import org.apache.commons cannot be resolved,求解!
The import javax.jnlp cannot be resolved
import javax.jnlp.*;rnRT,用的Eclipse不知何解,求解!
The import cn cannot be resolved
今天刚刚换了eclipse,新建工程后, rn把一些类文件拷贝到工程目录下, (.java的)rn调用的时候 就提示 rnThe import cn cannot be resolvedrnrn在网上查了一下,也没有弄明白,第一次接触 eclipse,大家帮我看看,指点一下 ,谢谢了。
The import org.springframework.stereotype cannot be resolved
Spring Web flow中的一个例子jsf-booking
System.out cannot be resolved???
System.out cannot be resolved 是什么原因啊?rn源程序代码如下rnrnpublic class t rn public static void main(String[] args)rn String s1="winter";rn String s2=s1;rn String s3="winter";rn System.out.println(s1.equals(s2));rn System.out.println(s1.equals(s3));rn rnrnrn然后加入import java.util.*rnimport java.util.*;rnpublic class t rn public static void main(String[] args)rn String s1="winter";rn String s2=s1;rn String s3="winter";rn System.out.println(s1.equals(s2));rn System.out.println(s1.equals(s3));rn rnrn问题还是没有解决。rn请教各位高手,谢谢
VK_ENTER cannot be resolved
import java.awt.event.KeyEvent;rnrn看KeyEvent的里面有VK_ENTER的定义啊,奇怪!
The import org.jdom cannot be resolved
myeclipse刚导入一个项目就出现这样的问题!请教下
mDb cannot be resolved
mDb cannot be resolvedrn请问如何解决?
* cannot be resolved to a type
部署好项目到Tomcat下后,用默认的http://localhost:8080/project访问没任何问题,但是在server.xml中配置用IP访问时,却出现如题的错误,JSP文件头部也导了相应的类,上网查了查,都不得其法,哪位能告诉我能解决这个问题(不要到网上copy,都是蒙人的),谢谢了!还有,我的功能模块JSP文件分别放在WebRoot目录下的不同文件夹中,而不是全部直接放在WebRoot下。
The import info cannot be resolved
在工程里面rnrnimport info.monitorenter.cpdetector.io.ASCIIDetector;rnimport info.monitorenter.cpdetector.io.CodepageDetectorProxy;rnimport info.monitorenter.cpdetector.io.JChardetFacade;rnimport info.monitorenter.cpdetector.io.ParsingDetector;rnimport info.monitorenter.cpdetector.io.UnicodeDetector;rnrn提示:The import info cannot be resolvedrn该怎么解决呢?是不是要引入jar文件啊?rn
net.sf.json.JSONObject cannot be resolved
在项目中写了个方法并可能在main中运行也没有错rn但是项目启动时出现了rnInternal Server Error (500) for request GET /rnrnCompilation error (In /app/com/buybal/client/test/JunitClientTest.java around lirnne 16)rnThe file /app/com/buybal/client/test/JunitClientTest.java could not be compiled.rn Error raised is : net.sf.json.JSONObject cannot be resolvedrnrn项目是用play运行的 请问一下是什么原因 rn
The import java.util.Arrays cannot be resolved
package com.xx;rnimport java.util.Arrays;rnrnpublic class Score2 rn public static void main(String[] args)rn int[] scores = new int[10];rn for(int score: scores)rn System.out.printf("%2d",score);rn rn rn System.out.println();rn System.out.println("--------------------");rn Arrays.fill(scores, 60);rn for(int score: scores)rn System.out.printf("%3d",score);rn rn rn rn rnrnrn
js var cannot be resolved
在jsp中,在select onchange事件中,获得选择的内容rn[code=JScript]rnvar op = opSet.options[opSet.selectedIndex].text;rn[/code]rn然后在下面想用这个op作为条件去查询数据库rn[code=Java]rnop = op.toString();rnResultSet rs = stmt.executeQuery("SELECT * FROM A WHERE TB = '"+op+"'");rn[/code]rnrn提示op cannot be resolved 错误rn
The type org.bson.conversions.Bson cannot be resolved
在使用mongodb时,rn进行 DBObject blog = new BasicDBObject();rn blog.put("id", data.getId());rn报了错误:The type org.bson.conversions.Bson cannot be resolved. It is indirectly referenced from required .class filesrn rn但是没找到 org.bson.conversions这个jar包,那是什么问题??rn rn大神可以解释下吗????
estableRuntimeException cannot be resolved 解决
org.apache.commons.lang.exception.NestableRuntimeException cannot be resolved 解决 替换JAR包即可
ServletUtilities cannot resolved
import java.util.*; rnpublic class ThreeParams extends HttpServlet public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException response.setContentType("text/html"); rnPrintWriter out = response.getWriter(); rnString title = "读取三个请求参数"; rnout.println(ServletUtilities.headWithTitle(title)+""+"" + " "rn ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~这个地方有错误 rn + title + "" + " " rn +" param1: " + request.getParameter("param1")+ " param2: " + request.getParameter("param2") + rn " param3: " + request.getParameter("param3") + "" + " "+""rn )rn ;
ActionContext cannot be resolved什么意思
我打ActionContext.getContext().getSession().put("username",getUsername());报错“ActionContext cannot be resolved”,我应该怎么解决
cannot be resolved to a type
老兄; 我在显示页面(.jsp)添加<%CustomerBean bean1=(CustomerBean)session.getAttribute("currentCustomer");%>这句话时会出现这样的提示:[color=#FF9900]CustomerBean cannot be resolved to a type[/color]rn我很急的,谢谢!rnrn[color=#0000FF]我是从servlet跳到到这个页面的以下是servlet的代码;[/color]rnpublic class BankServlet extends HttpServlet rnrn /**rn * The doGet method of the servlet. rn *rn * This method is called when a form has its tag value method equals to get.rn * rn * @param request the request send by the client to the serverrn * @param response the response send by the server to the clientrn * @throws ServletException if an error occurredrn * @throws IOException if an error occurredrn */rn public void doGet(HttpServletRequest request, HttpServletResponse response)rn throws ServletException, IOException rn HttpSession session=request.getSession();rn response.setContentType("text/html");rn PrintWriter out = response.getWriter();rn String userID=request.getParameter("id");rn BankModel bankmodel=new BankModel();rn List customerlist=null;rn CustomerBean currentCustomer=new CustomerBean();//当前的用户rn double balance=0;//当前用户的余额rn customerlist= bankmodel.getCustomers();rn String id;rn if(userID!=null)rn for(int i=0;i0&&balance<100000)rn response.sendRedirect("NormalBalance.jsp");rn rn else rn response.sendRedirect("HighCustomer.jsp");rn rn rn rn rnrnrnrnrn
org.eclipse.jface.text cannot be resolved
刚用 eclipse IDE 没多久经常遇见这样那样的问题rn请问为什么我的 eclipse 无法找到org.eclipse.jface.text 这个包
编译时函数cannot be resolved
函数功能:rn定义一个日期类,有年,月,日属性,包含无参的和有参的构造方法,有完成如下功能的方法:1)、判断该年是否为闰年,2)、判断当月的天数,3)、计算该日期是本年的第多少天,4),计算本年还剩多少天,在main方法中,输入年,月,日,根据输入创建该类的对象,并调用它的相关方法。rnrn类体:rnpublic class Date rn private int year,month,day;rn public int[]a = 0,31,28,31,30,31,30,31,31,30,31,30,31;rn public int[]b = 0,31,29,31,30,31,30,31,31,30,31,30,31;rn public Date()rn rn rn public void setYear(int year)rn this.year = year;rn rn public int getYear(int year)rn return year;rn rn public void setMonth(int month)rn this.month = month;rn rn public int getmonth(int month)rn return month;rn rn public void setDay(int day)rn this.day = day;rn rn public int getDay(int day)rn return day;rn rn public Date(int year,int month,int day)rn rn rn public char isLeapYear(int year)rn if(year%400==0||year%4==0&&year%100!=0)rn return '是';rn else rn return '否';rn rn rn public int daysThisMonth(char isLeapYear,int month)rn if (isLeapYear=='是')rn return a[month];rn elsern return b[month];rn rn rn public int daysThisYear(char isLeapYear,int month,int day)rn int sum = 0;rn if(isLeapYear=='是')rn for(int i=0;i
bl cannot be resolved
<% rn String tname = request.getParameter("inputname");rn String tpassword = request.getParameter("inputpassword"); rn if(tname !=null && tpassword!=null)rn String bl = log.login(tname, tpassword, request); rn if (bl == "true" ) rn%>rnrnrn rnrnrn.......myeclipse中配置tomcat服务器,运行时提示“bl cannot be resolved”。怎么回事呢?????????
相关热词 c# 标准差 计算 c#siki第五季 c#入门推荐书 c# 解码海康数据流 c# xml的遍历循环 c# 取 查看源码没有的 c#解决高并发 委托 c#日期转化为字符串 c# 显示问号 c# 字典对象池