Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Fundamental struts question

 
Archana Annamaneni
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To use struts, for a form do i have to use the struts html tag libraries?I meant i have to use the <html:form> or does it works with the regular form in the html.
 
pradeep arum
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi there!!!,
no u dont have to, think you are trying to reach a JSP file through a controller(struts-config.xml)
http://localhost:8080/dev/home.do?p_session=331414

you mapped the home to
<action path="/home" forward="/html-jsp/email.jsp">

do you think i used a html:form tag here?questions? reply.
thanks
Pradeep
[ September 23, 2004: Message edited by: pradeep arum ]
 
Archana Annamaneni
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you mean when i have to goto a JSP through controller then i have to use the <html:form> otherwise no.

I didn't get you exactly ?
 
pradeep arum
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the answer to your question is you dont have to use html:form tag because the html:tag's are converted into plain html , try to view source the file containing html:tags.
and for how to do it, my previous post is the answer
hope you got it!!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic