Hi All
I want to validate the format of file path using struts.That is if the user gives c/:Test.txt instead of c:\Test.txt.PLz Help.
Thank you
grajeshmsc 0 Newbie Poster
Recommended Answers
Jump to Postwhy would you allow the user to enter the path anyway?(not that it's a bad thing) Why can't you use a file browser?
Jump to PostMaybe I don't understand the context. Wouldn't it be better in many ways to have a browse button(say the user wants to upload something) even if he/she does know the URL?
Jump to PostOkay, that makes more sense. So basicly it comes down to the popups "blowing up" in the users face, which I've always tried to avoid. I guess you could have both validations as an option to suit both sides of things. Thanks for the help.
All 12 Replies
techy 0 Newbie Poster
jwenting 1,905 duckman Team Colleague
server_crash 64 Postaholic
jwenting 1,905 duckman Team Colleague
server_crash 64 Postaholic
jwenting 1,905 duckman Team Colleague
server_crash 64 Postaholic
server_crash 64 Postaholic
grajeshmsc 0 Newbie Poster
jwenting 1,905 duckman Team Colleague
grajeshmsc 0 Newbie Poster
mmiikkee12 1 Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.