Quiddo Quitch

Ranch Hand
+ Follow
since Apr 21, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Quiddo Quitch

I created a jar (myjar.jar) file that I placed in the lib directory of my webapp. The jar file I created needs to read from a properties file that is in a different directory. When I try to specify the path to this properties file I am getting an exception.

The code I am using



Dir structure below

How can I specify the correct path?
11 years ago
I have plain html input text elements on my form along with other jsf elements. I want to know if there is a way to set the values of these html elements on the server side. I already know that javascript can be used to set the form values on the client side, but I wanted to do this on the server side.
14 years ago
JSF
i know about ...

java -jar myProgram.jar

but is there a way where the user just double click the jar file, and the console pop-ups with the running program ?

if not ...

is there a way to include for example a picture in a .class archive ?

thank you
14 years ago

Henry Wong wrote:

why you cant give me a hint ?



Because I don't know how to explain it... short of asking you to read up on regex. Anyway, here is your solution with a regex that works.



Henry



OMG !!! that is almost what i want ...

(?=.*w)(?=.*w)(?=.*w)(?=.*w)" --> true, but it should be false because "water" has only ONE 'w'

anyway, thank you VERY much sir
14 years ago