-1

I added dependencie for structs-taglibs.

<!-- https://mvnrepository.com/artifact/org.apache.struts/struts-taglib -->
    <dependency>
        <groupId>org.apache.struts</groupId>
        <artifactId>struts-taglib</artifactId>
        <version>1.3.10</version>
    </dependency>

now I see struts-taglib-1.3.10-sources.jar in Maven Dependencies.

In Jsp I added

<%@ taglib prefix="s" uri="/struts-taglib" %>

and then

<s:select key="id" list="@com.compsys.model.RightsGroupService@name"/>

But all this tag is with yellow underline with Unknown tag (s:select).

Can u help me?

Buhake Sindi
  • 87,898
  • 29
  • 167
  • 228

1 Answers1

0

That's because in Struts 1.x the select tag is not in the struts-taglib library but in the struts-html library.

Here is an example on how to use the Struts Select tag.

I hope this helps.

Buhake Sindi
  • 87,898
  • 29
  • 167
  • 228