Home Tutorialhelp Allcomments Struts Understandingstruts Action Class

 
 

Comments

 
User Comments for the tutorial:

Understanding Struts Action Class



Total comments: 130      View Tutorial    Discuss: Understanding Struts Action Class
Advertisement
Comments

yes, it's very simple & useful,but i need more inf
yes, it's very simple & useful,but i need more information!! 

Conflict.. From the introduction... Controller
Conflict.. From the introduction... Controller: Controller is intermediary between Model and View. Controller is responsible for receiving the request from client. Once request is received from client it executes the appropriate business logic fr 

What does the parameter attribute for a particular
What does the parameter attribute for a particular action mapping in struts config file do? 

well its a good start but please tell more about s
well its a good start but please tell more about struts in detail  

well its a good start but please tell more about s
well its a good start but please tell more about struts in detail with good examples 

Good to start,but try to be in more detail.
Good to start,but try to be in more detail. 

Good Site
Good Site 

Great job on the part of Rose India .net
Great job on the part of Rose India .net 

i thing, it is very goods
i thing, it is very goods 

From this page Action Class is specified to be a p
From this page Action Class is specified to be a part of Model, but in real sense the Action Class is a part of Controller because it controls the flow of the action from the controller to the execution of the logic. The connections to the database  

Its very good even for beginners as well as for ex
Its very good even for beginners as well as for expert.. I learn a lot.. may i request to send as a zip file all stutcts and its link with hybernate part .  

hi, this is vijay i am searching job i am not un
hi, this is vijay i am searching job i am not understanding how cen i improve in struts based applications  

Hi All, All the above mentioned comments so far
Hi All, All the above mentioned comments so far in these web pages so far are really true. Thanks, Siras 

Very user friendly.. This site is of great help f
Very user friendly.. This site is of great help for beginners . 

"The Action Class is part of the Model and is a wr
"The Action Class is part of the Model and is a wrapper around the business logic." - Wrong. "The purpose of Action Class is to translate the HttpServletRequest to the business logic." - Wrong. "In the Action Class all the database/business proces 

Thanks Ashish, I have updated the page. let me
Thanks Ashish, I have updated the page. let me know if there is any mistake.  

Hi shilpa, It is not possible to compile jav
Hi shilpa, It is not possible to compile java programs that uses servlet classes with out seting the class path of server that you are using for servlet. if you are using tomcat server,you can set classpath as shown set classpath=.;C:\Prog 

i need one application using struts framework i.e.
i need one application using struts framework i.e. i want to autogenerating the number automatically(eg: depends on action means inserting the data that many of times the sequence will be automatically generate the number sequencially) kindly im requ 

Hi, All the above mentioned comment of the these
Hi, All the above mentioned comment of the these web pages so far are really true. 1)Action class Is part of Model,If You want You Can Insert the Bisuness logic... 2)Action Class Is Bridge In View and Model layer.. 3)  

Struts tutorial from RoseIndia is wondefull and he
Struts tutorial from RoseIndia is wondefull and helped me al lot to learn sruts because i am new to struts. Thanks RoseIndia  

Hi Nikhil,Gpatton, Thank you very much for replyi
Hi Nikhil,Gpatton, Thank you very much for replying. I m using tomcat5.9 andI could't find any servlet.jar in my /tomcat/common/lib directory.so for compiling the java files,i downloaded j2ee sdk/1.4 and declared the j2ee sdk/lib/j2ee.jar & /web-i 

Hi, Im new to struts.can you tell me ho
Hi, Im new to struts.can you tell me how to create a simple struts application.please give me an example code for this 

Hi, I am new to struts.Please somebody tell me ho
Hi, I am new to struts.Please somebody tell me how to compile this code.  

hai shilpa , You should set the classp
hai shilpa , You should set the classpath of java servlet.jar .Otherwise u cant use servlet classess in ur program.If you are using tomcat server set the classpath as shown below set classpath=.;C:\Program Files\tomcat\common\lib\ser 

Hi Shilpa, I had the same problem e.g. packag
Hi Shilpa, I had the same problem e.g. package javax.servlet.http does not exist etc. You need to add servlet.jar and the struts.jar to your classpath . The names of the jars vary but you'll find the servlet jar in tomcat /common/lib and I  

i have 4 to 5 search fileds in my jsp when i click
i have 4 to 5 search fileds in my jsp when i click on submit it should generate the report its fine... when no searh is found it should go back to jsp and display no search found can u give me code wat to write in action class and jsp..... 

Hi I have a prob regarding struts My prob is I
Hi I have a prob regarding struts My prob is I have a left navigation page which is defined in tiles-def.xml and the same page shows the list page which is forwarded from the action class. how to check the page from the navigation to view the l 

Hi, I have some doubts regarding the topic descri
Hi, I have some doubts regarding the topic described in this section. I have java standard edition (buid 1.5.0_08-b03). I tried compiling TestAction.java by typing c:\java example>javac TestAction.java in the command prompt. But i was getti 

Hi! Looks like a nice site..aint been here for lo
Hi! Looks like a nice site..aint been here for long but I like it already. Really good site, and a pleasant surprise.  

Hi guys.... a decent site to learn struts... tha
Hi guys.... a decent site to learn struts... thanks a lot... ravi 

hi i am beginear of struts pls send me the detai
hi i am beginear of struts pls send me the detail about struts and warfile structure of struts & also send sample web.xml,strutsconfic.xml file and send me how to work struts by prabakar 

hi, This is realy good for struts biginners.
hi, This is realy good for struts biginners. 

i enjoyed the code .
i enjoyed the code . 

Hi I know nothing about struts. I can say that I
Hi I know nothing about struts. I can say that I am beginner to struts. I want to know hw to get started with struts(steps) 

Hi, This is good. I got worthful information fro
Hi, This is good. I got worthful information from this article. Thank you 

it's very helpful...
it's very helpful... 

Hi , very good explanation about Struts. Thankyou
Hi , very good explanation about Struts. Thankyou very much for that. I am working on a project which have 6 tabs in a form . can some one let me know the design for that using struts frame work. Thx and Regards  

Good Tutorial, Thanks
Good Tutorial, Thanks 

it's very useful for beginneers........
it's very useful for beginneers........ 

it is good thanks to rose india
it is good thanks to rose india 

it is good to see all these queries regrading to s
it is good to see all these queries regrading to struts 

This is one of the best site for all tecknology or
This is one of the best site for all tecknology oriented guy.I have got a valuabe information from here.  

