if I have a web application with a table user and user_images. theres a one to many relationship where a user can have many images. the images are stored in a folder on the file system and the images table in the database only stores image name, date, width and height.
a customer can select one of his many images as a profile photo.
1) how should I assign image names for easier retrieval.
2) should I store the profile photos in a different folder?
I am creating a Java EE Web Application that I intend to deploy in glassfish server
to scale an image without distorting its aspect ratio so that i can dispay it in a divide which has fixed height and width. But i managed to do that by not specifying the width and height in the img tag and in my css
] it works.
this are my reasons why i don't like the new design.
1) i just like how wide the current page is making code snippets easy to view.
2) less webgraphics = faster page load => happy users
3) simplicity is what makes this site great please don't take that away from us.
hello guys can somebody please help me understand why dividing two BigDecimals in JSTL throws
i have checked both values and i know they are both not equal to zero.
The only thing holding me back from throwing the computer out the window is the fact that i have solved the same problem before and it had something to do with setting round_mode but i can't remember how i did it.
in my jsp this is what i have
i am sure both totalA and totalB are not null or zero
I set comet support in http-listener through the browser administration console but on shutting down and restarting the server or running it in debug mode results in disabled comet support. how can I make this setting permanent?
What's up fellow ranchers. pretty rough day out in the fields for for me. I have started learning jquery and am trying to get a string from the server but when
i do alert(response) i find that the response is the whole jsp page from the server. how can i get just the string only. i have heard of JSON and if any one of you can
help me get started will be very thankful.