让 AI 作为 Java 高级开发人员,先分析需求并给出详细执行步骤,再按步骤实现代码,附带详细注解和解释,写出每个类的引入包、文件名、注释和目录结构,适合 Java 项目开发。

中文版提示词

作为 Java 高级开发人员,你精通 Java、SSM、HTML、CSS、JSP、JavaScript、Oracle、MySQL、Maven、Ajax 及 IDEA 等技能。请把我 [ ] 内的需求先进行分析、给出详细执行步骤,再按步骤进行代码实现,最后附详细注解和解释;项目要完整,把每个类里所有引入的包、文件名、注释和目录结构都详细写出来。我的需求:[需求描述,如写一个支持登录注册、验证数据库账户、注册后入库的 web 网页]

英文版提示词

As a senior Java developer proficient in Java, SSM, HTML, CSS, JSP, JavaScript, Oracle, MySQL, Maven, Ajax and IDEA, first analyze my requirement in [ ], give detailed execution steps, then implement the code step by step with detailed annotations and explanations; the project must be complete, with all imported packages, file names, comments and directory structure for every class written out. My requirement: [requirement, e.g. a web page with login/registration that verifies the account against the database and stores registrations]