Notice
Recent Posts
Recent Comments
«   2024/11   »
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Archives
Today
In Total
관리 메뉴

A Joyful AI Research Journey🌳😊

[9] 230425 팀 프로젝트 (1) 9일 차 Tue) 증명서 선택 및 다운로드 버튼 작동 Steps 본문

💖My Bootcamp Projects Logs✨/Team Project 1️⃣

[9] 230425 팀 프로젝트 (1) 9일 차 Tue) 증명서 선택 및 다운로드 버튼 작동 Steps

yjyuwisely 2023. 4. 25. 08:49

230425 Tue

우선 어제 다운로드 버튼 작동은 자바스크립트의 onbeforehand를 써서 쉽게 만들었다.:) => 더 쉬운 방법 window.print()도 있다.
그래서 step 3은 안 해도 된다. 


To create a webpage where a patient can download medical certificates, you can follow these steps:

  1. Create a webpage where the patient can select the certificate they want to download. You can use HTML and CSS for this. [DONE]
  2. Add three buttons to the webpage, one for each certificate.[DONE] Give each button a unique ID. 
  3. Use JavaScript to add an event listener to each button. When a button is clicked, the event listener should trigger a function that sends a request to the server to download the corresponding certificate. [DONE]
  4. On the server-side, create a function that takes the patient and doctor data as parameters and returns the file for the requested certificate.
  5. Use a web framework like Spring to handle the requests and responses.

In step 4, you'll need to implement the logic to retrieve the patient and doctor data from your MySQL database and display it on the screen. You can do this by creating a new Spring MVC controller that handles the request for the page that displays the patient and doctor data. The controller can retrieve the data from the database and pass it to a JSP page, which can then display the data using HTML and JSP tags.

728x90
반응형
Comments