Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

90
Vistas
Need equivalent of JSP tag in REACT
public class RadioOptions{

          private String key;
          private String value;
          //getter and setter methods
       }

Here you can retrieve the calls using the key value:

List<RadioOptions> radioOption= new ArrayList<RadioOptions>();
        radioOption.add( new RadioOptions("1", "This is option 1.") );
        radioOption.add( new RadioOptions("2", "This is option 2.") );
        radioOption.add( new RadioOptions("3", "This is option 3.") );
        radioOption.add( new RadioOptions("4", "This is option 4.") );

What will be react equivalent tag of this JSP Tag:

 <s:radio label="Please select the best choice" name="answer" list="radioOption" 
 listKey="key" listValue="value" value="1" />

about 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

You can use HTML <input type="radio"> to select only one of a limited number of choices . the same way your JSP Tag <s:radio/> works .

Example :

<label>
  <input
    type="radio"
    name="answer"
    value="1"
    
  />
  Please select the best choice
</label>

You can find more information on how to use radio buttons in React

about 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda