JSP入门 [英] JSP Getting Started

查看:61
本文介绍了JSP入门的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个主题,涵盖JSP(对我而言),通过JSP访问数据库(对我来说是新手),小程序,UML(对我来说也是新手)


所以,as我正在学习java,所有我学得更快的是我已经创建了一些应用程序(有意义)。凭借我的自学风格,我希望它在JSP中也能有效....


我喜欢在计划主题上取得进步,由我们的讲师讨论(他是虽然不是经过认证的Java程序员。


所以现在,我所知道的JSP如下:

-basic tags

表达式<%= something%>

声明<%!某事%>

我不知道术语<%something%>我认为这是一个调用

相当于java(请在那部分纠正我)


- 设置tomcat。

-ROOT文件夹

-WEB-INF理论上知道在哪里放类/罐等....

(虽然我还没有测试过它们)

-通过request.getParameter获取html表单的值("表单输入类型名称)


显然这些是基础...(我通过冲浪学习它们)


我计划创建一个简单的应用程序。

我想到的是将我以前的项目(Simple Hotel FrontDesk System)重新实现到在线酒店预订系统

-注册显然只由酒店前台进行....

- 如果我知道真正的(深层),也可以添加BlackList功能/>

实际上,我们提出了一个项目在线入学考试。对我们的导师而言,他喜欢它...所以他批准了我们的建议......(不是论文)


但在我们开始敲打该项目之前,截止日期是10月(最终)这个学期的一周)


我喜欢掌握JSP的基本知识以及Web应用程序平台架构设计背后的其他技术,新方法和理论.... />
(请在上面的短语中纠正我)


实际上,教师决定从Sun订购一本J2EE书籍(我认为这本书的基础在新加坡)大约2500php或56.00美元


不幸的是,这本书预计将在中期到来......令人难以置信的情况(但这是真的)....

我确实试图买一本新书,而不是等待那本珍贵的书,但我怀疑有这样的书....(只要40.99美元)....


所以我决定等一下这本珍贵的书,然后提前从这个论坛和其他网络资源中学习....


多少钱g story :)


好​​吧,无论如何,


这是我想在JSP中知道我正在构建我的补充实验应用程序在我的最终项目上(不是论文)


我想知道JSP Beans,


例如,我有一个java类包含setter和getter方法,

i喜欢把它们装瓶,不幸的是,我在网上找不到合适的教程...


所以你可以发一个有用的网址来教我如何做到这一点吗?

以及关于如何从jsp容器访问jar文件(对术语的疑问)请纠正我... 。


或者你能展示一个例子吗?

例如,我在WEB-INF / lib / JARZKY.jar中有一个jar文件

,内容是com \ myclass.class(带有setSetter()和getGetter()方法)


如何通过JSP调用该类?


一位真诚的Java爱好者,
sukatoa

I have a subject that covers JSP(new to me), accessing database through JSP(new to me), applets, UML(also new to me)

So, as im learning java, all i did to learn faster is i''ve created some applications(with sense). With my style of self learning, i hope it could be effective in JSP too....

I like to be advanced on the planned topic to be discussed by our instructor(He is not a certified Java Programmer though)

So now, all i know about JSP is the following:
-basic tags
expression <%= something%>
declaration <%! something%>
i dont know the term <% something %> I think it is an invocation
equivalent to java (Please correct me on that part)

-Setting up tomcat.
-The ROOT folder
-WEB-INF theoritically knew where to put classes/jars etc....
(though im not tested them yet)
-getting the value of a html form through request.getParameter("form input-type name)

Those are basics obviously...( I learned them through surfing)

And im planning to create a simple application.
What comes on my mind is to reimplement my previous project (Simple Hotel FrontDesk System) into Online Hotel Reservation System
-the registration is obviously done by the hotel frontdesk only....
-Maybe the BlackList feature would be added if i knew the real ( Deep )

Actually, we have proposed a project "Online Entrance Exam" to our instructor and he likes it... so he approved our proposal.....( Not Thesis )

But before we start banging that project, deadline is on October ( Final week in this semester )

I like to grasp the essentials of JSP and also the other techniques, new way, and theory behind that architectural design for web application platform....
(Please correct me on the phrase above)

Actually, the faculty decided to order a J2EE book from Sun( i think the book base is in Singapore) for about 2500php or $56.00

Unfortunately, that book is expected to be arrived on midterms.... unbelievable scenario(but that was true)....

I did attempt to buy a new book instead of waiting that precious book, but i doubt for having such book....(for $40.99)....

So i decided to wait that precious book, yet learning in advance from this forum and the other web resources....

What a long story :)

Well, anyway,

Here is what i suppose to know in JSP as im building my experimental application for the supplement on my final project( Not thesis though )

I like to know about the JSP Beans,

for example, i have a java class that contains setter and getter methods,
i like to jar them, unfortunately, i didn''t found the right tutorial for it on the web...

so can you post a helpful url that would teach me how to do that?
and also, about how to access the jar file from the jsp container( doubt of terms )Please correct me....

Or can you show an example?
For example, i have a jar file in WEB-INF/lib/JARZKY.jar
and the content is com\myclass.class(with setSetter() and getGetter() methods)

How can you invoke that class through JSP?


A sincere Java Lover,
sukatoa

推荐答案

56.00



我确实试图买一本新书而不是等待那本珍贵的书,但我怀疑有这样的书...... 。(对于
56.00

Unfortunately, that book is expected to be arrived on midterms.... unbelievable scenario(but that was true)....

I did attempt to buy a new book instead of waiting that precious book, but i doubt for having such book....(for


40.99)....


所以我决定等一下这本珍贵的书,但提前从这个论坛和其他网络资源....


多么悠久的故事:)


好​​吧,无论如何,


以下是我想在JSP中知道我正在构建我的最终项目补充的实验应用程序(不是论文虽然)


我想知道JSP Beans,


例如,我有一个包含setter和getter方法的java类,

i喜欢把它们装瓶,不幸的是,我在网上找不到合适的教程...


所以你能发布一个有用的吗? url会告诉我怎么做?

以及关于如何从jsp容器访问jar文件(对术语的疑问)请纠正我....


或者你能展示一个例子吗?

例如,我在WEB-INF / lib / JARZKY.jar中有一个jar文件

,内容是com \ myclass.class(带有setSetter()和getGetter()方法)


如何通过JSP调用该类?


一位真诚的Java爱好者,
sukatoa
40.99)....

So i decided to wait that precious book, yet learning in advance from this forum and the other web resources....

What a long story :)

Well, anyway,

Here is what i suppose to know in JSP as im building my experimental application for the supplement on my final project( Not thesis though )

I like to know about the JSP Beans,

for example, i have a java class that contains setter and getter methods,
i like to jar them, unfortunately, i didn''t found the right tutorial for it on the web...

so can you post a helpful url that would teach me how to do that?
and also, about how to access the jar file from the jsp container( doubt of terms )Please correct me....

Or can you show an example?
For example, i have a jar file in WEB-INF/lib/JARZKY.jar
and the content is com\myclass.class(with setSetter() and getGetter() methods)

How can you invoke that class through JSP?


A sincere Java Lover,
sukatoa


首先阅读一。

然后获得这个对于更严肃的事情没有太阳。
First read this one.
Then get this one which is free from sun for the more serious stuff.


这篇关于JSP入门的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