1 Replies - 1569 Views - Last Post: 17 July 2012 - 10:39 PM

#1 hctm.ankit  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 9
  • Joined: 13-June 12

struts tag

Posted 14 June 2012 - 05:42 AM

hello evry1.
can any1 tells that how to use struts tag in jsp file.
nd what is mean on <html: > , <bean: >,<logic: >,<tile: >
and what is use of these>?
Is This A Good Question/Topic? 0
  • +

Replies To: struts tag

#2 mohananasundaramn90  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 14
  • Joined: 16-July 12

Re: struts tag

Posted 17 July 2012 - 10:39 PM

After include struts jar file into the lib folder.Then in jsp page you must mention(ie)

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

Note in prefix whatever you give that only using as tags.Here i gave prefix as "s".So

Example:

<s:form action="Myaction">
<s:textfield name="username" label="username"/>
<s:textfield name="password" label="password"/>
<s:submit value="Login"/>
</s:form> 


Like that only we use
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1