Thank you for your response.
I'm using NetBeans 17 as the IDE, with Java 21, and running the application
on Tomcat 10.0.20.
The issue occurs when I try to run the web application from within the IDE.
NetBeans shows the following error when the issue occurs:
The s:form tag declares that it accepts dynamic attributes but does not
implement the required interface
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body>
<h1>Hello World!</h1>
<s:form> <!-- The s:form tag declares that it accepts dynamic
attributes but does not implement the required interface -->
<s:textfield name="name" value="Enter U name"/>
<s:submit name="submit" value="Add" action="index"></s:submit>
</s:form>
</body>
</html>
On Thu, Apr 17, 2025 at 10:59 AM Lukasz Lenart <[email protected]>
wrote:
> wt., 15 kwi 2025 o 09:57 shankar sawate <[email protected]>
> napisał(a):
> > While migrating to Struts 7.0.0, I'm encountering an issue when using the
> > <s:form> tag. Even though the tag is present like this
> >
> > jsp
> > <%--<s:form></s:form>--%>
> > I’m getting the following warning or error:
> >
> > The s:form tag declares that it accepts dynamic attributes but does not
> > implement the required interface
>
> It would be good to provide more details, when does it happen? What
> Java version do you use? Is this in an IDE or when running a webapp in
> a container?
>
> There are a bunch of examples which are working just fine, so I assume
> it's something wrong with your setup.
> https://github.com/apache/struts-examples/
>
>
> Cheers
> Łukasz
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>