// Default target to success
String target = new String("success");
if ( form != null ) {上面的form是哪里来的?

解决方案 »

  1.   

    mastering jakarta struts不是很多人都看了的吗?
    怎么没人回答了?
      

  2.   

    这是个简单的classpath问题,如果第一个编译到c:\classes
    编译第二个时:javac -classpath %classpath%;c:\classes {yourSrcDir}\{yourClass.java}(bloodwar should be broodwar :) )
      

  3.   

    我的两个都文件在G:\javawork\www\WEB-INF\classes\wiley下
    第一个已经编译好
    我的classpath:
    .;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;%CATALINA_HOME%\common\lib\servlet-api.jar;是用这个命令吗,提示好像错误:
    F:\j2sdk1.4.1_02\bin>javac -classpath %classpath%;G:\javawork\www\WEB-INF\classe
    s\wiley\LookupAction.java
    javac: invalid flag: Files\Apache
    Usage: javac <options> <source files>
    where possible options include:
      -g                        Generate all debugging info
      -g:none                   Generate no debugging info
      -g:{lines,vars,source}    Generate only some debugging info
      -nowarn                   Generate no warnings
      -verbose                  Output messages about what the compiler is doing
      -deprecation              Output source locations where deprecated APIs are us
    ed
      -classpath <path>         Specify where to find user class files
      -sourcepath <path>        Specify where to find input source files
      -bootclasspath <path>     Override location of bootstrap class files
      -extdirs <dirs>           Override location of installed extensions
      -d <directory>            Specify where to place generated class files
      -encoding <encoding>      Specify character encoding used by source files
      -source <release>         Provide source compatibility with specified release
      -target <release>         Generate class files for specific VM version
      -help                     Print a synopsis of standard options
    F:\j2sdk1.4.1_02\bin>bloodwar should be broodwar 是什么意思啊?:))