일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
- Absolute
- AGI
- ai
- AI agents
- AI engineer
- AI researcher
- ajax
- algorithm
- Algorithms
- aliases
- Array 객체
- ASI
- bayes' theorem
- Bit
- Blur
- BOM
- bootstrap
- canva
- challenges
- ChatGPT
- Today
- In Total
A Joyful AI Research Journey🌳😊
[9] 230425 팀 프로젝트 (1) 9일 차 Tue) 증명서 선택 및 다운로드 버튼 작동 Steps 본문
[9] 230425 팀 프로젝트 (1) 9일 차 Tue) 증명서 선택 및 다운로드 버튼 작동 Steps
yjyuwisely 2023. 4. 25. 08:49230425 Tue
우선 어제 다운로드 버튼 작동은 자바스크립트의 onbeforehand를 써서 쉽게 만들었다.:) => 더 쉬운 방법 window.print()도 있다.
그래서 step 3은 안 해도 된다.
To create a webpage where a patient can download medical certificates, you can follow these steps:
- Create a webpage where the patient can select the certificate they want to download. You can use HTML and CSS for this. [DONE]
- Add three buttons to the webpage, one for each certificate.[DONE] Give each button a unique ID.
- 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]
- On the server-side, create a function that takes the patient and doctor data as parameters and returns the file for the requested certificate.
- 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.