• 大小:
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-08-04
  • 语言: Java
  • 标签: java  jsp  

资源简介

Jsp实用教程第三版耿祥义

资源截图

代码片段和文件信息

package red.star;
public class ComputerBean {
   double numberOnenumberTworesult;
   String operator=“+“;
   public void setNumberOne(double n) {
      numberOne=n;
   }
   public double getNumberOne() {
      return numberOne; 
   }
   public void setNumberTwo(double n) {
      numberTwo=n;
   }
   public double getNumberTwo() {
      return numberTwo; 
   }
   public void setOperator(String s) {
      operator=s.trim();
   }
   public String getOperator() {
      return operator;
   }
   public double getResult() {
      if(operator.equals(“+“))
          result=numberOne+numberTwo;
      else if(operator.equals(“-“))
          result=numberOne-numberTwo;
      else if(operator.equals(“*“))
          result=numberOne*numberTwo;
      else if(operator.equals(“/“))
          result=numberOne/numberTwo;
      return result; 
   }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        548  2017-01-02 11:22  课本源码-Eclispe\Char01\.classpath

     文件       1039  2017-05-08 14:37  课本源码-Eclispe\Char01\.project

     文件        567  2016-12-26 15:32  课本源码-Eclispe\Char01\.settings\.jsdtscope

     文件        364  2016-12-26 15:32  课本源码-Eclispe\Char01\.settings\org.eclipse.jdt.core.prefs

     文件        470  2017-05-08 14:37  课本源码-Eclispe\Char01\.settings\org.eclipse.wst.common.component

     文件        305  2017-01-02 11:19  课本源码-Eclispe\Char01\.settings\org.eclipse.wst.common.project.facet.core.xml

     文件         49  2016-12-26 15:32  课本源码-Eclispe\Char01\.settings\org.eclipse.wst.jsdt.ui.superType.container

     文件          6  2016-12-26 15:32  课本源码-Eclispe\Char01\.settings\org.eclipse.wst.jsdt.ui.superType.name

     目录          0  2017-05-12 16:07  课本源码-Eclispe\Char01\.settings

     目录          0  2016-12-26 15:32  课本源码-Eclispe\Char01\build\classes

     目录          0  2017-05-12 16:07  课本源码-Eclispe\Char01\build

     目录          0  2016-12-26 15:32  课本源码-Eclispe\Char01\src

     文件        257  2016-12-26 15:33  课本源码-Eclispe\Char01\WebContent\example1_1.jsp

     文件         39  2016-12-26 15:32  课本源码-Eclispe\Char01\WebContent\meta-INF\MANIFEST.MF

     目录          0  2017-05-12 16:07  课本源码-Eclispe\Char01\WebContent\meta-INF

     文件        309  2016-12-26 15:34  课本源码-Eclispe\Char01\WebContent\shiyan.jsp

     目录          0  2016-12-26 15:32  课本源码-Eclispe\Char01\WebContent\WEB-INF\lib

     文件        652  2017-05-08 14:37  课本源码-Eclispe\Char01\WebContent\WEB-INF\web.xml

     目录          0  2017-05-12 16:07  课本源码-Eclispe\Char01\WebContent\WEB-INF

     目录          0  2017-05-12 16:07  课本源码-Eclispe\Char01\WebContent

     目录          0  2017-05-12 16:07  课本源码-Eclispe\Char01

     文件        841  2017-05-08 14:42  课本源码-Eclispe\Char02\.classpath

     文件       1039  2017-05-08 14:42  课本源码-Eclispe\Char02\.project

     文件        567  2017-05-08 14:42  课本源码-Eclispe\Char02\.settings\.jsdtscope

     文件        364  2017-05-08 14:42  课本源码-Eclispe\Char02\.settings\org.eclipse.jdt.core.prefs

     文件        470  2017-05-08 14:42  课本源码-Eclispe\Char02\.settings\org.eclipse.wst.common.component

     文件        345  2017-05-08 14:42  课本源码-Eclispe\Char02\.settings\org.eclipse.wst.common.project.facet.core.xml

     文件         49  2017-05-08 14:42  课本源码-Eclispe\Char02\.settings\org.eclipse.wst.jsdt.ui.superType.container

     文件          6  2017-05-08 14:42  课本源码-Eclispe\Char02\.settings\org.eclipse.wst.jsdt.ui.superType.name

     目录          0  2017-05-12 16:07  课本源码-Eclispe\Char02\.settings

............此处省略579个文件信息

评论

共有 条评论