Concept behind getNamedDispatcher in interface ServletContext ?
I'm thinking about the concept behind getNamedDispatcher and getRequestDispatcher.
In the deployment descriptor you align a display name to a servlet, which you then map on an URL-pattern or since Servlet API 2.5 also on multiple ...
1. Involved in my problem are include vs. forwad server intern.
2. Redirects to Servlets
For problem one I could use getNamedDispatcher with the display-name, but for solving problem two I cannot; therefore I need to know the path within the context. So I decided to only use getRequestDispatcher and forget about the display-name.
Actually since Servlet API 2.5 as there are multiple URL-patterns allowed, I think even if there is a solution to get an URL by display-name of the servlet, it would disambigous (because multiple are possible; how to determine which to choose?).
Did I miss somehting? - How do you solve both matters and why did you decide in favour of your solution?
Perhaps this page can help you:
http://www.javaworld.com/javaworld/jw-01-2006/jw-0102-servlet-p3.html
Similar Messages
-
What is the concept behind MASTER_IDOC_DISTRIBUTE
What is the concept behind MASTER_IDOC_DISTRIBUTE ?
Hi Manjunath,
Please check the Documentation of the Function Module in SE37
This function module is the interface from the application to the ALE layer on the outbound side. The application can pass an IDoc, the so-called master IDoc, as an internal table using the parameters MASTER_IDOC_CONTROL and MASTER_IDOC_DATA.
This IDoc is then converted into one or communcation IDocs and stored in the ALE layer. IDocs for which no errors occurred are passed to dispatch control.
In the table parameter COMMUNICATION_IDOC_CONTROL the header records for the communication IDocs created are retturned. You can tell whether processing was successful from the field STATUS.
A COMMIT WORK must be dispatched in the calling program, otherwise the IDocs may not be dispatched.
Best regards,
raam -
Concept behind, strengths and weaknesses of NetWeaver?
Hi,
what is the concept behind NetWeaver?
What kind of strengths and weaknesses did NetWeaver have?
And which position did NetWeaver have in the context of ESOA?
Dokuments are also from interesting!
THX
ChrisHi,
You're not asking for facts but for opinions.
I think you have to make your own opinions....
And everybody will have different ones.
From <b>my personnal point of view, </b>
The strength of Netweaver is the 15 years experience of robustness and reliability which began in 1992 with SAP R/3.
The weakness of Netweaver is the dual stack concept ( abap and java in the same product) which pretends that the Netweaver Application server exists, also there is an ABAP application server and a JAVA application server which are (in my opinion) badly glued together.
Regards,
Olivier -
What is the concept behind using table PA0002 and structure p0002.
Hi,
What is the concept behind using table PA0002 and structure p0002.
Many times, I have seen Looping at structure e.g. p0002, p0006 etc. and data is processed and also seen Looping at table PA0002, PA0006 etc. with further appropriate subtypes if any to retrieve a value and process the same.
In which context tables like PA,HRP,IT etc. are used and structures p0001,p0002 etc. are used.
Regards,
AmeetHI,
As mentioned that that Structure Pnnnn is user as a internal tablw when a LDB is used.
Ex.
TABLES: PERNR.
INFOTYPES: 0001.
GET PERNR.
PROVIDE * FROM P0001 BETWEEN PN-BEGDA AND PN-ENDDA.
WRITE: / P0001-PERNR,
P0001-STELL,
P0001-BEGDA,
P0001-ENDDA.
ENDPROVIDE.
Here it is important to declare the infotypes you want to read and so the system will create internal tables ex. P0001.
Tables PA0001 are database table with following fields
MANDT
.INCLUDE PAKEY
.INCLUDE PSHD1
.INCLUDE PS nnnn
Thanks,
Poonam. -
Concept behind User Administration
Good Morning all,
Please explain the concept behind user administration. My question is,
1). How to assign the user authorization? Do we need to maintain the user details under HR module?
2). I've created a user and assigned full authorization, but the user is not able to access the entire menu bar, i.e. the menu bar does not contain the marketing documents and some of the reports. If I add another user, the recently added user does not even have the access as like the previously created user.
Can anyone please look into this and provide a solution.
Thanks,
BalajiHello Balaji,
1). How to assign the user authorization? Do we need to maintain the user details under HR module?
The HR module does not have anything to do with the User Authorization. The Human Resources module is just a place to store employee information and other pertinent details on their employment.
2). I've created a user and assigned full authorization, but the user is not able to access the entire menu bar, i.e. the menu bar does not contain the marketing documents and some of the reports. If I add another user, the recently added user does not even have the access as like the previously created user.
The authorization manages what a user can access and what he/she cannot. If you are not able to see some of the Menu items it could be possible that they are diabled in the Form Settings. After login as the user Click on Form Settings (Tools > Form Settings) and make sure that the menu items the user needs are checked visible.
Make sure the the Visible check box is checked.
Suda -
Hi,
I really don’t understand the concept behind OCA, if I was to follow the track line
Introduction to SQL and Fundamentals of Database Administration (Part I) which includes concepts of instance, etc and also creating databases, tablespaces, etc. What sort of job can an OCA DBA apply to? Since Fundamentals of Database Administration (II) contains the backup and recover, networking concepts and issues while Performance tuning contains the performance related concepts, issues etc. As a DBA backup and recovery as well performance tuning are among the DBA tasks.
Please clarify.
Thank you,
AdithOCA is only a track to satisfiying your OCP. But still you can get a junior DBA's position if you are clear in your concepts.
-
Can someone please tell me the concept behind the SAP CPIC?
Thanks
Kumarhello Kumar,
Please check:
http://help.sap.com/saphelp_47x200/helpdata/en/bb/9f029e4b9b11d189750000e8322d00/frameset.htm
Regards.
Ruchit. -
Pending Licenses : What is the concept behind pending licenses ?
hi,
I am seeing pending licenses in device license in call manager 8.5.1
a) How can i filter devices whose licenses are pending.
b) What is the concept behind pending licenses.Thanx [email protected]
By gettign total no. of pending DLU's = some units apart form total alloted DLU's , consumed units and free units.
What i understand is
total alloted DLUS's = total consumed DLU + total free DLU + Pending DLU's.
thus one pending licenseis as good as consuming a license ?
M i thinking in correct direction,if yes how can i free these pending DLU's . -
hello friends plz check this code
class a
class b extends a
class c extends b
class test
public void print(a first)
System.out.println("Here in A");
System.out.println(first);
public void print(b first)
System.out.println("Here in B");
System.out.println(first);
public class kr
public static void main(String arg[])
test t=new test();
b obj =new c();
System.out.println(obj);
t.print(obj) ;
this will print Here in B
if change b obj = new c to a obj = new c
this will print Here in A
what's the concepts behind this
help me thanks
Vivek NidhiI saw this a while back:public class A {
public void show(A a) {
System.out.print("A.show(A);\t");
public class B extends A{
public void show(A a) {
System.out.print("B.show(A);\t");
public void show(B a) {
System.out.print("B.show(B);\t");
public class ABTest {
public static void main(String[] args) {
A a = new A();
B b = new B();
A bAsA = new B();
a.show(a); a.show(b); a.show(bAsA);
bAsA); System.out.println();
b.show(a); b.show(b); b.show(bAsA);
bAsA); System.out.println();
bAsA.show(a); bAsA.show(b); bAsA.show(bAsA);
A); System.out.println();
}You had to guess what the output was.
Almost everybody saidA.show(A); A.show(A); A.show(A);
B.show(A); B.show(B); B.show(B);
B.show(A); B.show(B); B.show(B); when in fact, the correct answer isA.show(A); A.show(A); A.show(A);
B.show(A); B.show(B); B.show(A);
B.show(A); B.show(A); B.show(A); the reason is that although B overrides A.show(A)
which is taken account for at runtime - giving the B.
on the last row - the decision of whether to call
show(A) or show(B) is made at compile time, so
the last column says show(A) - the parameter is of
compiletime type A even if it's runtime type is B -
and the last row is show(A) for similar reasons.
I hope this helps (and makes sense)
Well it makes sense to me but what is really surprising is the result of
bAsA.show(b);
which comes out to be
B.show(A);
while parameter being passed in the method is b which is of type B. Could anybody explain that? -
Gurus,
I am trying hard to understand the concepts behind ewa( I started working on solman recently)
ewa was already configured in our landscape
I could see /bdl/task* jobs triggering in managed system when I create maintenance task in sdccn. what does these jobs do? Also I could also see /bdl/task* jobs running in solution manager also, I am not sure what these jobs would do...
I am really confused how the ewa data goes from managed system to solman(which bck job does what?)
Kindly throw some light though my questions looks silly to many
BR,
VardhaFor further details please, check the documentations here.
http://service.sap.com/ewa => Media Library
http://service.sap.com/ewa => FAQs
Questions
Getting Started
1. What is the SAP EarlyWatch Alert?
2. What are the benefits using the EWA?
3. Is the SAP EarlyWatch Alert free of charge?
4. What is difference between the SAP EarlyWatch Alert and SAP EarlyWatch Check?
5. Is the SAP EarlyWatch Alert a prerequisite for further SAP services?
6. Which customers are eligible for the SAP EarlyWatch Alert?
7. For which SAP products is the EarlyWatch Alert available?
8. Which SAP Notes must be implemented for the SAP EarlyWatch Alert?
9. Does the application of the SAP EarlyWatch Alert have to be registered?
10. Where can the customer find the reports after evaluation?
11. How can the SAP EarlyWatch Alert be used for SAP environments with very strict rules regarding information security?
12. On Monday morning the EarlyWatch Alert seems to have been processed, but no rating (traffic light) is shown in the session overview (in transaction solution_manager). Why does the rating only appear when I log on the next day?
Contents of the EarlyWatch Alert
13. Where can I get information on how to interpret information in a report?
14. What is the exact definition of Active users as per EarlyWatch Alert report?
15. In the new SAP Early Watch Alert Report some data are only shown in a graphical display which were formerly available as numerical data. Where can I find the numerical values?
16. Which rules does the EarlyWatch Alert apply to non-productive systems?
17. Why are on the cover page of the EarlyWatch Alert Report the customer number and customer information empty?
18. Why does the EarlyWatch Alert reports sometimes contains data of a wrong system with other service and no user activity?
19. Why are there differences between the EarlyWatch Alert Report as created in our Solution Manager and the EarlyWatch Alert Report created at SAP (available on the Support Portal)? -
Points and discussion about the concepts behind making a 2D game
Hi all. I'm currently trying my hand at a 2D RPG style game. I have a few questions open for discussion, however, regarding the general points of implementation behind it.
1. Tiles vs static background argument aside, am I right in the thinking the best way of implementing movement across a big background map is actually to move the background and other sprites in relation to the player, giving the illusion of player movement although he in fact never moves from the center of the screen? Is there a way of actually creating a large map, populating it with sprites, and then moving the player across it and panning the screen after him?
2. Collision detection. If we go with the idea of moving everything in relation to the player rather than the player himself, woudln't this mean a large amount of calculations when collision detection occurs. Example, u want the player to stop moving when he hits a brick wall so you have to tell every entity sprite to stop moving in response to key presses (because remember, pressing up moves everything else up, not the player character).
3. Isometric. Is the easiest way of implementing an isometric style game just to develop isometric graphics and sprites?
4. Tiles. I've been doing a lot of reading into tiles but I'm not sure what's a better implementation: a tile system which consists of the entire background and things like houses split into tiles or a simple big background which can be scrolled around and is populated by house sprites which are all moved in relation to the player and their collision detections done individually. Tiles certainly seem like a nice innovation but I feel like the graphics suffer as a consequence and u end up with a 8bit NES looking game!
I'm just getting to grips with the concepts behind a lot of game design and all of this are some interesting points which I thought would be insightful to discuss. Opinions please!
Cheers.Everything I'm about to say is based off of a tile-based Maze game I made.
1. Using a big background map is a bit lazy if you ask me, but graphically it would be easier to create a nice-looking game. You also have to think about memory. Let's say you manage to get an 800x600 background image at the size of 200kb with JPEG compression. That 200kb jpg image you use as a background is not 200kb when loaded into memory. I dont remember exactly how much bigger it gets in memory, so this next statement is probably wrong. But I heard that: 4bytes per pixel for the ARGB data, and there are 800x600 (480,000) pixels. That's 480000*4 (1920000) bytes if that statement is right. But it's probably wrong, so hopefully Abuse or someone will correct it :)
2. Move EVERYTHING up? I think you're a little mixed up. When the background (and all objects with it) is scrolled, their actual X,Y data is not changed. It is simply drawn according to the scroll offset. The only thing that is being calclulated for movement is the character/scroll offset. Think of it as a camera. The entire world is not moving, just the location of where you're viewing it. Quick example:
You have a Tree who's location is (10,10). If the scroll offset is (0,0), then that Tree will be drawn at (10,10). But let's say your character moves up 5 pixels. You say you want him centered, so the scroll offset also moves up 5 pixels, making the offset (0,-5). When it's time to draw again, that Tree can't be at the same place it was, because the character moved. If the character moved up, the Tree would appear as if it moved DOWN. So you'd draw it like:
g.drawImage(tree.getImage(),tree.x-scrollOffsetX,tree.y-scrollOffsetY,null);With that math, the Tree is actually drawn at (10,15), which is lower than before the character moved. You don't actually loop through all of your objects and change each and every X and Y value, you just change the global scroll offset
Speaking of collision detection, this is where TileMaps have a large advantage. In a TileMap, you don't have to check through each and every object in the world for collision. You can just grab the 4 surrounding tiles (north,west,east,south) from the Tile array. This means there are only 4 collision detections no matter where the character is in any situation on the map.
If you used an image for background instead of tiles, you'd have to check each object in the world for collision because it's harder to tell how close it is to the character. One thing you could do is just grab all of the object currently visible on screen and check their collision, but, depending on where you are on the map, this could easily cause an inconsistent frame rate (you could be in a field of grass that has no collision or a forest of 50 trees each screen- LOTS of collision!).
3. I dont got much to say about isometric :P
4. an 8bit NES game, eh? That is the common misconception that you have to use images that are the same size of the tiles. Have you seen the game "The Legend of Zelda: Four Swords"? That's a tile-based game, but on several occasions you see trees that are 10 times bigger than the 20x20 tiles. They mixed it up, they used a TileMap for the basic ground, and put good looking large images on top. The large images (such as a large tree) uses 4 or 5 "base" tiles that are used for collision. That way the character will only collide with the bottom-half of the tree, giving the appearance of going "behind" the tree when the Y value is above the middle line of the tree. This is far away from looking like an 8bit NES game :)
I hope that was more helpful than it was confusing, but I tend to babble, so.. anyway. Hope it helps :o -
Concept behind Cardinality, Singleton property?
hi,
will anyone explain me the concept of cardinality, singleton & Initialize lead selection properties of noce. by example... when i need to set singleton /Initialize lead selection property true / fasle for perticular node...
suppose i am having node structure like this ..
CLAIM Node1
CLAIMITEM Node2
EXPENSETYPE Node3 ... Comes under node2
key
value
Claimid attribute.. Comes under node2
Description attribute.. Comes under node2
Amount attribute.. Comes under node2
if Node CLAIMITEM is bind to table on view....having 4 column ,
first as dropdown by index bind to EXPENSETYPE value...
second as inputfield bind to Claimid....
third as inputfield bind to Description....
fourth as inputfield bind to Amount....
table is having multiple rows so Node CLAIMITEM must have cardinality 0...N
what abt others...
please dont give me any link which is alreay on sdn...
jst try to explain me how does it go and why if possible ..
thanks
saurin shahHi Saurin,
Please check this Article which explains in detail about Context,cardinality and singleton properties with examples.I hope it will help you.
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60730016-dbba-2a10-8f96-9754a865b814 -
Hello All,
Can someone help me understand the concept of endpoint? Is that the URL where the trading partner will be sending messages?
I tried to configure Acme and GlobalChips using the b2b/transportServlet endpoint. It worked perfectly. Then i added a second dummy trading partner called "Dummy". I used another endpoint "b2b/dummy/transportServlet". I could not deploy configuration for this new endpoint
Error -: AIP-16001: The model validation engine failed due to an internal system error.
I tried to restart the b2b server and even tried exporting and importing the configuration from a file. Nothing seems to help.
is that b2b/transportServlet something specific? Or can i use any name there. I hit the URL: http://localhost:7779/b2b/transportServlet and i get a table displaying RMI port and other details. However when i configured the second endpoint i expected to see similar results on
URL: http://localhost:7779/b2b/dummy/transportServlet but it was not available.
Please can someone shed some light on endpoints
Thanks in Advance,Thank you Kalyan,
So that means if i have client A and Client B using AS2. Each sends 850 and expects 997.
so all the documents will come to this same endpoint.
To identify the sending/receiving partner we have AS2 Identifier in the exchange protocol parameters (whether client A or client B sent this)
and,
To identify the document we have the document protocol parameters -
Concept Behind advance hour glass model
Hi,
Just want to know the reason behind the incremental optimization using Advance hour glass model.
how it increase the performance and what is the reason behind it.
Regards
AnubhavHello Oruganti,
here is the explanation for mechanism of hour glass structure:
for example you had 6 dimensions 3 dense and 3 sparse. you should arrange your outline in the following structure (Hour glass)
DenseDimNumber1 (100stored members)
DenseDimNumber2 (50stored members)
DenseDimNumber3 (10stored members)
SparseDimNumber1 (10stored members)
SparseDimNumber2 (50stored members)
SparseDimNumber3 (100stored members)
Dense members determine your block size
your block size will be 100*50*10*8
Sparse members determine your potential number of datablocks.
Index file has address of each datablock.
Outline order controls the sequence of the datablocks stored in .pag files.
when you run a calc it is fast for essbase to search for a datablock in index file if it is arranged in hour glass structure.
Assume that your first dimension is largest sparse; so when essbase searches it has to go through all 100 members. if the first sparse dim has 10 members it is easy to search.
this is the reasoning I know for hour glass structure
essbase gurus please correct me if I am wrong -
Hi,
I have read about variuos objects and roles to be made in CRM , but could anyone help me to understand the basic concept and difference between CRM security and SAP r/3 security.
the technical details required for implementing CRM security.
Regards
Puneet<b><commercial_advertising_removed_by_moderator></b>
kind regards
Maybe you are looking for
-
How do I stop i-tunes from changing the genres for my songs without my consent?
Lately, itunes has been taking the genres I've set for my songs and changing them without my consent or say so. I change them back to what I want, i-tunes changes it back to what it wants, etc.. For example, I might list something as "Rock", but i-
-
Org.w3c.dom - Parsing?
Hi everyone, I'm making a very small library for accessing resources. I want to be able to access them through XML, amongst others. I figured W3C DOM is the best approach. But! Is there any standard for parsing the documents? I would like a org.w3c.P
-
Photoshop CC file started to get corrupted
Hi, I have a file I've been working on (Photoshop CC + OSX 10.9.1). These artifacts appear in some layers that have some effects on smart objects (but not limited too). I disabled gpu drawing, as it might be related - but the artifacts remain. Is the
-
Ok I run this; select name from shuttle_demo_category where id = 30; It returns this: name ITEM 10 I am making this stored procedure: create or replace PROCEDURE loadname AS BEGIN declare f utl_file.file_type; V_dir varchar2(10); cursor c_item is sel
-
Yesterday evening Norton ran a scan and found a threat, not saying it was Mozilla Thunderbird I ran it. Following that all my inbox emails had disappeared. All other emails are still there, including trash and folders. I have recd emails in inbox fro