单击超链接时,将选定的信息从JSP发送到servlet
我正在使用一个显示“节日名称”列表的JSP页面。 我想链接到点击页面,该页面将显示该节日的“个人资料页面”。 我如何发送哪个链接被点击到JAVA SERVLET,以便我可以使用SQL和Java将所选信息发送到“配置文件页面”jsp。
Festival Name: Location: Start Date: End Date: URL: List of Trips to ${festival.festivalName} ${festival.location} ${festival.startDate} ${festival.endDate} ${festival.URL} View Your Festivals ^i have the festivals ID that can be sent with this link in the jsp
我简单地需要知道如何将所选的“节日”ID发送回servlet,以便它可以生成配置文件JSP。 编辑:以及如何在servlet上捕获它