• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Fundamental struts question

 
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!!!
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic