Win a copy of Murach's MySQL this week in the JDBC and Relational Databases forum!

Jeroen Nouws

Greenhorn
+ Follow
since Jul 14, 2011
Merit badge: grant badges
For More
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 Jeroen Nouws

Hello,

Are there any good books about Augmented Reality on Android available which you can recomend me to start with?
12 years ago
Hello,

I've come accross a persistence provider not found error.
Below you'll find my persistence.xml file that's located under src/META-INF

I have added the eclipselink library to my WEB-INF/lib folder but I still get following error



So here's also the line that generates this error





Is there anything I've overlooked or can anyone point me in the direction i should start looking?

much appreciated

cheers
resolved, had to add the servlet in the web.xml file
12 years ago
GWT
Hello,

I'm still a big noob at GWT but i'm trying to follow the example from the packt coockbook to get started with it,
I'm currently trying to save some information i entered in a form to my DB but i get this warning, so probably I mapped something wrong in my Service interface.

this is my interface with my mapping



And this is the warning



how do i map this correctly? and is there a way to map it in my web.xml file asswell?

cheers

12 years ago
GWT
Hi, I'm looking to start on GWT development,
is there anyone who can advise me a good book on the subject that isn't out of date?
currently I'm reading GWT In Practice but this book is out of date.
I'm myself a big fan of books so I rather read a book on the subject instead of online tutorials.

Cheers
12 years ago
GWT
Hello everyone,

I'm working on an app that has to write a pdf to the ServletOutputStream so it opens in the browser,
i'm fairly new to spring so I basicly have no clue on how to start on this.
I've written a controller method and set the response header to application/pdf but all it shows is a blank html page not even application/pdf in the browser's title bar.
Below you'll find the code I've written, do I have to register a bean to use the HttpServletResponse in the context file or what am I missing?

12 years ago
Hello I'm trying to make a form where a new user can register by simply filling out his/her name and password
i've mapped the RequestMapping of my controller to the register root folder but when i'm trying to load my User bean to use with my form i'm getting above error.
here's the JSP with the form which is located at /JSP/register/registerform.jsp


and here's the code of my controller


the suffix and prefix of the InternalResourceViewResolver is this

anyone who can tell me where i'm doing it wrong?
12 years ago
Hi everyone,

i have a JSP with a multipart/data-form which has a combination of textfields, file upload field and checkboxes.
I'm currently stuck at how to get the values from the different checkboxes to put them in an array.

here's the part in my servlet i use to extract the formfields and their input and put them in a map.



hi i've defined a security constraint in my web.xml file looking like this



i get a connection to the database and i'm able to login if i comment out the auth-constraint element but otherwise I can't login,
I've checked in my database if i set up the correct role for my user and it has so can anyone help me out please

thank you
12 years ago
Hey,
I got a byte[] from an xml stream that i want to print to the screen,
this is not really a problem but there's a lot of whitespace in the end and i want it out.
the byte[] is always different but here's an example of the output

as you can see a lot of whitespace :/

12 years ago
Hi,

i'm using a container type security constraint in my webb-app but now i have to implement hibernate into it

my context.xml file looks like



and my hibernate.cfg.xml looks like



in my web.xml i've defined a security constraint that looks like this


this used to work before i started using hibernate and i can't find a decent explenation on the internet,
can any of you help me out please

cheers
Hey i'm trying to get ant installed on my centos box
preinstalled came a ant 1.7 but now i want to upgrade it to 1.8 (just for the heck of it)
i downloaded the tarball and unpacked it in /usr/local/ant and set my system variables in the /root/.bash_profiles
however if i run ant -version i still get ant 1.7 how can i make sure my default is 1.8?

cheers
12 years ago
i've found what i was looking for in the request.getRemoteUser();
with logging in i meant supplying a username and password to access a restricted area
12 years ago
Hey everyone,

I have a webapp with a datasource realm for loging in,
problem is that the passwords are stored as clear text at this time and i want to have them as md5 or sha.
how do i configure my context.xml file then for this digested passwords?



thank you for checking this
12 years ago
Hey,

i'm looking to get a username from a person that loggs in,
i heard you can get it from the servletContext, but don't know what method to look for
can anyone help me on my way?

cheers
12 years ago