File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Fundamental struts question Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Struts
Reply 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!!!
 
 
subject: Fundamental struts question
 
Threads others viewed
Can not instantiate Action Form bean
jsp vs servlet, stardard tag vs javabean
submit thru javascript
why bother with struts HTML tags?
html select onchange
IntelliJ Java IDE