Dror Astricher

Ranch Hand
+ Follow
since May 20, 2005
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 Dror Astricher

Thanks, have a great day
[ May 25, 2006: Message edited by: Dror Astricher ]
14 years ago
Thanks Bear

I liked your answer

Dror
14 years ago
Thanks for the advice Bear

I'm not planing on using Struts just because of the i18n
I was wondering what are the benefits of Struts that everyone is using it. It looks like I can do everything that Struts do with JSTL-servlets-model and easier.
I also think it's clearer.
The only thing I find special is that when you come back after validation, the form fields are still full with what you typed before.

Maybe, as I read in one of the forums, I should just try to get used to Struts and then see its true benefits. That's why I was thinking of using it.

I would be very happy to get your opinion.

And don't worry, I'm not going to make it a Struts discussion


Thanks again
Dror
[ May 25, 2006: Message edited by: Dror Astricher ]
14 years ago
Thanks guys

I wasn't sure if to use Struts or not. I will use it and implement it's i18n.

Thanks,
Dror
14 years ago
Hi guys,

I'm using Struts and wondered, what is the best way to use language files?

1. Should I put it all in the database and then take it once into a Hashtable that will be saved in Session? Then I can use JSTL to get the variable very easy all over the application.
When the language change, the Hashtable will be loaded with the new language from the database.

2.Should I use text files to store the language variable? and then again once puting it into a hashtable and so on.

3.Can I use a properties file like the ApplicationResource in Struts to store the language variables?

4.Should I just hardcode the variable in different language Hashtables, and then assign the right Hashtable to the Hashtable I use in my Jsp?

Many thanks in advance and have a great day

Dror
14 years ago
Hi guys,

What is the best way to use language files?

1. Should I put it all in the database and then take it once into a Hashtable that will be saved in Session? Then I can use JSTL to get the variable very easy all over the application.
When the language change, the Hashtable will be loaded with the new language from the database.

2.Should I use text files to store the language variable? and then again once puting it into a hashtable and so on.

3.Can I use a properties file like the ApplicationResource in Struts to store the language variables?

4.Should I just hardcode the variable in different language Hashtables, and then assign the right Hashtable to the Hashtable I use in my Jsp?

Many thanks in advance and have a great day

Dror
[ May 25, 2006: Message edited by: Dror Astricher ]
14 years ago
Thanks guys

I got it finally. Everything is getting built up with the correct structure in the 'built' folder.


Thanks again
Dror
[ May 14, 2006: Message edited by: Dror Astricher ]
Hi guys

I'm trying to use netbeans 5.0 to built a web game. I want to built everything manually but to use the help of the netbean to ease the writing (line numbers, compiling, colors, seeing typing errors before compiling and so on).

I learned that the classes should be in
C:\Tomcat 5.5\webapps\myProject\WEB-INF\classes\..........

but when creating a new project with netbean I have to put the classes in an 'src' folder outside the WEB-INF.

Why?
Also, when not using the 'new project' option, the javax.servlet is not included in the path and I can't compile.

There is no option where I can make the structure myself. In the netbean 4.2 I just mounted a folder and made the structure.

Is the structure using IDEs different then what we will usually use without it?

Thanks in advance
hi there

i'm prepering myself for the SCWCD exam and trying to create a "real" website with DB, members and etc.

i used the FORM method for login and the j_security check but got some Q the made me think it over? is it really being used in production???

it looks like it gives the developer an easy way to config his security area BUT it actually take the flexibility away!!!

for example:

1. if a user wants to login (just by clicking on login) without going into a security area first. we will probably need to redirect the link to a secure area to trigger the j_security_check and then to jump back to the page. is it a right way???

2. if the user wants to go to a secure page and triggers the login page. what happens if the username and pass are correct but the role is not enough for the page he requested? he will get a 403 error page. i made an error page for the 403 error and the error goes to the error page and then continue and show the user another 403 error page(at the urlline i see that the j_security_check took it over again after the error page was executed).

$$$$ is it not easier to make everything without the j_security_check. just making one DB table with username, pass and role???

can someone tell me if the j_security_check is really used in production? or is it just an option that nobody uses???

thanks and have a great day

dror
hi guys

i ordered the hfsj book and meanwhile i'm reading the scwcd exam study kit book for the old exam 310-080.

are there big differences between the two exams?
should i skip some parts in the old book?

thanks and have a great day


dror
hi again

i decided to go for the SCWCD

have a great day
dror
14 years ago
hi guys

i just passed the scjp 1.4 today and wanted to thank you all

i want to go on and wondered if somebody can suggest me which developer exam should i take next.
i don't have any working experience in java and thought that by making these exams i would be able to start working in what i like, programing

i know that it's a tricky question but i need a suggestion from you people that are already working in java and can feel the market.
i like the web side, but i don't know if it is a good area to start with because of the jobs market in europe (i live in amsterdam).

thanks again for the help in prepering for the SCJP
wish you all a great day

dror
[ July 06, 2005: Message edited by: Dror Astricher ]
14 years ago
thanks Jim, i got the logic
i wrote my second comment before i got your explanation.

wish you all a great day
dror