This week's book giveaway is in the Design and Architecture forum.
We're giving away four copies of Communication Patterns: A Guide for Developers and Architects and have Jacqui Read on-line!
See this thread for details.

Andr� Korsnes Bruns�l

Greenhorn
+ Follow
since Aug 22, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Andr� Korsnes Bruns�l

Hello.

I want to store a file as a CMP field of an CMP entity bean. How would I do this? Will it kill the scalability of my entity bean if I store a file in it?

best regards
Andr� Bruns�l
Hello all!

I know java, jsp and servlets, but I would like to use session and entity beans in my app. Where should I put the code that uses the bean?

(yes...code snippets are helpful )

thanks
Andr�
Thank you Bear for your quick response!
18 years ago
JSP
Hello everybody.

I try to find out a way to process results from a database query in my jsp.

I have a servlet that performs the query, but what should I do with the ResultSet?
- Store it in the http session and fetch it from my jsp?
- Run through it and store the records in an arraylist and store the arraylist in the http session and process it in my jsp?
- Have the servlet create html to show in the jsp?
- Some other solution...?

Kind regards
Andre Bruns�l
18 years ago
JSP
Thank you for your quick responses Stefan and Bear.

The section on Constants in Bear's article worked like a charm.

Thanks again!
19 years ago
JSP
I have a class called Constants.java that contains a number of static final constants.

When I try accessing them by ${Constants.CONST_NAME}, nothing is returned. I have also tried creating a getCONST_NAME() method in the class but this does not return anything either.

If I use <%= Constants.CONST_NAME %> the correct value is returned.

Is the root of my problem that I have missed something, or can it be some kind of setting on my Tomcat server I have not set?

I'm using Tomcat 5.0.27.

Thanks
19 years ago
JSP