Java Web程序设计基础入门与实战(微课版)

“新起点电脑教程(微课版)”系列图书采用“基础讲解” “案例演练” “综合项目实战”的呈现模式,帮助编程初学者顺利上手,轻松入门,进而成长为编程高手。
为了帮助读者深入理解好所学的内容,每一小节都特别配有视频讲解,读者只要用手机扫描二维码,即可在线观看教学视频,随时随地都可以学。
“新起点电脑教程(微课版)”系列图书所有的案例都配有源代码,教材购书还赠送PPT教学案例,这些资源读者可登陆官方网站下载获取,非常方便。
Java是当前市面中常用的编程语言之一,是Web开发领域的领军开发语言。《Java Web程序设计基础入门与实战(微课版)》以通俗易懂的语言、翔实生动的操作案例、精挑细选的使用技巧,指导初学者快速掌握Java Web开发的基础知识与使用方法。本书主要内容包括Java Web网站开发基础、HTML技术概述、CSS样式基础知识、JavaScript脚本语言、JSP基础入门、动作指令和内置对象、自定义标签和新特性、Servlet详解、深入学习JavaBean、JSTL标签库、Ajax开发技术、数据库编程、使用JDBC、使用JSF技术、使用JavaMail发送邮件、在线商城系统(Spring Boot MySQL)等方面的知识。全书循序渐进、结构清晰,以实战演练的方式介绍知识点,让读者一看就懂。 《Java Web程序设计基础入门与实战(微课版)》面向学习Java Web开发的初、中级用户,适合无基础又想快速掌握Java Web开发技能的读者,同时对有经验的Java Web使用者也有很高的参考价值,还可以作为高等院校专业课教材和社会培训机构的培训教材。
文杰书院,专门从事计算机图书的策划与编写,主要成员由本工作室的全职工作人员、高校教师、各行各业的工程技术人员组成,图书出版范围涵盖计算机科学与技术的各个分支,兼顾计算机知识普及与提高,注重理论与应用相结合,努力推广实用性强的应用技术。
1.1 认识网页和网站 2
1.1.1 网页 2
1.1.2 网站 3
1.1.3 网站制作流程 4
1.1.4 网页设计流程 4
1.1.5 发布站点 5
1.2 Web开发技术介绍和工作原理 5
1.2.1 本地计算机和远程服务器 5
1.2.2 Web应用程序的工作原理 6
1.2.3 常用的Web开发技术 7
1.3 初步认识Java Web 8
1.3.1 Java语言介绍 9
1.3.2 Java Web体系介绍 9
随着电脑的推广与普及,电脑已走进了千家万户,成为人们日常生活、工作、娱乐和通信必不可少的工具。正因为如此,开发电脑程序成为一个很重要的市场需求。根据权威机构预测,在未来几年,国内外的高层次软件人才将处于供不应求的状态。而Java Web作为一门功能强大的Web开发技术,一直在业界处于领军地位。为了帮助大家快速地掌握Java Web这门编程语言的开发知识,以便在日常的学习和工作中学以致用,我们编写了《Java Web程序设计基础入门与实战(微课版)》一书。
购买本书能学到什么
本书在编写过程中根据Java Web的基础语法和常见应用为导向,深入贴合初学者的学习习惯,采用由浅入深、由易到难的方式讲解,读者还可以通过随书赠送的多媒体视频教学学习。全书结构清晰,内容丰富,主要包括以下4个方面的内容。
1. 学习
在JavaScript中,do…while的中文解释是“执行……当……继续执行”。在“执行(do)”后面跟随命令语句,在“当(while)”后面跟随一组判断表达式。如果判断表达式的结果为真,则执行后面的程序代码。
使用do…while循环语句的语法格式如下。
do {
程序语句区
}
while( 逻辑判断表达式 )
4.4.5 break控制语句
break控制语句的功能是终止循环结构的执行,通常将break放在循环语句的后面。使用break语句的语法格式如下。
循环语句
break
例如下面的一段代码。
script
Shipping Overview:
• Shipping: Standard Domestic Shipping within the United States charges first item USD 5.99 and additional item USD 3.0 each. Standard International Shipping from United Kingdom, Germany, Italian and Japan to the United States charges first item USD 9.99 and additional item USD 4.0 each.
• Import Duty: Everymarket collects applicable duties and taxes on goods imported into the U.S. at checkout, it's calculated based on the goods value multiply by the rate. For United Kingdom and China goods is 10%, Germany, Italian and Japan goods is 15%. We are committed to making your U.S. shopping experience simple and transparent. The method of delivery—either Delivered Duty Paid (DDP) or Delivered Duty Unpaid (DDU)—depends on whether duties and taxes are collected at the time of your purchase.
• Order Processing: Please allow 1-2 business days for order processing and preparation before shipment.
• Domestic Shipping: Orders within the U.S. are shipped via USPS or FedEx, depending on the origin of the product. Average transit times to the United States is 3 - 7 Business days and average transit times to International is 7 - 14 Business days
• International Shipping: Currently, we only ship within the USA.
• Tracking Information: Every order is trackable. You will receive a tracking number once your order has been shipped. Products may be shipped from various global fulfillment centers.
Shipping Delays:
Please note that shipping times may vary due to factors beyond our control, such as weather conditions, natural disasters, or peak holiday periods. While we strive to ensure timely delivery, the exact arrival time cannot be guaranteed and is managed by the shipping carrier.
Shipping Options:
-
Standard Delivery: Most orders are shipped within 3-7 business days. Larger items may utilize LTL shipping for safe handling.
-
Handling Time: We handle shipments on business days (Monday - Friday), with a preparation time of 1-2 days.
-
Additional Charges: Some items require additional shipping charges due to their size, weight, or special handling. These charges are specified on the product pages and are not eligible for shipping discounts.
-
Exclusions: Gift cards, packaging, taxes, and prior purchases do not count toward the minimum purchase requirement for free shipping. This offer is valid only for shipments to U.S. addresses, including Puerto Rico.
Delivery Details:
-
Estimates: Standard shipping within the US typically takes 3-7 business days. These are estimates and not guarantees.
-
Shipping Restrictions: We ship to all 50 states, Washington, DC, U.S. territories, and APO/FPO/DPO addresses. Shipping options vary based on the delivery address.
-
Remote Areas: Shipments to remote areas may incur additional charges or require pickup from a nearby shipping partner’s location.
Shipping Confirmation:
You will receive a shipping confirmation email with a tracking number as soon as your order is dispatched. If you do not receive this email immediately, please be assured that your items will arrive within the estimated delivery window provided at checkout.
Order Modifications:
If you need to cancel or modify your order, please contact our customer support immediately.
Issues with Delivery:
If your order shows as delivered but you have not received it, please contact the shipping carrier directly to resolve the issue. For persistent problems, contact our customer service at cs@everymarket.com.
Customer Support:
Our team is available 24/7 to assist you with any questions or concerns regarding your order. We are committed to ensuring a smooth shopping experience.
Return & Refund Policy Overview
Please review our return and refund policies below to ensure a smooth transaction process.
Return Policy
-
Duration: You have 30 days from receiving your item to initiate a return.
-
Condition: Items must be unworn, unwashed, with original tags and packaging intact.
-
Shipping Costs: Please contact us to initiate your return, we'll offer return label for free. Otherwise we are not responsible for the return shipping costs of the items.
-
Packaging: Ensure returned items are well-packaged to avoid damage during transit.
-
Tracking: Use a trackable and insured shipping method as we are not liable for items lost or damaged on return.
-
Initiating a Return: Contact us at cs@everymarket.com to start your return. We will provide a return shipping label and instructions upon approval. Returns without prior approval will not be accepted.
How to Return
-
Method: Returns must be sent back by mail to the address provided in the return instructions.
Return Label
-
Please contact us to get return labels.
Product Conditions for Return
-
Eligible Products: Returns are only accepted for items in new condition.
Nonreturnable Items
Certain items are not eligible for return:
-
Electronic devices after 30 days (e.g., computers, laptops, Kindles)
-
Gift cards, prepaid game cards
-
Perishable goods, live insects, some jewelry, some health and personal care items
-
Customized or personalized products
-
Items with special shipping restrictions
Refund Policy
-
Window: Eligible products may be returned within 30 days of delivery for a refund.
-
Refund Method: Refunds are processed to the original payment method or as store credit for items purchased with gift cards.
-
Processing Time: Refunds are processed within 3-5 business days after we receive the return; please allow additional time for shipping and bank processing.
Claims
Inspect your order upon arrival and report any defects, damages, or incorrect items immediately to allow us to address the issue. For claims, contact our support team with details of the issue.
Exchange Policy
For the quickest service, return your original item and place a new order for the desired product once your return is accepted.
Return Address
EveryMarket Customer Service 2101 E Terra Ln, O'Fallon, MO 63366
Customer Support
Available 24/7 for any questions or assistance needed:
-
Phone: +1 (800) 660-3783
-
Email: cs@everymarket.com

