aspose file tools
The moose likes Struts and the fly likes bean define doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "bean define doubt" Watch "bean define doubt" New topic
Author

bean define doubt

sudheer kiran
Ranch Hand

Joined: Jun 26, 2008
Posts: 237


whats wrong in this,i am getting error that TestBean is not available in any scope.
but
is working fine.


Sudheer
SCWCD, SCJP 5
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2896
    
    1

In bean:define Struts tag, the "name" attribute is for retrieving bean instance present in any scope(if "scope" is specified then it found in that particular scope, request/app/page/session) and assign it to the "id" attribute, if "property" is specified then that's beans property is retrieved only OR if its Java primitive data, then its wrapped in wrapper class.

This is the link, to know more about bean:define tag.

Search for example on internet.


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: bean define doubt
 
Similar Threads
struts bean:define problem.
help :how to get value from logic:iterate
Iterating over a map in JSP using struts
assign value of bean:write in variable
How to access session variable in jsp