• 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

question about strut-logic .tld

 
Ranch Hand
Posts: 647
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello ALl,

I have a code given below..


<logic :present name="SHOWAUTHORIZESUBMIT" >
<html:image property="authorizeSubmit" align="center" alt="Authorize/Submit Checked Reports" title="Authorize/Submit Checked Reports" />
</logic :present>

I know what is name attribute does :The variable to be compared is the JSP bean specified by this attribute.

so what exactly the above code will do?
any help appreciated..
thanks a lot..
trupti
[ July 29, 2004: Message edited by: trupti nigam ]
 
trupti nigam
Ranch Hand
Posts: 647
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
someone please reply to my message..

thanks,
Trupti
 
Ranch Hand
Posts: 341
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This code checks existence of the bean name "SHOWAUTHORIZESUBMIT" in any scope. If you keep this bean in session scope, this page shows image input to you.
 
trupti nigam
Ranch Hand
Posts: 647
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Surasak ,
I have one more question..Should the name:"SHOWAUTHORIZESUBMIT" appear in the strut-config.xml.
when you say it searches for the bean name ..where exactly it searches it??
I mean the form,jsp,servlet where?? I am newbei to struts..so my question may seem like a fool..but please answer it..
thanks..
trupti
 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It searchs under different contexts, in the order of page context, request context, session context, then application context.
 
reply
    Bookmark Topic Watch Topic
  • New Topic