This is one of the best site for all tecknology
This is one of the best site for all tecknology oriented guy.I have got a valuabe information from here. i need one application using struts framework i.e. i want to autogenerating the number automatically(eg: depends on action means inserting th 

hi all, i am new to struts and i want to know
hi all, i am new to struts and i want to know hw to get started with struts(steps). thanks, subhasish mohanty. 

Hi, This site is very useful for beginers. My
Hi, This site is very useful for beginers. My problem is, I am not able to validate the password(having Special characters) entered by user. I am using Struts and form is created in tag. I tried to put CDATA around submit button as well putting 

It was helpful.
It was helpful. 

plz let me know how to use action class with ajax
plz let me know how to use action class with ajax thanx 

i foind it great in every respect.It is very usefu
i foind it great in every respect.It is very useful for developers.. 

A really good tutorial. Thanks for putting it for
A really good tutorial. Thanks for putting it for us. 

Another cool thing about Action classes is that yo
Another cool thing about Action classes is that you can create a "super" action do to processing for every request. Or better yet, extend Struts RequestProcessor.  

Hi This is Sailaja I want to call an ejb from
Hi This is Sailaja I want to call an ejb from my struts Applicaion how to write lookup where i should write pls help 

Hi I want to know about DynaAction form and Mes
Hi I want to know about DynaAction form and Messageresource.properties file and how to implement 

The site is pretty good and decent but there are a
The site is pretty good and decent but there are a lot of spelling mistakes on almost all the pages. Some more quality control should go in. 

action class is a servlet or normal java class?
action class is a servlet or normal java class?  

Yes !!!! This is the way to describe Struts....
Yes !!!! This is the way to describe Struts.... Nothing is difficult only one must choose right way. Information Till this page is very easy and NICE...  

hai In this site chapter vise explanation is ver
hai In this site chapter vise explanation is very good but examples are very very low and also examples are very critical,u can must understand user want more examples so plz send me some fundamental programs on struts with jsp and also put in thi 

what libraries i need to execute this example a
what libraries i need to execute this example and how can i add it (using eclipse) 

its nice and use ful thaks
its nice and use ful thaks 

Very nice tutorial for beginners... Thanks IIT K
Very nice tutorial for beginners... Thanks IIT Kharagpur 

What is Action class?
What is Action class? 

Hi this is sathish..I have got impressed with this
Hi this is sathish..I have got impressed with this tutorial..it is good way to learn structs... but the thing is here there are no much examples..so please give me some examples to master the struts.. 

I am new to struts.by using which book i can study
I am new to struts.by using which book i can study easily. 

very useful for beginners...
very useful for beginners... 

I have a question for you.I have a jsp page contai
I have a question for you.I have a jsp page containing an html link.After clicking this link it should call the action class skipping the form class as i don't have to submit any data.This action class should populate the data in the next jsp page .P 

This Page is Very Useful for me ,but i want develo
This Page is Very Useful for me ,but i want developed one complete program and also strurcture . what are codes and files need for me to develop and run an structs program 

Found good site ......That will really help to und
Found good site ......That will really help to understand the underlying functionality .... One doubt....how Action class is part of model as it is just wrapper over the Buisness logic . This could be the part of Controller as ActionServlet use Acti 

I wamt some of struts example programs for known a
I wamt some of struts example programs for known about struts. kindly send me those programs. 

Information given on this portal is nice than othe
Information given on this portal is nice than other portal ever seen. Thanks a lot i am getting all concept easly. 

Its very excellent site for those who are new to S
Its very excellent site for those who are new to Struts. 

This is very useful. However I'm having a slight p
This is very useful. However I'm having a slight problem in my testing, hope someone is interested enough to solve or pass on the enlightment. I have written a test code. Wrote the java class, correct paths, correct action-mapping, and it works fi 

struts
i want struts all program cover with each topic 

great one
this gave me an amazing feeling and control  

ActionClass
in compilation error is coming that cannot find the symbol of ActionForm 

actions in struts
Hi i want to know about types of actions in sturts. What is the functionality of each struts action.  

struts Action class
Hi, I am in new for struts. can u describe the all action class in struts.  

Struts
its really good and easy tutorial for beginners to learn struts Thanks a lot. 

struts examples
hi i want know code of action classs 

Suggest Struts examples
HI Ranjitha, Please suggest the examples, we will try develop and add the examples suggested by you. Thanks  

about struts
its really good for the readers who r beginners to struts if some more examples are given then it will be more useful thank you 

Thank You
Thanks Very much for Providing such a nice Material.Really it is Very Good for Freshers like us.Kindly If Possible Please explain in Detail in Handling DataBase Problems Neatly. Once againThank you very Much. 

struts html action
hello sir iam a beginner in struts . what i want to know is there a seperate action class for every html form in the application? because there is only one central action class in a strurts application , how does the control from diff 

about execute()
hi, wts the behavior of execute(). To where the control goes if we call super.execute() in our action class. 90 

I like Roseindia.net
I use this site regularly. It publish the subject very well understandable. Keep it up .  

Request Attributes
Hi, I really like too much your tutorial, is really complete. And I will appreciate you could help me with a doubt. How do you set a request scope attribute in the action class that the forwarded jsp receives without any problem. I'm doing 

struts
hello sir, Its a lovely maaterial for the beginner but please can you in brief let me know the complete process and provide few more examples. Thank you 

difficulty understanding deploying the application
i am new at struts. please provide a copy of the file struts-config.xml. some more explanation is required on how to deploy the application. 

Is Action Class thread safe
I have a doubt "is action class thread safe" and y we get errors like cant retrive action mapping for particular action 

mishra
please send me important things of struts 

Struts Action Class
This document is very handy and very helpful for Struts novice programmers like me. I am using Eclipse 3.2.1 , Struts 1.3.5 and Tomcat 5.5. It has been great to understand your tutorials but it will more helpful and jutifying if details on configurin 

PLEASE NOTE
In the third psrs for this page:- <code>The ActionServlet (commad) passes the parameterized class to Action Form using the execute() method.<code> it passes to 'Action' class by calling its 'execute()' method not 'ActionForm'class 

how to write our own ActionServlet
Hello pleae give me the sample code for writing our own Action Servlet class in struts and configuring in struts-config.xml file. please  

santosh kumar
here is the struts-config.xml code <struts-config> <form-beans> <form-bean name="ref name of form bean demoform" type="demopack.DemoForm"/> <form-beans> <action-mappings> <action path="/demo" name="demoform" type="demopack.DemoAction"> <forwar 

Aboute the image
Please changes the image http://www.roseindia.net/images/struts2.gif. Its an irritative image. Please change that if possible 

struts2.gif
http://www.roseindia.net/images/struts2.gif is very irritating. It's too straining for the eyes. Kindly remove it. Thanks, kanakangi 

project in strut
i need help regarding the project using strut 

ApplicationResorce.properties
I wrote Errors in ApplicationResource.properties But i am unable to print those Errors using < html:errors /> in JSP How can i print errors using ApplicationResource.properties 

nice
hi all, this one is good example. what we all think about struts 2 version 

Struts Question
What is diffrent between Struts 1.0 Struts 2 ? Action class is heart then what is work of validater only validate or class controler?  

faced interview question in struts
can we access more than one ActionClass in struts 

comment
this tutorial is very nice. 

faced interview question in struts
can we access more than one ActionClass in struts 

Struts 2 Project Example
I will review it further and let you know my comments. Thanks for your efforts. 

Hi
can any one pls send me a web application using struts. 

super..........
superb tutorial ........ i am loving it thank you 

about struts action class
Hi Its very good example,but you should give some more descritive 

struts question
we have one text box , user have to enter value "bhanu" , vaue of text box 'username' another password box user have to enter pasword "patni",value of password box'password' what code will be in struts action class  

wonderful
wonderful..........wonderful....... 

java
i want to know about struts i am beguner  

Struts
Can you tell me... If I remove execute() of TestAction class (as given above) what will e the result? will it work? 

hai
hai sir,i am nageswararao. really u r example is so nice but i need more examples on basic struts with clear explanation of flow of struts from from from browser to end with jsp. 

Thread safe or not
Hi, I think, one has to take precaution in writing code in Action class, and instance variable in Action class can cause problem as it will be shared. Is this thread safety?  

this example
this example is very good.but please explain this topic with more exaple and all thing that are mention in it breifly with code 

Java Technology Questions with answer
Hi Nice tutorial. Thanks. 

Very Good
This is a good tutorial for a biginer. Thank you for the effort. 

Brillant introduction
I have been searching the net for hours before finding this wonderful page, many thanks !!! 

you are the best
that fantastic how you describe it 

About the document
It's a nice Turorial. Thanks for roseindia for providing this knid of material for learners and experts. All of we have a source to learn many things from this site. 

where to put the files
Mentioning where we should put the config and class files in the server will be very helpful. Can someone point me out to that. 

Some errors
I am regular user of this site. Some errors 1.What An Action works as an adapter between the contents of an incoming HTTP request and the business logic that corresponds to it. Then the struts controller (ActionServlet) slects an appropriate Act 

Hello
This code is enough for learners 

Need more description
While this info does help a little, it does no good if there is no information on how to get it to work on our computer. Newbs need more info than RTFM. If RTFM was the answer, we would not be here asking questions or looking for information.  

SUperb tutorial
I don't think we should praise every tutorial separately for roseindia as all their tutorials are excellent and noteworthy.I would just suggest to go into more details that would be much easier for those who are novel to IT industry. Thanks and Re 

request
Dear sir, i want to see the pratical step form the starting... 

struts action
how to deploy the struts framework and how i create my action servlet method 

<HTML>
<HTML> <HEAD> <TITLE>STRUTS</TITLE> </HEAD> <BODY> </BODY> </HTML> 

how to create .tld files
how to create .tld files is not discribed ion it  

sql server 2005
sdasd 

Action class
good example for learning 

action class execute method returning actionforwar
it was very informative in this small document i got what i was looking for keep continuing the good work 

Good View
Its good explanation.Viewer can easyly understand 

Related Tutorial and Articles
Struts Examples

Struts Interview Questions
;    Question: Can I setup Apache Struts to use multiple configuration files? Answer: Yes Struts can use multiple configuration files. Here...;param-name>config</param-name>   <param-value>/WEB-INF/struts 

JSP Tutorials

Developing Simple Struts Tiles Application
Developing Simple Struts Tiles Application  ... will show you how to develop simple Struts Tiles Application. You will learn... To Create Tiles Application Tiles is very useful framework for the development of web 

JSP Interview Questions

yes
javax.servlet.http.HttpServletResponse; public class PatternExample extends javax.servlet.http.HttpServlet...=Integer.parseInt(number2); for(int i=n1;i<=n2;i++) { for(int j=n1;j<i+1;j++) { out.print(j 

Software Services

Know About Outsourcing, More About Outsourcing, Useful Information Outsourcing
to specialist outfits More flexibility Costs become more predictable No need to continue...Everything you need to Know about Outsourcing Introduction Let us start... IT requirements or a small, simple part at the other end of the spectrum. For instance 

Spring Framework Questions

I want to put user guide in pdf and word in side WEB-INF and need to give link on the home page
I want to put user guide in pdf and word in side WEB-INF and need to give link on the home page  I want to put user guide in pdf and word formats in side WEB-INF (for security reasons, I want these documents visible after user 

JSP Servlet Questions

Simple Program Very Urgent.. - JSP-Servlet
Simple Program Very Urgent..  Respected Sir/Madam, I am R.Ragavendran.. Thanks for your superb reply. I find a simple problem which i have tried my..._name correctly. But I dont know how to do it. Anyway I will send the coding 

JSP Tutorials

JSP Tutorials Resource - Useful Jsp Tutorials Links and Resources
by progressing from very simple examples to complex examples. For best progress... working.  The early examples might seem very simple; please have patience... but provides a more natural approach to creating static content. The main features 

Java Tips and Examples

JOptionPane - More Dialogs
Prev: JOptionPane - Simple Dialogs | Next: none Java: JOptionPane - More Dialogs Here are some more useful static methods from javax.swing.JOptionPane... javax.swing.JOptionPane; public class JOptionPaneTest2 { public static void main(String 

Struts Questions

Hsi Deepak - Struts
; Hi well... yes, there is no need to keep all folders in WEB-INF in case...Hsi Deepak  hai deepak i have a small query about struts that is in struts while running the program we can put all folders in WEB-INF with out 

Struts-Tutorials

Struts Articles
. 4. The UI controller, defined by Struts' action class/form bean... it. Struts is a very popular framework for Java Web applications... application. The example also uses Struts Action framework plugins in order 

Advertisements Advertisements
 

 

 

DMCA.com