permaculture playing cards*
The moose likes Struts and the fly likes Fundamental struts question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Fundamental struts question" Watch "Fundamental struts question" New topic
Author

Fundamental struts question

Archana Annamaneni
Ranch Hand

Joined: Jan 29, 2003
Posts: 147
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

Joined: Oct 01, 2003
Posts: 130
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 ]

SCJP1.4,SCBCD
Failure is not when you fall down; its only when you fail to get up again.
Archana Annamaneni
Ranch Hand

Joined: Jan 29, 2003
Posts: 147
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

Joined: Oct 01, 2003
Posts: 130
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!!!
 
wood burning stoves
 
subject: Fundamental struts question