• Biz haqimizda
  • Kontaktlar
  • Xush kelibsiz!
  • Dorixona Veb-sayti




    Download 24,17 Kb.
    bet2/3
    Sana16.12.2023
    Hajmi24,17 Kb.
    #120350
    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 24,17 Kb.
    1   2   3




    Download 24,17 Kb.