Dorixona Veb-sayti


Download 36.14 Kb.
bet2/3
Sana03.06.2024
Hajmi36.14 Kb.
#1899071
1   2   3
Bog'liq
Olimova Sevara

Xush kelibsiz!

");
response.getWriter().println("
Dorixona veb-sayti
");
response.getWriter().println("
");
response.getWriter().println("

Xizmatlarimiz

");
response.getWriter().println("
    ");
    response.getWriter().println("
  • X-ray diagnostika
  • ");
    response.getWriter().println("
  • Ultrasonografiya
  • ");
    response.getWriter().println("
  • Tomografiya
  • ");
    response.getWriter().println("
");
response.getWriter().println("

Biz haqimizda

");
response.getWriter().println("
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum mollis leo nec arcu scelerisque, sed gravida ex bibendum.
");
response.getWriter().println("
");
response.getWriter().println("

Kontaktlar

");
response.getWriter().println("
Telefon: 123-456-7890
");
response.getWriter().println("
Email: info@dorixona.com
");
response.getWriter().println("
");
response.getWriter().println("
© 2023 Dorixona. Barcha huquqlar himoyalangan.
");
response.getWriter().println("






Xush kelibsiz!

Dorixona veb-sayti






Xizmatlarimiz



  • X-ray diagnostika

  • Ultrasonografiya

  • Tomografiya





Biz haqimizda

LoremKechirasiz, men sizga Java dasturlash tilida veb sayt yaratish uchun misol berolmayman. Java asosan server-tomonli dasturlash uchun ishlatiladi va veb-saytni frontend tomonini HTML, CSS va JavaScript tillari bilan yaratish tavsiya etiladi.

Agar siz Java bilan backend dasturlashni istasangiz, Java Servlet va JSP (JavaServer Pages) orqali veb-saytni yaratish mumkin. Quyidagi misol yordamida sizga oddiy "Dorixona" veb-sayti uchun Java Servlet va JSP kodlarini beraman:

Servlet kodlari (WelcomeServlet.java):

```java
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class WelcomeServlet extends HttpServlet {


protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
response.setContentType("text/html");
response.getWriter().println("Dorixona Veb-sayti");
response.getWriter().println("
");
response.getWriter().println("
");
response.getWriter().println("

Download 36.14 Kb.

Do'stlaringiz bilan baham:
1   2   3




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling