Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > J2EE
|
J2EE General J2EE (Java 2 Enterprise Edition) discussions. Questions not specific to EE will be redirected elsewhere.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the J2EE section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 24th, 2006, 10:53 AM
Authorized User
 
Join Date: Jun 2005
Posts: 32
Thanks: 0
Thanked 1 Time in 1 Post
Default What does it mean?

1. public ActionForward execute(
            ActionMapping mapping,
            ActionForm form,
            HttpServletRequest request,
            HttpServletResponse response)
2.var url=".do?command=Edit&state=Query&windowFlag=reado nly&applnId="+aId+"

I am new in J2EE.I came across the above coding in my work. The coding 1 is inside a class with communicate with jsp file.What does the coding above mean?

2.The coding 2 is actually getting the url of a particular page.What does it mean for .do?command=Edit&state=Query&windowFlag=readonly..

2.I see also <%=reguest.getparameter()%=>in both the java file and jsp file.What does it mean.....

I am new in j2ee and looking forward to purchase a book.Does anyone have any book or web site to recommend?
:)

 
Old July 1st, 2006, 08:01 PM
Friend of Wrox
 
Join Date: Jan 2006
Posts: 198
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi John,

The code you posted in example #1 is a Struts Action definition. The code in example #2 links to a Struts Action and passes parameters to it. In both cases, the code has to do with presentational logic, not J2EE back-end logic. If you want to understand code like this, I would suggest buying a Struts book. J2EE is more about what happens further down the callstack from the execute() method.

Jon Emerson
http://www.jonemerson.net/
 
Old August 2nd, 2006, 02:18 AM
Authorized User
 
Join Date: Aug 2006
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to sachin.tathod
Default

I will recommend u to go for Head First Series for J2EE......U will definitely get max things in minimum time...










Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.