“useBean 类属性 user.UserData 的值无效” - 为什么?
尝试创建一系列包含一些信息的网页,然后将其显示在后面的页面上,直到检索和显示阶段,我收到以下错误,
useBean 类属性 user.UserData 的值无效
我正在使用以下教程:http://www.useBean 类属性 user.UserData 的值无效。 jsptut.com/Forms.jsp
我知道可能有 400 亿个不同的问题在回答这个问题,但我今天早上 9.13 确实拿起了 JSP。所以我需要一个量身定制的答案!
我正在使用 Eclipse IDE 和 Tomcat
谢谢
6.0.33 一些谷歌研究不断提到compile.class。有人提到他们编译了 bean,但它认为 JavaScript 是一个脚本,这意味着它不需要编译?
Rev:是的,显然,我需要编译 bean,然后使用 JSP 来执行它?有人可以告诉我如何编译我的 Bean 吗?
Attempting to create a selection of webpages that take some information, and then display it on a later page, Works up to the retrieving and displaying stage, where I get the following error,
The value for the useBean class attribute user.UserData is invalid
I am using the following tutorial: http://www.jsptut.com/Forms.jsp
I know there is probably 40 billion different questions aanswering this, but I literally picked up JSP at 9.13am this morning. So I need a tailormade answer!
I'm using Eclipse IDE and Tomcat 6.0.33
Thanks
P.S. Some google research keeps mentioning compile.class. Some mention they compiled the bean, but it thought JavaScript was a script meaning it didn't need to be compiled?
Rev: Right, so apparently, i need to compile the bean and then use JSP to execute it? Can anybody advise me on how to compile my Bean?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
http://download.oracle.com/javase/tutorial/ 是一个很好的起点。您可能想跳入 http://download.oracle.com/javase /tutorial/getStarted/cupojava/win32.html。它逐步介绍如何使用命令行工具编写、编译和运行,然后按照教程列表进行操作。
当您对此有点熟悉时,您可以为自己设置一个良好的开发环境,例如 netbeans 或 eclipse
http://download.oracle.com/javase/tutorial/ is a good place to start. You might want to jump into http://download.oracle.com/javase/tutorial/getStarted/cupojava/win32.html. It's a step-by-step on how to write, compile and run using command-line tools and then work your way down the tutorial list.
When you're a little familiar with that, you can set yourself up with a good development environment, like netbeans or eclipse