This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Simplest Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Simplest Problem" Watch "Simplest Problem" New topic

Simplest Problem

Rohit Ahuja
Ranch Hand

Joined: Oct 04, 2001
Posts: 121
Hi Guys,
Am a newbie when it comes to Struts. Am just wondering what the following tag wud look like in struts.

My bean(say Hello) has a field phone_number.

in common jsp language i wud say jsp:useBean name="Hello"

if( Hello.getPhone_number().toString().length() == 10)

Want a quick solution.

Face Off.
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
Before you get your quick solution, would you mind changing your display name so that it complies with our naming policy?

Thank you.

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Marc Peabody
pie sneak

Joined: Feb 05, 2003
Posts: 4727

I'll wait until you meet Lasse's request.

A good workman is known by his tools.
Rohit Ahuja
Ranch Hand

Joined: Oct 04, 2001
Posts: 121
Now This is not done mate. ((((( We all know software engineers are a fancy lot. So what if i am named as a stylish hunk on this site ? (
I agree. Here's the link:
subject: Simplest Problem
Similar Threads
Split String Based On String Length issue
Regex for adding CDATA to XML nodes
Is there a find method for strings?
No configuration found for the specified action error in netbean
need help with practise questions.