How to write custom prerender or init method?
some ide provide override prerender() and init() methods,i can use this methods,
i use differnt ide but i didnt find prerender and init methods ,so i try to write these but i couldnt.
i did ;
1) write phaselistener
2) and extends my beans with phaselistener
public class phases implements PhaseListener {
public phases() {
public void init() {
System.out.println("/******************phase****init*****************************");
public void afterPhase(PhaseEvent phaseEvent) {
public void beforePhase(PhaseEvent event) {
if (event.getPhaseId()==PhaseId.RESTORE_VIEW) {/// this mean is page init
init();
protected boolean isPostBack() {
if (getFacesContext().getRenderResponse())
return false;
else
return true;
and my bean is ;
public class login extends phases {
@Override
public void init() {
System.out.println("/**********************init*****************************");
but nothing (didnt enter the init method);;
pls How can i do this?
Edited by: ermanbas on Jun 13, 2009 9:16 PM
Edited by: ermanbas on Jun 13, 2009 9:17 PM
That's why it sucks to be tied up to an ide feature. Do not extend your beans from a phaselistener. You need sth like;
http://cagataycivici.wordpress.com/2006/06/06/managed_beans_aware_of_the/
Edited by: CagatayCivici on Jun 16, 2009 4:06 PM
Similar Messages
-
Hi all,
I need your help how to write customer exit in my BI query to get (current fiscal quarter) and (current fiscal quarter - 1 ) without user input.
in my query info object is 0CALQUARTER and variable is ZFIS_QTR.
in 0CALQUARTER fiscal quarter stored in 201301,201302,201303,201304 and 201401 format, for current fiscal quarter 201401 and (current fiscal quarter - 1 ) would be 201304.
please replay ASAP to deliver the report to client.
thanks in advance.
-- Rakesh NagpureI am Getting the same error for both the codes that i have written...
Do i Need to write sth else in the code...
Code:
WHEN 'ZVLIVELEASES'.
IF I_STEP = 2.
L_DATE = SY-DATUM.
SELECT * FROM "DSO_ACTIVE_TABLE"
INTO TABLE ITAB_LL where "EXPIRY_DATE" > L_DATE.
LOOP AT ITAB_LL INTO WA_LL.
CLEAR l_s_range.
l_s_range-sign = 'I'.
l_s_range-opt = 'EQ'.
l_s_range-low = WA_LL-"EXPIRY_DATE".
APPEND L_S_RANGE TO E_T_RANGE.
ENDLOOP.
ENDIF.
Error: Error for variable in customer enhancement ZLIVELEASES -
How to call Custom or Component Controller methods from View Controller
Hy Guys,
how do I call Custom Controller or Component controller methods from a View or Context Controlller?
thanks in advance
JürgenHi Juergen
Yes it is possible, pls follow the below approach to access the component controller in context node class
1) since the standard component controller class is protect variable , declare a variable of type component controller in your controller class.
say for example the public variable you declared is g_comp_controller
2) now redefine the controller class method WD_CREATE_CONTEXT and add the below lines of code
g_comp_controller ?= me->comp_controller.
3) go to context node class (CNXX) there declare the varaible which of type controller class (IMPL) as public variable, for example g_owner
4) redefine the method IF_BSP_MODEL~INIT and write the below code
CALL METHOD super->if_bsp_model~init
EXPORTING
id = id
owner = owner.
g_owner ?= owner.
5) now the variable g_owner that is declared in (CNXX) contains reference to your controller class
6) in on_new_focus method access your component controller in the below manner and access the entities also.
DATA: lv_owner TYPE REF TO xxxxx_impl, " Implementation class
lr_comp_cont TYPE REF TO xxxx_bspwdcomponen_impl, " component controller class
lv_entity type ref to cl_crm_bol_entity.
lv_owner ?= g_owner.
lr_comp_cont ?= lv_owner->g_comp_controller.
IF lr_comp_cont IS BOUND.
lv_entity ?= lr_comp_cont->typed_context->mdfcampaign->collection_wrapper->get_current( ).
now lv_entity contains the value of component controller context node.
Thanks & Regards
Raj
Edited by: bmsraj on Sep 27, 2011 3:28 PM -
SRM Smartform - How to write custom logic to get data
Hi Experts,
I am new to SRM 7.0 now. I want to know where the code logic can be written to print the custom smart form?
I have already create custom smarts form ZBBP_PO, and implement the BADI BBP_OUTPUT_CHANGE_SF to pass the custom form name.
But i don't know where to write the code for fetching the source data. In ECC, we can write the code in a separate report program. How it does in SRM now? It is said some class and method will print the form. How to find it? and how to add custom logic.?
Or the logic of fetching source data should be embeded in the smart form? I don't like to write much more codes directly in smart form.
Thanks!Yeah, I know it. but I don't want to write code logic into the Smartforms. in ECC, i always write the code in a separated program which will pass the data to smartform and call function module to print it.
i just want to know whether i can write the code in somewhere else in SRM, not in smartform. -
How to write customer exist for Keyfigure( query )
Hi gurus,
I have to write customer exist for a key figure.
Please tell me how to write it.
Thanks,
JamesPankesh,
SE24 is for defining classes .. are you sure this is for customer exits ?..
Use a formula variable filled by a customer exit... go to TCode CMOD and follow the normal procedure for defining Exits.. look up the forums for detailed steps on how to write an exit..
Arun
Hope it helps... -
How to write custom messages to Data Manager package log from within SSIS?
Just wonder in BPC 7.0/7.5 MS how do you write custom messages to Data Manager package log from within SSIS? I mean I want to log output of specific custom tasks (non-BPC) in SSIS control flow to the resultant BPC package log created when running SSIS package in Data Manager. Can this be done in a Script Task or some other way? Not much documentation out there on this.
Thanks,
BrianHi Brian
In order to achieve what you want, it can get tricky in your package, ultimately It would depend on the task, for example if you had an execute SQL task, you could use a RAISEERROR command in your SQL statement and BPC would return the error message that you specified.
If you had other tasks, then it would be a bit more tricky, you would have to have custom messages based on event handlers.
Please see below links for examples :
[Custom messages for logging|http://msdn.microsoft.com/en-us/library/ms345174.aspx]
[Custom Logging Using Event Handlers |http://consultingblogs.emc.com/jamiethomson/archive/2005/06/11/SSIS_3A00_-Custom-Logging-Using-Event-Handlers.aspx]
Hope this helps
Kind Regards
Daniel -
In LSMW how to include customer fields in BAPI method ?
Hi all,
We have a requirement to use BAPI method in LSMW. We have some custom fields defined needs to be handled in BAPI structures.Please tell me how to handle BAPI extension structures(EXTENSIONIN/OUT) in LSMW.Hi Venugopal,
You can use the sold to party field fiield for your requirement.
Press f4, you will get a pop up to select customer depending on various selection criteria including customer name.
If can enter the customer name, which will sort out the sold to party number whihc you can use.
If this is not wat is required you have to copy the transaction and create a new Zreport.
Hope this helps you.
Thanks
Arun -
How to write custom unit calculator
We are using Coherence 3.4.2 for Java. I am trying to write our own unit calculator. As I played with the example coming with Coherence, I modify the explore-config.xml as following:
<cache-config>
<caching-scheme-mapping>
<!--
Caches with any name will be created as default replicated.
-->
<cache-mapping>
<cache-name>*</cache-name>
<scheme-name>default-distributed</scheme-name>
</cache-mapping>
<cache-mapping>
<cache-name>VirtualCache</cache-name>
<scheme-name>default-distributed</scheme-name>
</cache-mapping>
</caching-scheme-mapping>
<caching-schemes>
<!--
Default Replicated caching scheme.
-->
<replicated-scheme>
<scheme-name>default-replicated</scheme-name>
<service-name>ReplicatedCache</service-name>
<backing-map-scheme>
<class-scheme>
<scheme-ref>default-backing-map</scheme-ref>
</class-scheme>
</backing-map-scheme>
</replicated-scheme>
<!--
Default Distributed caching scheme.
-->
<distributed-scheme>
<scheme-name>default-distributed</scheme-name>
<service-name>DistributedCache</service-name>
<backing-map-scheme>
<local-scheme>
<high-units>272</high-units>
<low-units>50</low-units>
*<unit-calculator><class-scheme><class-name>com.tangosol.examples.explore.TestMemoryCalculator</class-name></class-scheme></unit-calculator>*
</local-scheme>
</backing-map-scheme>
</distributed-scheme>
<!--
Default backing map scheme definition used by all
The caches that do not require any eviction policies
-->
<class-scheme>
<scheme-name>default-backing-map</scheme-name>
<class-name>com.tangosol.util.SafeHashMap</class-name>
</class-scheme>
</caching-schemes>
</cache-config>
I write the very simple java code:
package com.tangosol.examples.explore;
import com.tangosol.net.cache.OldCache;
class TestMemoryCalculator implements OldCache.UnitCalculator {
public TestMemoryCalculator() {
public int calculateUnits(Object oKey, Object oValue) {
int size = 0;
System.out.println("size = " + size);
return size;
When I try to run the example program, I got the following error:
yzhang@bsdhcp174172:~/work/coherence> java -cp ./lib/coherence.jar:./lib/tangosol.jar:./examples/java -Dtangosol.coherence.cacheconfig=./examples/config/explore-config-dist.xml com.tangosol.examples.explore.SimpleCacheExplorer
2009-05-27 14:57:55.019/0.294 Oracle Coherence 3.4.2/411 <Info> (thread=main, member=n/a): Loaded operational configuration from resource "jar:file:/home/yzhang/work/coherence/lib/coherence.jar!/tangosol-coherence.xml"
2009-05-27 14:57:55.025/0.300 Oracle Coherence 3.4.2/411 <Info> (thread=main, member=n/a): Loaded operational overrides from resource "jar:file:/home/yzhang/work/coherence/lib/coherence.jar!/tangosol-coherence-override-dev.xml"
2009-05-27 14:57:55.025/0.300 Oracle Coherence 3.4.2/411 <D5> (thread=main, member=n/a): Optional configuration override "/tangosol-coherence-override.xml" is not specified
2009-05-27 14:57:55.031/0.306 Oracle Coherence 3.4.2/411 <D5> (thread=main, member=n/a): Optional configuration override "/custom-mbeans.xml" is not specified
Oracle Coherence Version 3.4.2/411
Grid Edition: Development mode
Copyright (c) 2000-2009 Oracle. All rights reserved.
2009-05-27 14:57:55.260/0.535 Oracle Coherence GE 3.4.2/411 <Info> (thread=main, member=n/a): Loaded cache configuration from file "/home/yzhang/work/coherence/examples/config/explore-config-dist.xml"
2009-05-27 14:57:55.555/0.830 Oracle Coherence GE 3.4.2/411 <Warning> (thread=main, member=n/a): UnicastUdpSocket failed to set receive buffer size to 1428 packets (2096304 bytes); actual size is 178 packets (262144 bytes). Consult your OS documentation regarding increasing the maximum socket buffer size. Proceeding with the actual value may cause sub-optimal performance.
2009-05-27 14:57:55.695/0.970 Oracle Coherence GE 3.4.2/411 <D5> (thread=Cluster, member=n/a): Service Cluster joined the cluster with senior service member n/a
2009-05-27 14:57:58.897/4.172 Oracle Coherence GE 3.4.2/411 <Info> (thread=Cluster, member=n/a): Created a new cluster "cluster:0x2FFB" with Member(Id=1, Timestamp=2009-05-27 14:57:55.564, Address=172.19.174.172:8088, MachineId=4524, Location=site:americas.nokia.com,machine:bsdhcp174172,process:16242, Role=TangosolSimpleCacheExplorer, Edition=Grid Edition, Mode=Development, CpuCount=2, SocketCount=1) UID=0xAC13AEAC00000121836F916C11AC1F98
2009-05-27 14:57:59.062/4.337 Oracle Coherence GE 3.4.2/411 <D5> (thread=DistributedCache, member=1): Service DistributedCache joined the cluster with senior service member 1
2009-05-27 14:57:59.118/4.393 Oracle Coherence GE 3.4.2/411 <Error> (thread=DistributedCache, member=1): BackingMapManager com.tangosol.net.DefaultConfigurableCacheFactory$Manager: failed to instantiate a cache: Yong
2009-05-27 14:57:59.118/4.393 Oracle Coherence GE 3.4.2/411 <Error> (thread=DistributedCache, member=1):
java.lang.IllegalArgumentException: Unknown unit calculator:
<class-scheme>
<class-name>com.tangosol.examples.explore.TestMemoryCalculator</class-name>
</class-scheme>
at com.tangosol.net.DefaultConfigurableCacheFactory.instantiateLocalCache(DefaultConfigurableCacheFactory.java:1641)
at com.tangosol.net.DefaultConfigurableCacheFactory.configureBackingMap(DefaultConfigurableCacheFactory.java:1063)
at com.tangosol.net.DefaultConfigurableCacheFactory.configureBackingMap(DefaultConfigurableCacheFactory.java:1059)
at com.tangosol.net.DefaultConfigurableCacheFactory$Manager.instantiateBackingMap(DefaultConfigurableCacheFactory.java:3124)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$Storage.instantiateResourceMap(DistributedCache.CDB:19)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$Storage.setCacheName(DistributedCache.CDB:27)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$ConfigListener.entryInserted(DistributedCache.CDB:15)
at com.tangosol.util.MapEvent.dispatch(MapEvent.java:191)
at com.tangosol.util.MapEvent.dispatch(MapEvent.java:164)
at com.tangosol.util.MapListenerSupport.fireEvent(MapListenerSupport.java:556)
at com.tangosol.util.ObservableHashMap.dispatchEvent(ObservableHashMap.java:229)
at com.tangosol.util.ObservableHashMap$Entry.onAdd(ObservableHashMap.java:270)
at com.tangosol.util.SafeHashMap.put(SafeHashMap.java:244)
at com.tangosol.coherence.component.util.collections.WrapperMap.put(WrapperMap.CDB:1)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid$ServiceConfigMap.put(Grid.CDB:13)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$StorageIdRequest.onReceived(DistributedCache.CDB:40)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onMessage(Grid.CDB:9)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:130)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache.onNotify(DistributedCache.CDB:3)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:37)
at java.lang.Thread.run(Thread.java:619)
Of course, if I replaced my TestMemoryCalculator with the SimpleMemoryCalculator coming with coherence, it works. My question is that why my custom unit calculator in this example DOES NOT work? And what part I did it wrong?
ThanksHi java8964,
It probably didn't compile because you didn't implement getName() method:
package com.tangosol.examples.explore;
import com.tangosol.net.cache.OldCache;
class TestMemoryCalculator implements OldCache.UnitCalculator
public TestMemoryCalculator()
public int calculateUnits(Object oKey, Object oValue)
int size = 0;
System.out.println("size = " + size);
return size;
public String getName()
return "TestMemoryCalculator";
} Regards,
Dimitri -
How to write javascript in java class method
Hi,
any one please resolved this,
i want to write javascript window closing code into java class method, in that method i want to write javascript code & wanted to call in jsf page on commandButton action event,
my code is below but it is not working properly
public void closeWindowClicked(ActionEvent event) {
try
FacesContext facesContext = FacesContext.getCurrentInstance();
String javaScriptText = "window.close();";
// Add the Javascript to the rendered page's header for immediate execution
AddResource addResource = AddResourceFactory.getInstance(facesContext);
addResource.addInlineScriptAtPosition(facesContext, AddResource.HEADER_BEGIN, javaScriptText);
catch(Exception e)
System.out.println(""+e);
for calling into jsf code is below
<h:commandButton action="#{parentBean.closeWindowClicked}" value="OK" />
/*Note- i want to closed the window by caling method contain javascript only, i don't want any ajax code in method */
please any one can resolved this.
Thanks/*Note- i want to closed the window by caling method contain javascript only, i
don't want any ajax code in method */ When the user presses your button, do your business logic and then send them to a page containing the following (note: untested code ahead):
<html>
<head>
function onLoadHandler()
window.close();
</head>
<body onload="onLoadHandler();">
<p>Window closing....</p>
</body>
</html> -
How to write customer exit for the variable
Hi Experts,
I have a requirement to create the variable, the scenaria is like this..
I need to create the variable which gives the period/year values,if yours enters the values 05.2007 then the variable should return the first monthe the year i.e.01.2007.
I hope it can be done by writing the customer exit..but iam unware how to achieve this.
Please explain me step by step and cope for customer exit to done this.
Points will be awarded
Suraj.hi Suraj,
there should variable sap exit for first month,
for customer exit, check this how to doc for steps
https://websmp210.sap-ag.de/~sapdownload/011000358700002762582003E/HowToDeriveVariableValue.pdf
your code may look like
INCLUDE ZXRSRU01 *
DATA: L_S_RANGE TYPE RSR_S_RANGESID.
DATA: LOC_VAR_RANGE LIKE RRRANGEEXIT.
CASE I_VNAM.
WHEN 'your 1st month variable'.
IF I_STEP = 2. "after the popup
LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
WHERE VNAM = 'your user input variable'.
CLEAR L_S_RANGE.
L_S_RANGE-LOW = LOC_VAR_RANGE-LOW(4)."low value, e.g.200001
L_S_RANGE-LOW+4(2) = '01'.
L_S_RANGE-SIGN = 'I'.
L_S_RANGE-OPT = 'EQ'.
APPEND L_S_RANGE TO E_T_RANGE.
EXIT.
ENDLOOP.
ENDIF.
ENDCASE.
hope this helps. -
How to write customer exit code to get current user as default in variable
Hi guys,
I design a query which has a variable called var_employee , I also set some default values for this variable in query designer. But I would like to set the current user account who logon on (who execute the query) in the dropdownlist as default user when the variable selection screen appear. of course after that he can choose other avaiable value.
I look up some related threads, all says that this need some customer exit code, and they mention to use CMOD to create the customer exit , but I don't know the detail process, as I am pretty new on this.
The attribute of the var_employee variable is : employee(defined info object by myself) characterstic value, customer exit.
Can somebody show me the process to create the customer exit, and the apap code in detail if possbile. then I can try.
Thanks a lot in advance.
Best Regards,
BenHi,
Please have a look at:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f1a7e790-0201-0010-0a8d-f08a4662562d
Krzys -
How to write hasCode() & equals(0) methods in Compound Key Class
Hi Java Helpdesk,
I am wondering how to write the hashCode() and equals() methods that is mandatory when creating composite
@IdClass. Below is the combination of primary @Id keys that I would like to make up in a compound key class:
public final class PatientKey implements java.io.Serializable
private String firstnameId;
private String SurnameId;
private String DateOfBirthID;
private String Sex;
public int hashCode()
public boolean equals(Object otherOb)
}The Order application in Java EE 5 Tutorial (page 841) is made up of only 2 primary keys.
Thanks,
JackHi,
Thanks for your very brief response and I had a look at both EqualsBuilder and HashCodeBuilder from the URL links you have provided. These methods may improve the comparison accuracy but I was more interested on how to implement the equals() and hashCode methods when comparing 3 or more primary keys in order to make up a primary key class. Below is my first attempt to compose the PatientPK primary key class:
1. public class PatientPK implements java.io.Serializable {
2.
3. private String firstName;
4. private String lastName;
5. private String dateOfBirth;
6. private Char sex;
7.
8. public PatientPK() {}
9.
10. public PatientPK(String firstName, String lastName, Date dateOfBirth, Char sex)
11. {
12. this.firstName = firstName;
13. this.lastName = lastName;
14. this.dateOfBirth = dateOfBirth;
15. this.sex = sex;
16. }
17.
18. public String getFirstName() { return this.firstName; }
19. public void setFirstName(String firstname) { this.firstName = firstName; }
20.
21. public String getlastName() { return this.lastName; }
22. public void setLastname(String lastName) { this.lastName = lastName; }
23.
24. public String getDateOfBirth() { return this.dateOfBirth; }
25. public void setDateOfBirth(String dateOfBirth) { this.dateOfBirth = dateOfBirth; }
26.
27. public Char getSex() { return this.sex; }
28. public void setSex(String sex) { this.sex = sex; }
29.
30. public boolean equals(Object obj)
31. {
32. if (obj == this) return true;
33. if (!(obj instanceof PatientPK)) return false;
34. PatientPK pk = (PatientPK) obj;
35. if (!firstName.equals(pk.firstName)) return false;
36. if (!lastName.equals(pk.lastName)) return false;
37. if (!dateOfBirth.equals(pk.dateOfBirth)) return false;
38. if (!sex.equals(pk.sex)) return false;
39. return true;
40. }
41.
42. public hashCode()
43. {
44. return firstName.hashCode() + lastName.hashCode() + dateOfBirth.hashCode() + sex.hashCode();
45. }
46.}Please advice whether both these equals() and hashCode() implementations are correct.
Thanks in advance,
Jack -
Can servlet has more than one init method...?
Clarification 1:
Suppose i will write init()(-without constructor) method. In this case, how servlet config object passed to init method.
Clarification 2:
if i will override init(ServletConfig) .why do i need to call super.init(config).
thanks,
JaiGaneshRsuppose i ll override init method without constructor. //wrong
i think u want.
suppose i ll override init method without arguments
then also servlet calls the init(ServletConfig) method.
1st servlet container check in ur Servlet class for init(ServletConfig)
it's not found.
2.then it checks in the super class HttpServlet. it's not found.
3.then it checks in the super class GenericServlet there it will found it.
then it will execute.
package javax.servlet;
import java.io.IOException;
import java.io.Serializable;
import java.util.Enumeration;
// Referenced classes of package javax.servlet:
// Servlet, ServletConfig, ServletException, ServletContext,
// ServletRequest, ServletResponse
public abstract class GenericServlet
implements Servlet, ServletConfig, Serializable
public GenericServlet()
public void destroy()
public String getInitParameter(String name)
return getServletConfig().getInitParameter(name);
public Enumeration getInitParameterNames()
return getServletConfig().getInitParameterNames();
public ServletConfig getServletConfig()
return config;
public ServletContext getServletContext()
return getServletConfig().getServletContext();
public String getServletInfo()
return "";
public void init(ServletConfig config) *<-------------------------------------------------- called*
throws ServletException
this.config = config;
init(); ---------------------------------------------------> called your override method
public void init() *<------------------------------------------------- Not called*
throws ServletException
public void log(String msg)
getServletContext().log(getServletName() + ": " + msg);
public void log(String message, Throwable t)
getServletContext().log(getServletName() + ": " + message, t);
public abstract void service(ServletRequest servletrequest, ServletResponse servletresponse)
throws ServletException, IOException;
public String getServletName()
return config.getServletName();
private transient ServletConfig config;
4. finally ur init() without arugments method will exected.
Edited by: Lakshman.Balanagu on 26 Aug, 2008 3:43 PM
Edited by: Lakshman.Balanagu on 26 Aug, 2008 3:44 PM -
Help needed in writting Customer exit - ABAP Code
Hi Friends,
I have a scenario in one of the query and need to write a customer exit for the same. Here is the scenario:
I am using one input variable XXX to get input from user which feeds value to one of the charateristic lets say "CHAR1" in query. I have one more characteristic "CHAR2" which has to get the value from the same variable XXX. This is not allowed in BI7.0 as the variable is Hierarchy Node type. It gives error that "Variable XXX is used for two different characteristics."
So i need to create one more vaiable YYY which will get the value from XXX and then YYY will feed value to CHAR2. I would appreciate if some one could tell me step by step how to write customer exit and give me the piece of ABAP code i need to write in my case.
Your help will be appreciated in terms of points.
Thanks,
manmitHi Arun,
1. What should CHAR2 take - Hierarchy node variable or something else ?
--> CHAR2 is a simple charateristic
2. In your scenario - why have CHAR1 and CHAR2 ? why not have the user enter values against CHAR2 ??
--> We dont want user to enter two input as the input values for both Chars are same.
3. Did you try using a replacement path variable with the CHAR2 variable taking values from Variable on CHAR1 ?
--> In BI7.0 replacement path variable only take values from Query results. So not able to do the same.
Thanks -
How to expose custom methods of servlet as web services
Can i know how to expose the custom methods of the servlet as web services. if it is not posssible then what alternate ways are possible other than ejbs?
regardsHi
I want to know that whether the custom methods of servlet can be exposed as webservices or not?
Secondly is there init method like we have in servlets so that we can do all the one time loading in the init() method.
regards
Maybe you are looking for
-
Customer check payment details
Hi, I need the database table for customer check payment details. My client is asking the report with these fields: Customer, Paid amount, Paid Date, Payment Mode, Check No, due amount, due date etc. Due date, due amount i can get from BSID table and
-
Web.SHOW_DOCUMENT (url, target);
if I will use web.show_document('javascript:window.close();','_self'); where it is looking for javascript. I'm afraid that something I did not configure. If somebody can explain how it is working then you try call javascript in web.show_document? Ple
-
Erattic connection using Graphite Airport Base station
I have the Apple TV (new) and am connecting to it from a Graphite Airport base station (fairly old model). I'm streaming music to the stereo speakers (from another computer with iTunes in another room) and it works but seems slow to change tracks or
-
I have been writing ABAP for some time. Now I have been asked to write technical specs fro my offshore team. I have a dilemma, to retrive data from PNP and PCH, should I recommend them to use it or should I ask for a FM approach. Which one is right?
-
New T-Code with default variant
Hello Guru: I create new t-code via copy standard t-code. but how to set default variant to this new t-code. seems like new variant still tied with old-t-code. pls advise.