Difference between servlet and ActionServlet
Difference between servlet and ActionServlet..
Anybody reply
jsf_VWP5.5.1 wrote:
Difference between servlet and ActionServlet..
Anybody replyAs their name imply, ActionServlets like outdoor activities, whereas Servlets are rather contemplative types.
The only time Servlets exhibit behavior similar to ActionServlets, in under extremely stressful situations, like when a Servlet is being chased by a pit bull.
Similar Messages
-
Difference between servlet and filter
difference between servlet and filter
Its not a secret you know; if you just read a little about what they are used for, you answer your own question plus many more to follow.
Servlet: http://en.wikipedia.org/wiki/Java_Servlet
Filter: http://www.oracle.com/technetwork/java/filters-137243.html -
Differences between servlet and backing bean
Could anyone please tell me whether everywhere that servlet can be used, backing bean and JSF can be used too? Are JSF and backing beans the new alternatives for JSP and servlets? please clarify the relations between these concepts for me.
Thanks
LauraLaura_Jlover wrote:
Thank you. You mean backing beans can do every thing that servlets can do? Yes.
JSF pages can work with servlets? Strictly speaking, every JSF page gets passed through the FacesServlet which does all the task. The lifecycle, creating the FacesContext, putting the request parameters in backing beans, rendering the response, etcetera.
what are the advantages of servlet and the advantages of backing beans? what's the disadvantages? In general, which one is better?In context of JSF, you should be using backing beans, not Servlets. There is nothing what a Servlet can offer you as an advantage in the JSF context. It is simply not an option/alternative. You can't even call a Servlet (directly) using a JSF h:form. You, however, can access backing beans in any JSP or Servlet outside the JSF context.
Just carefully read the JSF specification or buy a JSF book and the picture will be clear.
JSF spec: [http://jcp.org/aboutJava/communityprocess/final/jsr252/index.html].
JSF book: [http://www.amazon.com/JavaServer-Faces-Complete-Reference/dp/0072262400]. -
Difference between GET and URL Rewriting in Servlets
What is the difference between GET and URL Rewriting in Servlets?.Please illustrate with an example.
Thanks for your reply gimbal.
GET appends query string at the end of the URL. URL rewriting also does the same thing. It also appends query string right?. Then what is the difference between two. I have this question in my mind for long time.To my surprise an interviewer asked this question in an interview also. -
Difference between sendRedirect and RequestDispatcher?
Difference between sendRedirect and RequestDispatcher?
I have a situation of needing to redirect a request to a URL that is outside of the container. The scenario is the following, we have a simple logging in servlet that takes some POST parameters (username, password, and other values.) Depending on the username and password, the logon request along with all its POST parameters need to be redirected integrally to another machine. How do i do a redirect with all my parameters intact? sendRedirect does not seem to have any (visible to me) mechanism to do this. We cannot send them on the URL as this will reveal things too easily to our users and we don't want them to bookmark the resulting page.
Thanks for any help,
t -
Difference between forward and redirect
difference between forward and send redirect
+ a Redirect will change the URL in the browser, whereas a forward will not.
+ a Redirect can be any URL, whereas a forward has to be directed to a resource within the container,
+ a Redirect MUST be an absolute URL (though the Servlet functions will do this for you).
+ a Redirect, being a new request, triggers filters, whereas a forward does not. -
Difference between J2SE and J2EE...
Hi all. I was wondering what the difference between J2SE and J2EE were. I mean in the code structure. Are the packages the same, like Swing, IO, things like that. I'm a bit of a beginner in Java, only been messing around with it for about 6 months now kind of in my spare time, and I know I'm in now way ready for J2EE, but it's something I think I'd like to maybe look into. I know it's for Enterprise Applications, much bigger scale than I'm used to, but fundamentally, how is it different? Different coding conventions? New packages not in J2SE? I hope what I want is coming across okay. Thanks for all the input.
JamesJ2EE defines a large number of specifications, in addition to J2SE. Examples are the Servlet, JSP, JMS, and EJB specifications. Most of those specifications are designed to have implementations running inside an Application Server. There are free implementations available such as JBoss (combined with for example Tomcat), and I think youre best bet to learn is to download one of those and go from there. Servlets and JSP are a good beginning, and then maybe move on to EJB and the rest.
Br - J -
What is the difference between infocube and fact table?
hi bw gurus,
what is the difference between infocube and fact table?
thanks in advance
byeFact table contains only KeyFigures and foreign keys of dim ids.
Infocube conatin fact table sorrounded by dimension tables.dimension table contain primary keys of dim ids and SIDs which link to master data.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6ce7b0a4-0b01-0010-52ac-a6e813c35a84 -
What are the practical differences betweens infopackages and process chains
Hi,
what are the practical differences betweens infopackages and process chains.
Thanks,
cheta.Hello BW,
Hope the following links will give u a clear idea about process chains
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/events/sap-teched-03/using%20process%20chains%20in%20sap%20business%20information%20warehouse
Business Intelligence Old Forum (Read Only Archive)
http://help.sap.com/saphelp_nw2004s/helpdata/en/8f/c08b3baaa59649e10000000a11402f/frameset.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8da0cd90-0201-0010-2d9a-abab69f10045
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/19683495-0501-0010-4381-b31db6ece1e9
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/36693695-0501-0010-698a-a015c6aac9e1
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9936e790-0201-0010-f185-89d0377639db
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3507aa90-0201-0010-6891-d7df8c4722f7
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/263de690-0201-0010-bc9f-b65b3e7ba11c
/people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
regards,
Muralidhar Prasad.C -
Difference between getSession() and getSession(true)
I am new to servlets. I couldn't find any difference between request.getSession()
and request.getSession(true) methods. Could any one help me plese.
Thanks.I am new to servlets. I couldn't find any difference
between request.getSession()
and request.getSession(true) methods. Could
any one help me plese.
Thanks.getSession() is a convenience method shortcut for getSession(true). There is no difference. There is a difference between getSession() and getSession(false) though...
(ie, if getSession(false) will not make a new session if one does not already exist...) -
What is the difference between cumulative and non cumulative keyfigures?
Hi Friends
What is the difference between cumulative and non cumulative keyfigures, when we r using the cumulative and non cumulative
Regards
RavindraHi Ravindra,
Have a look at the help:
http://help.sap.com/saphelp_nw2004s/helpdata/en/8f/da1640dc88e769e10000000a155106/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/80/1a62f8e07211d2acb80000e829fbfe/frameset.htm
Go through these.
Re: Types of non-cumulative keyfigures
http://help.sap.com/saphelp_nw2004s/helpdata/en/8f/da1640dc88e769e10000000a155106/content.htm
See the following threads
non-cumulatives KF in reporting
Re: use of non cumulative keyfigure
Re: When do we use Non-Cumulative values?
Key figures:
1. Cumulative Vaules
2. Non Cumulative Values
Cumulative Values:
Cumulative Values are Keyfigures for which Keyfigure Values are must posted in every time unit that reported on (= time period specific Values).
Example:
Revenue
Non Cumulative Values:
Non Cumulative Values are Keyfigures for which KeyFigures are only evaluated for selected time Periods.
Cumulative Keyfigures With Exception Aggregation:
It's a 'normal' KF (with summation, min or max as aggregation behaviour), but you set some exception in this behaviour...for example, you can say that a KF, normally aggregated by 'summation', have to show the max value (or the average, or '0' or something else), that is the 'exception aggregation' when you use it in combination with 0DOC_DATE (or other char), that is the 'exception aggregation char reference'...in this case OLAP processor give to you the possibility to see your KF with different behaviour depending from you use 0DOC_DATE (in our example, MAX) or something else (SUMMATION).
Non Cumulative keyfigure with Associated Single Delta:
If you have a stock KF that is fed from only one (other) movement KF that can assume positive and negative sign.
KF1 (initial) STOCK (non-***.) = 100
KF2 flow = -30
KF2 flow = 70
KF1 (final) STOCK (non-***.) = 140
Non-cumulative key figure with associated in and outflow:
This is the case of 2LIS_03_BF KF stocks fields.
Here, we have the same situation in point 2, but you will have not only ONE flow KF, but TWO, one dedicated to in and another one dedicated to out !
You have to use this scenario if you have no KF that have positive and negative sign, but two KFs each one representing positive (in) and negative (out) logical sign!
KF1 (initial) STOCK (non-***.) = 100
KF2 (out))flow = 30
KF3 (in)flow = 70
KF1 (final) STOCK (non-***.) = 140
Website Addresses For Non Cumulative KeyFigures:
http://help.sap.com/saphelp_nw04/helpdata/en/80/1a62dee07211d2acb80000e829fbfe/frameset.html
http://help.sap.com/saphelp_nw04/helpdata/en/82/f2dc37f0f12313e10000009b38f8cf/content.html
http://help.sap.com/saphelp_bw31/helpdata/en/82/f2dc37f0f12313e10000009b38f8cf/content.html
http://help.sap.com/saphelp_erp2004/helpdata/en/d2/e0173f5ff48443e10000000a114084/content.html
Re: Non-Cumulative keyfigure example
Re: Types of non-cumulative keyfigures
/community [original link is broken]
http://help.sap.com/saphelp_bw32/helpdata/en/80/1a62dee07211d2acb80000e829fbfe/frameset.html
/community [original link is broken]?forumID=131&threadID=29557&messageID=273049
/community [original link is broken]?forumID=131&threadID=111914&messageID=1248243
Check this very useful docu.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/93ed1695-0501-0010-b7a9-d4cc4ef26d31
****Assign Points If Helpful****
Regards,
Ravikanth -
Difference between PageContext and HttpServletRequest
folks i was reading that when JSP Expression language searches in this order
PageContext, then HttpServletRequest, then HttpSession, and then ServletContext
what is the difference between PageContext and HttpServletRequest because i think both are same???PersianKamran wrote:
what is the difference between PageContext and HttpServletRequest because i think both are same???Please read the API javadocs:
[javax.servlet.jsp.PageContext|http://java.sun.com/javaee/5/docs/api/javax/servlet/jsp/PageContext.html]
[javax.servlet.http.HttpServletRequest|http://java.sun.com/javaee/5/docs/api/javax/servlet/http/HttpServletRequest.html]
If, after studying the documentation, you still think these represent the same class of object, please explain why and we can help clear up any remaining confusion.
Thanks!
~ -
What is the difference between jdk and jsdk
I don't know the difference between jdk and jsdk,if i had set up the jdk,could i develope the servlet.
For servlets you need J2EE classes, which are in what is usually called JSDK (Java Server Development Kit). So, you cannot compile servlets with just the JDK installed, you need to download the J2EE SDK.
-
What is the difference between struts and spring framework
What is the difference between struts and spring framework
Thanks in advanceStruts is nothing more than a web MVC framework.
Spring is lots more.
Spring has its own web MVC frameworks for both servlets and portlets. I think the Struts web MVC design is inferior to Spring's.
It also has JDBC and ORM support, message driven POJOs, an IoC engine, aspects, and lots more.
Struts would be a minor subset of Spring.
% -
Difference between ListenerServlet and FormsServlet
New info : Where is the name
servlet.oracle.forms.servlet.ListenerServlet taken
from ?
What is the difference between
"servlet.oracle.forms.servlet.ListenerServlet"
and
"oracle.forms.servlet.FormsServlet"
(both are present in zone.properties)?
How can I use two different *.env files within on
zone.properties file ?
#LAB
servlet.oracle.forms.servlet.ListenerServlet.initArgs=
EnvFile=<6i_oracle_home>/forms60/server/LAB.env
#TEST
servlet.oracle.forms.servlet.ListenerServlet.initArgs=
EnvFile=<6i_oracle_home>/forms60/server/TEST.env
See Tar # 2107725.240The FormsServlet is the equivilent of the Forms CGI program.
It's job is to construct an HTML launch page for a Forms App by
combining the information in your Formsweb.cfg with the template
html files.
The ListenerServlet has a different job. It actually handles
the comminucations between the Forms Java Client and the Forms
runtime.
For detailed information on how to define multiple environment
files see the white paper:
http://technet.oracle.com/products/forms/pdf/p8listenerservlet.pd
f
Prior to Patch 8 you have to define multiple aliases in your
Zones.properties file for the ListenerServlet, passing
customized initArgs to each.
With Patch 8 you can simply use an envFile= parameter in your
Formsweb.cfg. So different configurations can simply use
different environment settings.
Maybe you are looking for
-
Cannot open pdf attachments anymore without saving them
I cannot open PDF files that come in as attachments (Adobe Reader 9) I have had this problem for two days. Before the, it was no problem at all. Now, for me to open an attachment, I have to save it first and then open it via My computer or via Adobe
-
I watch Showtime Anytime over the internet on a PC desktop and the screen image is so dark that I can barely see the images. Is there an adjustment I can make to lighten the screen?
-
Any idea how much a replacement 60GB HD and Combo Drive costs?
Any idea how much a replacement 60GB HD and Combo Drive costs for the PB 12" G4 1.33 GHz?
-
Why doesn't FIREFOX provide guidance for reverting back to 3.6.17?
Don't like Firefox 4, want to revert back to what I previously had, but I'm not technically "adept." Why aren't we provided with simple, accurate step-by-step directions from FIREFOX on how to revert?
-
How do you create a new mailbox
Hi, I have an iPhone 5 running iOS 8.1. I also have Verizon webmail which I access via the iPhone's Mail app. I am trying to create a new mailbox in order to store certain emails on my iPhone somewhere besides the Inbox. In the Mail app and at Mailbo