I use a JEditorPane to display html I do this with setContentTypetext-html and then simply give it html It doesnt

getByEmail(user@domain.com) executed in 591ms

~javadoc Scanner.nextLine(*)

cheeser, please see java.util.Scanner.nextLine(): http://java.sun.com/javase/6/docs/api/java/util/Scanner.html#nextLine()

so is there a way to override the definition of a class in memory with a another?

~tell Fanook about tool

Fanook, A tool is only as good as its user. Tool.

8^)=

since when is it case sensitive?

so what shoudl i use

3 PM aop.profiling.MethodProfiler

fail..

use differnt classloaders
since I moved it to a database and out of memory

i am obviously lost

blahdeblah, using a profiler and profiling your code

i can/should probably fix that

ahh so basically I should load the classes with my own classloader

heh. it's simple enough

j
k

L for loser.

Fanook what should i use than?

nextLine() reads from the Scanner until it hits a newline. it ignores whatever token delimiter you set
just use next()

hmmm

why not jut use a bufferedreader

ill shall read it again
brb

g[r]eek: I love how open minded some people here are to questions

ordered my 2nd samsung ;p

nice g[r]eek
how big?

already considering how cool it would be to have a 3rd
19"
wide

nice
they are getting really cheap now

Fanook where does it say it ingores any demlimiters?

"Advances this scanner past the current line and returns the input that was skipped. This method returns the rest of the current line, excluding any line separator at the end"
it does not mention the pattern (which the OTHER next methods do)

yeah. but this is what i call nice: http://farm1.static.flickr.com/162/378716985_50b2f6f62a.jpg

jafari, you know, fanook shouldn't have to point that out to you…

nice!

when has that EVER happened :P

3 monitors ftw

pfn whats the big deal

hehe yeah. have you got 3 gfx cards btw? or does one have dual dvi? and what prog do you use to manage the desktops?

2 dual dvi

it was an over sight looking for them to mention something about the delimiter
but no worries

4 monitors was too much

thanks for the help apprecaite

wouldnt fit on the desk :s

you actually tried it?

for about 10 minutes
i had to put the 4th on another level of my desk
then i gave it to the GF

yeah 4 strikes me as overkill

she had a 17" crt :x
i bought 2 for work
then decided i was tired of code :p
so i had 4

Fanook now that i use next() no putput now
no output

lol
g[r]eek: windows or linux
?

im just looking forward to not having to alt-tab continuously
windows

aye!

well that's temporary. i've gone between windows and ubuntu many many time

i found multimon support by the windows window manager lacking
maybe you can find a good 3rd party wm

then you're doing something wrong. try some debugging

ive downloaded ultramon

~tell jafari about doing it wrong

jafari, I guess the factoid '~doing it wrong' might be appropriate:
jafari, ~doing it wrong is No, you're doing it wrong! See http://www.oddpic.com/data/520/you_re-doing-it-wrong.jpg

lol
lol@tampax (top right)

he's doing it wrong, you shave your face, not your wrists!

lol

I think I removed the extra '~'
(for that factoid)
Was probably set in private message where '~' is not needed.

~~

heh

does javabot have a birthday?

~countdown to your birthday

I guess the factoid 'countdown to apocalypse' might be appropriate:
Who needs a countdown when I've got this big red button?

haha

~countdown to my birthday

Nobody cares about your birthday.

I've been served.
by a bot

look on the bright side
it's not .Netbot

he's worse than Monty?

~forget ~doing it wrong

I never knew about ~doing it wrong anyway, r0bby.

goodnight

heh:
~javabot's javadoc plugin

AMcBain, javabot's javadoc plugin is broken.

is there a way to exclude url from filter url-pattern? maybe using regexps?

~forget javabot's javadoc plugin

I forgot about javabot's javadoc plugin, cheeser.

i added that when it was broken

that's fine

I forgot to remove it though, i sowwy

no worries

It's still broke in private messages.
If it refers you to a close match, but never prints it.
s/but/it/

oh yes…

acegi wraps original request and isUserInRole() returns false if i am authenticated in standard tomcat security system. is there a way to access this old isUserInRole()?

super?

AMcBain, where to call super? i have no access to acegi code..

opps, yeah …
oops
hmmm. Whats the issue? it should return 'true'?

yes

How can I override the decisions of the system classloader? I want force the class I created to override a class in the default classloader, but when I try to load it I get casting issues because it doesn't like that my new class is from a different classloader

In which case you could just call '!isUserInRole()' unless I totally missunderstand (in which case I'm no help past this point)

AMcBain.. following your logic i can just type "true"

heh, well, yeah …

the problem is - app is running under acegi, but i need to use standard security in a certain place

Well, I was supposing that it returned 'true' when it wasn't connected.
maybe it's a bug?

no, i just need a workaround.. i think i need a possibility in acegi API to use standard security
but can't find

Well, I'm really not the guy to ask. I thought I saw cheeser and r0bby on … maybe ojacobson is on … (nope, darn)

http://www.hanhuy.com/journal/pfn/java-xul-gridbaglayout
heh
Sashlik, you can't use standard security if you use acegi
it doesn't work the same

Not bad for a psuedo code idea.

Sashlik, best hope is to write a Filter on top of your application
Sashlik, the filter would create a HttpServletRequestWrapper with getUserPrincipal and isUserInRole() implemented using whatever acegi finds out

pfn.. too ugly for me

Sashlik, not ugly, really

I have been wrestling with this springlayout for a bit now, as far as i can tell, this http://rafb.net/p/sr7OMR21.html should show the usernameField stretched but it doesn't…
I have been wrestling with this springlayout for a bit now, as far as i can tell, this a href="http://rafb.net/p/sr7OMR21.html"http://rafb.net/p/sr7OMR21.html/a should show the usernameField stretched but it doesn't…
I have been wrestling with this springlayout for a bit now, as far as i can tell, this a href="a href="http://rafb.net/p/sr7OMR21.html"http://rafb.net/p/sr7OMR21.html/a"http://rafb.net/p/sr7OMR21.html"http://rafb.net/p/sr7OMR21.html/a/a should show the
usernameField stretched but it doesn't…

so my filter will get control, call request.isuserinROle(), and keep it for calls to it?

GBL for life
heh
Sashlik, no
your filter will get control, use the acegi mechanism for determining Principal object and supported roles and implement getUserPrincipal() and isUserInRole()
it will then pass the modified httpservletrequest object through the filter chain

is this attacheded to a JPanel or a JFrame?

but acegi has its own supported roles, not those described in tomcat-users.xml right?

*
To prove that you're not a bot, enter this code
Anti-Spam Image

Comments are closed.


Blog Tags:

Similar posts: