| Últimas 20 atualizações de PEDRO BAJOTTO FILHO(ENGLISH) |
|
|

Duration: 15:22 min
Summary: In this new part of the Java Struts Course, we will create a new application structure defining the main properties to set up this application. Using a Tomcat project, we will setup the struts.xml file, identifying the main actions to be included on the project. After, inserting the web.xml and the rest of the needed structure to make the application work.
Technologies and Resources: Java, Eclipse, Struts 2, Tomcat, apache, mvc
-->">
|
|
|
|

Duration: 15 minutes
Summary: In the last tutorial of this course, we will make some changes inside the custom Interceptor to improve the application. We’ll create a helper class and insert the statement login inside. In this video, we’re going to learn the Java Struts 2 Technology, presenting a Tomcat Web solution and exploring how a Finance Management Software can be designed using these resources.
Technology Used: Java, Apache Struts 2, Eclipse, Tomcat
Keyword: Java, Eclipse, Struts 2, Tomcat, apache, mvc
-->">
|
|
|
|

Duration: 17 minutes
Summary: In this tutorial, we will study the Java Struts Interceptors. We’ll gonna see how the struts.xml holds and coordinates the transaction when used and configured. After this, we’re gonna create a Custom Interceptor. In this course, we’re going to learn the Java Struts 2 Technology, presenting a Tomcat Web solution and exploring how a Finance Management Software can be designed using these resources.
Technology Used: Java, Apache Struts 2, Eclipse, Tomcat
Keyword: Java, Eclipse, Struts 2, Tomcat, apache, mvc
-->">
|
|
|
|

Duration: 15 minutes
Summary: In this tutorial, we will study how errors and messages are treated inside the struts framework. So, we’ll teach to insert rules inside the transactions. After this, we’re going to insert a new field inside both Debit and Credit transactions. In this course, we’re going to learn the Java Struts 2 Technology, presenting a Tomcat Web solution and exploring how a Finance Management Software can be designed using these resources.
Technology Used: Java, Apache Struts 2, Eclipse, Tomcat
Keyword: Java, Eclipse, Struts 2, Tomcat, apache, mvc
-->">
|
|
|
|

Duration: 15 minutes
Summary: In this tutorial, we will learn to use validators inside the struts framework. We will create validation files to all transactions using inputs, inside the application. It will help us to control invalid values inside the Statement. In this course, we’re going to learn the Java Struts 2 Technology, presenting a Tomcat Web solution and exploring how a Finance Management Software can be designed using these resources.
Technology Used: Java, Apache Struts 2, Eclipse, Tomcat
Keyword: Java, Eclipse, Struts 2, Tomcat, apache, mvc
-->">
|
|
|
|

Duration: 14:20 minutes
Summary: In this tutorial, we will create chained actions to help us to improve our application. Instead of executing separated transactions to insert values and check the statement, we will create an automatic redirection when these transactions done.In this course, we’re going to learn the Java Struts 2 Technology, presenting a Tomcat Web solution and exploring how a Finance Management Software can be designed using these resources.
Technology Used: Java, Apache Struts 2, Eclipse, Tomcat
Keyword: Java, Eclipse, Struts 2, Tomcat, apache, mvc
-->">
|
|
|
|

Duration: 15 minutes
Summary: In this tutorial, we will study 2 transactions inside our application. First, a Debit Transaction, that will serve as an opposite transaction to the Credit. After this we will create a statement transaction, and set all the persistence inside the app. In this course, we’re going to learn the Java Struts 2 Technology, presenting a Tomcat Web solution and exploring how a Finance Management Software can be designed using these resources.
Technology Used: Java, Apache Struts 2, Eclipse, Tomcat
Keyword: Java, Eclipse, Struts 2, Tomcat, apache, mvc
Video Transcription:
Hello everybody and welcome. Let's continue our Struts Java course. Right
now we're going to create another transaction, to complete our application
map. As we have a credit action, we're going to create a debit action
that will give an opposite effect to the credit operation. We're just
going to change credits to debits and change this. After this we're just
going to copy and past the credits.jsp file and we'll call it debits.jsp.
We're going to name this action debit, it's the same transaction, but with
an opposite effect. And after that you have made the debit .jsp file we
have to duplicate the credit action file, and set the name as deb action as
you have here That too, will change the name of this [class] to deb action
automatically. Now you have two transactions, debit and credit, and you
cant test both inside your Struts.xml, you have the debit declaration and
the credit declaration.
After this we'll create our third action and name it statement. You will
use this statement transaction to see all of your operation inside the
application. We're going have a statement transaction, to serve as a guide
line and help us to see our transactions that we make inside the
application. So we're going to cut this code, and we're going to set the
statement. I will have to create the statement action, right here.
After doing this declaration inside the Struts .xml you have to create your
transaction jsp file, your web jsp file. So let's do it, we're going to
copy and paste this deb file and call this statement.jsp. Once you have
this file, set it. You'll type as the title Statement, and we're going to
set a bunch of tags to give a shape to our document inside the body of the
text, you have to set a balance, label.
Here we're going to use a property tag. Property tags work using
...
Exibição do post interrompida. Para ler conteúdo completo, clique aqui
|
|
|
|

Duration: 16 minutes
Summary: In this tutorial, we will create the main Finance Application Structure, and review all steps used before to create our first App. Inside this, we will design the first transaction (Credit) and test it deploying the struts application to Tomcat. In this course, we’re going to learn the Java Struts 2 Technology, presenting a Tomcat Web solution and exploring how a Finance Management Software can be designed using these resources.
Technology Used: Java, Apache Struts 2, Eclipse, Tomcat
Keyword: Java, Eclipse, Struts 2, Tomcat, apache, mvc
Video Transcription:
Hi everybody. Welcome. Let's continue our struts course. Right now we are
going to create a new application. We made a previous application testing
concepts. At this time, we're going to create a new application. We will
design and develop our financial application using Struts.
In your workplace at Eclipse, you can create a new project, using the new
menu. Here you choose Java, and Tomcat Project, as we did before. At the
project name, you type FinancialApp, for application. OK. The context name
will be FinancialApp. You can delete the other project. Right now you have
a brand new application to use those steps that we used before. Let's do
that. First of all, let's create the struts xml file, as we made before.
Now, you have to set this doc type declaration.
That will help you to complete the rest of the document, using the
IntelliSense resource. When you type, you have the struts text, and all
the older options to help you. We're going to create a new package here.
The new package we're going to call default. We're going to use the
accents, struts default. We will set the name space as a slash, so you have
the package declaration. Right now we can think about the transactions that
we are going to design, using the struts, as we create this declaration
package. Now we can set the actions to our package. The actions are
everything that we are going to make it a customized procession, obviously,
using some rules. We are going to design three basic transactions. The
first is credit. The second is debit. The third is statements.
Let's create the first section using the name, credit. You have to set a
Java class to make the procession and maintain all the rules that you will
use. We are going to call this something like Mr.Bool.creditaction. We're
going to call this class credit action. The next step is to create a new
package. I'm going to c
...
Exibição do post interrompida. Para ler conteúdo completo, clique aqui
|
|
|
|
With this course, we’re going to learn the Java Struts 2 Technology, presenting a Tomcat Web solution and exploring how a Financial Manager application can be designed using these resources.
In this tutorial, we’ll download all the resources needed to the project, explaining how to install all of them. Also, we’ll install Java Runtime, Eclipse and tomcat web container and see how it works. After all, we’ll take a look on the log files generated by tomcat.
-->">
|
|
|
|

Duration: 13 minutes
Summary: In this tutorial, we will create a login page and learn how to configure it to work properly. We’ll show and configurate all struts tags needed to this example. Again, the struts.xml configuration file is showed and configured to provide to the example the navigation structure needed. In this course, we’re going to learn the Java Struts 2 Technology, presenting a Tomcat Web solution and exploring how a Finance Management Software can be designed using these resources.
Technology Used: Java, Apache Struts 2, Eclipse, Tomcat
Keyword: Java, Eclipse, Struts 2, Tomcat, apache, mvc
Transcript: Hello everybody, please be welcome. Let's continue our tutorial using Java
struts. Right now, we're going to create a new action to use another
struts text.
We're going to make a log-in screen to our system. Also, let's create a
jsp file to serve as a log-in page. Right now, we're going to create a new
jsp file. We're going to call this as login.jsp, jsp file html. The first
thing that you need to do is to insert the taglib prefix inside your jsp
document. This will alone provide your access to all taglib components,
all struts components to your jsp document. Inside the strut page, let's
type login.
On the title, inside the body tags, let's create the form. Form text.
Just like a regular form tag, a regular form tag from html or another web
language. We must have an action here. This action is the right action. On
the struts.xml, I will call it, login. Here, we have to insert the fields
that must be included on this document.
First, we will have the text field, to login. You must insert a name,
let's use username. You can insert a label and a size. After this, we
will use the password tag; that must have a name. You can insert a label
and a size. Both of these, but appearing below the form, we will include
the submit button, that must call a method. This method is the main method
called inside the model class. In this index section we had a method
called execute. In that case, we called it as a default method. Here, you
can call a
...
Exibição do post interrompida. Para ler conteúdo completo, clique aqui
|
|
|
|

Duration: 16 minutes
Summary: In this tutorial, we’ll continue to develop our first Struts 2 application using Eclipse tool environment and Tomcat Web Server. Introducing Packages and Action concepts, we’ll show you how to configure an application to map the Struts 2 on action. All MVC (Model, View, Controller) concepts are presented on this tutorial, providing a step by step guide.
With this course, we’re going to learn the Java Struts 2 Technology, presenting a Tomcat Web solution and exploring how a Finance Management Software can be designed using these resources.
Technology Used: Java, Apache Struts 2, Eclipse, Tomcat
Keyword: Java, Eclipse, Struts 2, Tomcat, apache, mvc
Transcript:
Hello everybody, please be welcome. Let's continue our Java tutorial using
struts on our web application. In the last class we have created our
web.xml file, and now we're going to create a second file that must be
created is the struts.xml file. This file will give us a map for the
application and all the routines that we will use on the application,
inside the application, all the routes, will be designed and will signed by
this file. So let's create it. Inside the webLEAF source folder that I'm
showing here, you will create a new file, another XML file named
struts.xml. Here we go. OK.
Again, I will copy and paste some text just to show you how a simple
application will work. We will use DOCTYPE arechtype to set DTD map to do
XML. And after this we will have the struts tag, and inside the struts tag
we will use a constant tag that defines some parameters to our application.
One of them is named by struts.devmode. And when you set the struts,devmode
to true you are saying that your application will give you in case of error
a real big message with all this stack trace for all your error. And that
will help you to find the root calls to this error. When your application
is used on the production server, the online server, you may set this
option to false. Because your customer will not see all this stack trace
given by this constant. It helps a lot when you have some kind of trouble
on the application.
But let's see how the struts file works. Struts is defined by a group of
packages. And these packages must contain actions that will be used by the
web application. You have the gsp files webpage, that is used as our views.
And you have the actions that will be used as our model on mvc pattern. As
we create a simple struts application we will design here a simple package
with some actions inside, or a simple action. We have to create the
package. Tag. The package tag must have a name. We will give t
...
Exibição do post interrompida. Para ler conteúdo completo, clique aqui
|
|
|
|

