Stupid Simple Question....
Hi Guys,
I haven't touched Java since 2001, and I find myself having to edit a jsp page real quick(something I normally don't do), and I am having a bit of a hard time trying to get what I would think would be easy task to happen. I have a variable that represents a directory path. It's not guaranteed that the it will or won't have a trailing slash I am trying to figure out the best way to detect if the trailing slash is present in the path. Suggestions?
I haven't touched Java since 2001, and I find myself having to edit a jsp page real quick(something I normally don't do), and I am having a bit of a hard time trying to get what I would think would be easy task to happen. I have a variable that represents a directory path. It's not guaranteed that the it will or won't have a trailing slash I am trying to figure out the best way to detect if the trailing slash is present in the path. Suggestions?
