Hello, I need some help with accent patterns.

I've heard that there is a pattern of stress which depends on the declension class of nouns. Unfortunately I can't find a good website that will explain it properly.

If you know about this please explain it to me or if you know a good site which explains it fully please tell me the address. Another thing, does anyone know a good on-line dictionary which that shows stress?

I appreciate any help