Murilo Beriam

Greenhorn
+ Follow
since Jul 16, 2002
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 Murilo Beriam

Hi Nelson!
I will try to explain the main differences:
- asp is interpreted an jsp is compiled. When you invoke a jsp page, the engine translates its text to a java code. Then, this code is compiled and answers the user requests. The original jsp code is not used until it changes;
- jsp is java and it has all power of the language. Its is multiplataform (you bet, it works - I code an entire site in a W2K plataform and its is running in a Solaris environment without changes) and there are lots of libs we can use to improve our code;
There are lots of vendors that work with java, so you are free to decide. There are even free options!
The way you code JSP is not so difficult but you should know OO programing and, of course, java. I used to work with asp but I don't miss it. Ths JSP framework is really complete.
20 years ago
JSP
A java bean is a simple data structure which is responsible for carring data and not complex logic. You should determine the rules for getting and setting attibutes but nothing beyond this. Coding this way, the final result will show lots of classes with the responsibility well distributed. Each class has its own role in the system and data structure is the java bean responsibility. It's like a style of coding.
There are some advantages using these beans, like the built-in facilities in the servlet engine.
Think of the use of the tag jsp:useBean, for instance. It is really useful.
20 years ago
JSP
Hi guys! I'd like to know which is the best way to ensure security in an action of a form. We should garantee the method used (POST or GET)? Is there any manner to avoid the user to copy the form to his machine and alter some code before submitting?
Thanks a lot!
20 years ago
JSP
Hi Vikram! I did not understand fully what is the problem you have but I will try to help.
First, check if the new data is commited. When you insert new data in you database, you should commit it.
Second, use the browse resource "view source code" and check if the code was interrupted for some reason. Try adding lines to debug, with some out.println("Hey, I'm here...") to know if the code is flowing like you supposed to.
Some browsers, like Netscape, don't show the entire page if some tags don't close, especially table tags. Verify this too.
I hope this stuff help you!
Bye!
20 years ago
JSP
Hi guys!
What version of Websphere are you using? I have been working with the WAS 4.0 Enterprise Edition and there is an Wizard which you deploy your application and during the second step, there is a checkbox with something like "Precompile JSPs". This wizard runs in the server in a different port. You can use any login to use the interface and there is no need to type any password.
20 years ago
JSP
Hi guys!
There are many ways to implement the data persistence in Java. Sun's model JDO is a interesting one. Perhaps you want something closer to what you were used to. Try the open-source JDO-Like Castor. Enter http://www.castor.org