Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!

Aknod Algabar

Greenhorn
+ Follow
since Feb 01, 2010
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 Aknod Algabar

Hello,

Using JTextPane editing HTML in my application I found that HtmlReader (probably) ignores/removes empty paragraphs... For example, loading the following HTML code

<html>
<head>

</head>
<body>
<p style="margin-top: 0">

</p>
</body>
</html>

causes something like that

<html>
<head>

</head>
<body>
</body>
</html>

Also it ignores/removes table cells with empty paragraph elements inside. It is interesting that it removes only one element per getText/setText iteration.

This unwanted removing of empty elements causes a lot of headache during editing, etc.

I appreciate any comments and suggestions how to fix it.

Thank you,

Alex
7 years ago
Hello,
I am really hope that you will be able to help me in my problem. I have JBoss 4.2.2, PostgreSQL and application with basic security, here fragment from login-config.xml

and from ...-ds.xml

and each time when I am trying to deploy it I have "SecurityException... PersistenceManager... invalid authentication attempt principal=null", exactly as it was described above. What is more interesting I didn't have this problem before with same settings, but after some changes in application, but not in configurations files, I received this error message... I already tried to compare old and new versions file by file, but I was unable to find anything that can cause something like that. About other security settings I followed by this example and as I mentioned everything was perfect. I am really hope that you have some ideas...
Thank you in advance!
8 years ago