Duration: 14 minutes
Summary: With this course, we’re going to learn the Java Struts 2 Technology, presenting a Tomcat Web solution and exploring how a Finance Management Software can be designed using these resources.
In this tutorial, we’ll test a sample application generated by eclipse environment to Tomcat Web Server. After this, we’ll create an application using Struts 2. At this first time, will be a simple Hello World, but showing all information needed to provide you conditions to start up the process.
Technology Used: Java, Apache Struts 2, Eclipse, Tomcat
Keyword: Java, Eclipse, Struts 2, Tomcat, apache, hello, web
TranscriptHello everybody, please be welcome. Let's continue our Java Struts
tutorial. Right now we're going to create a new Tomcat application on
Eclipse environment. So, let's create it. Here we've got the Tomcat
project. You must give a name to this project. And here you must type a
context name. This context name will be used on Tomcat as a web folder. And
finish.
OK. So, the Eclipse 2. We will create all folders needed to begin our
project. In this first time we're going to create a simple Tomcat
application, just to prove how Tomcat works. So, here we go. You have a
folder named 'WEB-INF/Src', which is used for all the source code
needed. You have also a 'WEB-INF' and 'lib' folder, which is used for any
kind of Library Jar file that we are going to use on this project.
Let's create a new GSP file to test the Tomcat container. JSP file. Then
you must choose a name. We're going to choose Index.JSP. You mark this
option 'New GSP file' and then finish. And here you get the Index.JSP file.
Inside the body text we're going to type 'Hello world', just to prove if
our project will work. And right now we must simulate, or make a real
deploy to Tomcat application. So you can do it right inside your Eclipse 2.
Just click on mouse right button, and choose Tomcat project,
'Create JSP Work Directory'. Operation OK. After that, we're going to open
the web browser, and going to access the localhost, at port 8080. You
click on manager applications. You must type your user name and password.
And here you find your Tomcat Test Application here. Your application is
working because the start button is not available. And then you click on
the link 'Tomcast Test 01'. Here you've got your 'Hello World', and here
you've got your application working.
And after seeing this first deployment process, we must take a look at a
simple trick that will help us to understand how the Eclipse 2 updates, or
deployment made by that process. If you make any kind of change on your
sou
...
Exibição do post interrompida. Para ler conteúdo completo, clique aqui
|
|
|
|

Duration: 13 minutes
Summary: With this course, we’re going to learn the Java Struts 2 Technology, presenting a Tomcat Web solution and exploring how a Finance Management software can be designed using these resources.
In this tutorial, we’ll download all the resources needed to the project, explaining how to install all of them. Also, we’ll install Java Runtime, Eclipse and tomcat web container and see how it works. After all, we’ll take a look on the log files generated by tomcat.
Technology Used: Java, Apache Struts 2, Eclipse, Tomcat
Keyword: Java, Eclipse, Struts 2, Tomcat, apache,
TranscriptHello. Everybody please be welcome. Let's start right now a new Java Struts
course provided by MrBool. Java Struts it's a software provided by Apache
Software Foundation. What means Struts? Struts is a web framework, free open
source solution for creating Java web applications. At this first time
let's download all the software needed to begin our study. Take a look at
this web page. Here you'll find the official Struts web page provided by
Apache Software Foundation. Here you will find all information needed to
provide you a tool to develop Struts application. We are going to use it as
a byline to provide us all information needed. At this first time and at
this course, of course we're going to study Struts 2. All right. To run any
Java application you have to have installed on your machine a Java run time
environment or a Java development kit. You choose one of them. I'm going to
choose the Java run-time environment and I will download it. You have to
make this download. You have to install this on your machine. This is a
very simple installation, it will not have any kind of difficult imposed to
this. After that the next step is to download the Apache Tomcat.
Apache Tomcat is a web container that will provide us access to the web
application. We are going to use the version number 7. You may find your
download here to your Windows machine. We're going to install the Tomcat as
a Windows Server C. We think we will be better provided to our needs. So,
make your download. Let's run. Here you have to select your type of
install, we recommend you to use a full install. The Tomcat will install
some kind of options that may help us in the future. In this frame you find
some nice and important information that we must concern about that. The
first three information tell us to choose the option about the port to have
a server shut down port, an HTTP connection ports. This port will provides
us access to the Tomcat manager provided in a web-page . That's very
important. After that you have to choose a name for your Windows Server C.
We are going to call it STomcat 7, not the full name. You can create
shortcuts for all users here and after that you have to choose and log in
user name and a password. I
...
Exibição do post interrompida. Para ler conteúdo completo, clique aqui
|
|
|
|
Good Idea
Image validation in the Web
|
This article examines: |
This article uses the following technologies: |
...
Exibição do post interrompida. Para ler conteúdo completo, clique aqui
|
|
|
| |
|