构建我的第一个 Java Web 应用程序 [英] Building my first Java Web Application
问题描述
我必须构建一个 Java Web 应用程序,但我不确定从哪里开始.
I have to build a java web application and I'm not sure where to start.
我对 Java 有丰富的经验,但我想知道是否有人可以向我指出如何将 Java 集成到网页中的一个很好的例子?
I have a good amount of experience with java but I would like to know if anybody can point me to a good example of how to integrate java into a web page?
我在谷歌上搜索时运气不佳.有没有关于如何做到这一点的体面的例子?是否类似于添加带有对象标签的 Flash 对象?谢谢
I searched google without much luck. Is there a decent example on how to do this? Is it similar to adding a flash object with an object tag? Thanks
推荐答案
您可以开始创建基于 html 和 servlet 的示例 Web 应用程序,此站点将指导您这样做.
You can start creating sample web application based on html and servlets, This site will guide you in doing so.
http://www.servletworld.com/servlet-tutorials/simple-servlet-example.html
你需要
JDKApache Tomcat(jar包在tomcat中,无需单独下载)
JDK Apache Tomcat(jars will be in tomcat so no need to download separatly)
这篇关于构建我的第一个 Java Web 应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!