Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我做了一个函数调用(代码如下所示),但我仍然有一个编译错误。我在 NetBeans 环境中使用它。
<textarea name="txt" rows="10" cols="85" disabled> <% String str=request.getParameter("rep"); blog bg=new blog(); bg.add(str); %> </textarea>
编译错误指向我创建类博客实例的行。错误是“找不到类符号”。(虽然我已经创建了我的类博客)
代码应该是
<textarea name="txt" rows="10" cols="85" disabled></textarea> <% String str=request.getParameter("rep"); blog bg=new blog(); bg.add(str); %>