Mike schwery [
http://community.jboss.org/people/mschwery] created the discussion
"Getting output in jsp from PBEUtils"
To view the discussion, visit:
http://community.jboss.org/message/618909#618909
--------------------------------------------------------------
In a jsp i'm calling PBEUtils to encrypt a password, but the class returns the
encrypted password in the stderr.
For example in the jsp I have the following
String[] input =
{"KJKdjkw1","50","nn32kF*vn3","fubar1234"};
PBEUtils.main(input);
The output is 16:15:38,574 ERROR [STDERR] Encoded password: 2ELTO5EQXKjjCADxkwavrO
How do I grab it from the stderr?
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/618909#618909]
Start a new discussion in JBoss Web Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]