JObject.test1.(TmpStr)???应该这样吧
JObject.test1(TmpStr);

解决方案 »

  1.   

    类的内容大慨如下:
    public class Hygl{
      private String dwmc;
      public Hygl() throws Exception
      {
        dwmc=null; 或是dwmc="";
      }
      public boolean test1(String astr)
      {
         this.dwmc=astr;
      } 
      

  2.   

    <% 
      String TmpStr=new String("ssssss"); 
      Hygl hy = new Hygl();
      hy.test1(TmpStr);
      %>
      

  3.   

    那再看一下你的jsp吧!这边没问题了
    JObject的定义
      

  4.   

    public boolean test1(String astr)
      {
         this.dwmc=astr;
      }  你的返回值呢?
    应该
      public void test1(String astr)
      {
         this.dwmc=astr;
      }