“新起点电脑教程(微课版)”系列图书采用“基础讲解” “案例演练” “综合项目实战”的呈现模式,帮助编程初学者顺利上手,轻松入门,进而成长为编程高手。
为了帮助读者深入理解好所学的内容,每一小节都特别配有视频讲解,读者只要用手机扫描二维码,即可在线观看教学视频,随时随地都可以学。
“新起点电脑教程(微课版)”系列图书所有的案例都配有源代码,教材购书还赠送PPT教学案例,这些资源读者可登陆官方网站下载获取,非常方便。
Java是当前市面中常用的编程语言之一,是Web开发领域的领军开发语言。《Java Web程序设计基础入门与实战(微课版)》以通俗易懂的语言、翔实生动的操作案例、精挑细选的使用技巧,指导初学者快速掌握Java Web开发的基础知识与使用方法。本书主要内容包括Java Web网站开发基础、HTML技术概述、CSS样式基础知识、JavaScript脚本语言、JSP基础入门、动作指令和内置对象、自定义标签和新特性、Servlet详解、深入学习JavaBean、JSTL标签库、Ajax开发技术、数据库编程、使用JDBC、使用JSF技术、使用JavaMail发送邮件、在线商城系统(Spring Boot MySQL)等方面的知识。全书循序渐进、结构清晰,以实战演练的方式介绍知识点,让读者一看就懂。 《Java Web程序设计基础入门与实战(微课版)》面向学习Java Web开发的初、中级用户,适合无基础又想快速掌握Java Web开发技能的读者,同时对有经验的Java Web使用者也有很高的参考价值,还可以作为高等院校专业课教材和社会培训机构的培训教材。
文杰书院,专门从事计算机图书的策划与编写,主要成员由本工作室的全职工作人员、高校教师、各行各业的工程技术人员组成,图书出版范围涵盖计算机科学与技术的各个分支,兼顾计算机知识普及与提高,注重理论与应用相结合,努力推广实用性强的应用技术。
1.1 认识网页和网站 2
1.1.1 网页 2
1.1.2 网站 3
1.1.3 网站制作流程 4
1.1.4 网页设计流程 4
1.1.5 发布站点 5
1.2 Web开发技术介绍和工作原理 5
1.2.1 本地计算机和远程服务器 5
1.2.2 Web应用程序的工作原理 6
1.2.3 常用的Web开发技术 7
1.3 初步认识Java Web 8
1.3.1 Java语言介绍 9
1.3.2 Java Web体系介绍 9
随着电脑的推广与普及,电脑已走进了千家万户,成为人们日常生活、工作、娱乐和通信必不可少的工具。正因为如此,开发电脑程序成为一个很重要的市场需求。根据权威机构预测,在未来几年,国内外的高层次软件人才将处于供不应求的状态。而Java Web作为一门功能强大的Web开发技术,一直在业界处于领军地位。为了帮助大家快速地掌握Java Web这门编程语言的开发知识,以便在日常的学习和工作中学以致用,我们编写了《Java Web程序设计基础入门与实战(微课版)》一书。
购买本书能学到什么
本书在编写过程中根据Java Web的基础语法和常见应用为导向,深入贴合初学者的学习习惯,采用由浅入深、由易到难的方式讲解,读者还可以通过随书赠送的多媒体视频教学学习。全书结构清晰,内容丰富,主要包括以下4个方面的内容。
1. 学习
在JavaScript中,do…while的中文解释是“执行……当……继续执行”。在“执行(do)”后面跟随命令语句,在“当(while)”后面跟随一组判断表达式。如果判断表达式的结果为真,则执行后面的程序代码。
使用do…while循环语句的语法格式如下。
do {
程序语句区
}
while( 逻辑判断表达式 )
4.4.5 break控制语句
break控制语句的功能是终止循环结构的执行,通常将break放在循环语句的后面。使用break语句的语法格式如下。
循环语句
break
例如下面的一段代码。
script
Shipping Overview:
• Shipping: Standard Domestic Shipping within the United States charges first item USD 5.99 and additional item USD 3.0 each. Standard International Shipping from United Kingdom, Germany, Italian and Japan to the United States charges first item USD 9.99 and additional item USD 4.0 each.
• Import Duty: Everymarket collects applicable duties and taxes on goods imported into the U.S. at checkout, it's calculated based on the goods value multiply by the rate. For United Kingdom and China goods is 10%, Germany, Italian and Japan goods is 15%. We are committed to making your U.S. shopping experience simple and transparent. The method of delivery—either Delivered Duty Paid (DDP) or Delivered Duty Unpaid (DDU)—depends on whether duties and taxes are collected at the time of your purchase.
• Order Processing: Please allow 1-2 business days for order processing and preparation before shipment.
• Domestic Shipping: Orders within the U.S. are shipped via USPS or FedEx, depending on the origin of the product. Average transit times to the United States is 3 - 7 Business days and average transit times to International is 7 - 14 Business days
• International Shipping: Currently, we only ship within the USA.
• Tracking Information: Every order is trackable. You will receive a tracking number once your order has been shipped. Products may be shipped from various global fulfillment centers.
Shipping Delays:
Please note that shipping times may vary due to factors beyond our control, such as weather conditions, natural disasters, or peak holiday periods. While we strive to ensure timely delivery, the exact arrival time cannot be guaranteed and is managed by the shipping carrier.
Shipping Options:
-
Standard Delivery: Most orders are shipped within 3-7 business days. Larger items may utilize LTL shipping for safe handling.
-
Handling Time: We handle shipments on business days (Monday - Friday), with a preparation time of 1-2 days.
-
Additional Charges: Some items require additional shipping charges due to their size, weight, or special handling. These charges are specified on the product pages and are not eligible for shipping discounts.
-
Exclusions: Gift cards, packaging, taxes, and prior purchases do not count toward the minimum purchase requirement for free shipping. This offer is valid only for shipments to U.S. addresses, including Puerto Rico.
Delivery Details:
-
Estimates: Standard shipping within the US typically takes 3-7 business days. These are estimates and not guarantees.
-
Shipping Restrictions: We ship to all 50 states, Washington, DC, U.S. territories, and APO/FPO/DPO addresses. Shipping options vary based on the delivery address.
-
Remote Areas: Shipments to remote areas may incur additional charges or require pickup from a nearby shipping partner’s location.
Shipping Confirmation:
You will receive a shipping confirmation email with a tracking number as soon as your order is dispatched. If you do not receive this email immediately, please be assured that your items will arrive within the estimated delivery window provided at checkout.
Order Modifications:
If you need to cancel or modify your order, please contact our customer support immediately.
Issues with Delivery:
If your order shows as delivered but you have not received it, please contact the shipping carrier directly to resolve the issue. For persistent problems, contact our customer service at cs@everymarket.com.
Customer Support:
Our team is available 24/7 to assist you with any questions or concerns regarding your order. We are committed to ensuring a smooth shopping experience.
Return & Refund Policy Overview
Please review our return and refund policies below to ensure a smooth transaction process.
Return Policy
-
Duration: You have 30 days from receiving your item to initiate a return.
-
Condition: Items must be unworn, unwashed, with original tags and packaging intact.
-
Shipping Costs: Please contact us to initiate your return, we'll offer return label for free. Otherwise we are not responsible for the return shipping costs of the items.
-
Packaging: Ensure returned items are well-packaged to avoid damage during transit.
-
Tracking: Use a trackable and insured shipping method as we are not liable for items lost or damaged on return.
-
Initiating a Return: Contact us at cs@everymarket.com to start your return. We will provide a return shipping label and instructions upon approval. Returns without prior approval will not be accepted.
How to Return
-
Method: Returns must be sent back by mail to the address provided in the return instructions.
Return Label
-
Please contact us to get return labels.
Product Conditions for Return
-
Eligible Products: Returns are only accepted for items in new condition.
Nonreturnable Items
Certain items are not eligible for return:
-
Electronic devices after 30 days (e.g., computers, laptops, Kindles)
-
Gift cards, prepaid game cards
-
Perishable goods, live insects, some jewelry, some health and personal care items
-
Customized or personalized products
-
Items with special shipping restrictions
Refund Policy
-
Window: Eligible products may be returned within 30 days of delivery for a refund.
-
Refund Method: Refunds are processed to the original payment method or as store credit for items purchased with gift cards.
-
Processing Time: Refunds are processed within 3-5 business days after we receive the return; please allow additional time for shipping and bank processing.
Claims
Inspect your order upon arrival and report any defects, damages, or incorrect items immediately to allow us to address the issue. For claims, contact our support team with details of the issue.
Exchange Policy
For the quickest service, return your original item and place a new order for the desired product once your return is accepted.
Return Address
EveryMarket Customer Service 2101 E Terra Ln, O'Fallon, MO 63366
Customer Support
Available 24/7 for any questions or assistance needed:
-
Phone: +1 (800) 660-3783
-
Email: cs@everymarket.com
Oops!
Sorry, it looks like some products are not available in selected quantity.

