I have doubt on filters
Hi,
I am Praveen ,I have doubt on servlet filters.
First i can create a servlet ,in that servlet i can store some Text message to servlet and again in that text mesage can send the response to the filter.but it can not come pls reply me
public void doFilter( ServletRequest request, ServletResponse response,
FilterChain chain ) throws IOException, ServletException {
response.setContentType("text/plain");
PrintWriter out = response.getWriter();
CharResponseWrapper responseWrapper = new CharResponseWrapper((HttpServletResponse)response);
// Get response from servlet
StringReader sr = new StringReader(new String(responseWrapper.toString()));
// out.println("The result is "+sr);
out.write("Filter latered the response");
out.write("\n \n");
out.println(sr);
chain.doFilter(request, responseWrapper);
out.flush();
I am Writing this code ,But output will not come.
Plsssss
try placing chain.doFilter(request, responseWrapper); after out.flush();
Similar Messages
-
I have doubt in Read statement
Hi All.
I have doubt in Read statement .i need to convert following select statement as read statement .how can i change help me.
IF p_field1 IS INITIAL
AND p_field2 IS INITIAL
AND p_field3 IS INITIAL
AND p_field4 IS INITIAL
AND p_field5 IS INITIAL.
SELECT *
FROM zdbt
INTO TABLE itab
WHERE field5 = p_field5
ORDER BY PRIMARY KEY.
IF sy-subrc <> 0.
MESSAGE s035.
ENDIF.
ENDIF.
regards,
Jay.hi
The READ statement is as below:
When u have a table already with values and to improve the performance u need to use this.
Reading Lines of Tables
To read a single line of any table, use the statement:
READ TABLE <itab> <key> <result>.
For the statement to be valid for any kind of table, you must specify the entry using the key and
not the index. You specify the key in the <key> part of the statement. The <result> part can
specify a further processing option for the line that is retrieved.
If the system finds an entry, it sets SY-SUBRC to zero, if not, it takes the value 4, as long as it is
not influenced by one of the possible additions. If the internal table is an index table, SY-TABIX
is set to the index of the line retrieved. If the table has a non-unique key and there are duplicate
entries, the first entry is read.
Thanks
Shiva -
hi i just got my replacement iphone5 but i am not satisfied that because the battery backup is worst and the one of the speakers have not working so i have doubted that its a brand new or refurbished one. i replaced it in the warranty period
thanks for the information about speakers. and i mean the battery back up the battery i always getting lower even im not use. and can u pls tell me how to check this as a brand new or not. b'coz in the store they gave me replacement phone without boxing. the phone was coverd by wrap and they never give any receipt for this
-
I have doubt in pp module....
i have doubt in pp module....
i want to know relationship between pp tables (s901,s902,s903,s904)
and bomtables (mast,stpo,stko,stas)
because the material(element) available in pp tables is not
exists in bom tables.
key: plant,material,sub material
i thought that data pbm in bom tables....
i want to clear that all ( plant,material,sub material) records
must available in bom tables.....
in my system....
( plant,material,sub material) records available in pp tables.
but not in bom tablesSTKO BOM - header
STPO BOM - item
STAS BOMs - Item Selection
STPN BOMs - follow-up control
STPU BOM - sub-item
STZU Permanent BOM data
PLMZ Allocation of BOM - items to operations
MAST Material to BOM link
KDST Sales order to BOM link
Check these tables.... -
macbook pro 2010 with 2.4 Ghz intel core 2 duo can i upgrade to mountaion lion ,i have doubts that it becomes very slow
Welcome to the Support Commuities. See under Supported Models here:
OS X Mountain Lion Technical Specifications
...Although your MacBook Pro is supported, it may be advisable to wait until OS X 10.8.1 or 10.8.2 in order to avoid the possibility that your Mac slows down due to bugs in 10.8.0. -
I have doubt regading...response.sendRedtrect,
Hi,
I have doubt regading...response.sendRedtrect,
That is, it possible to send Session object, one server to another server..using response.sendRedirect.
i would very thankful to give this answer,
Thank you
RameshTo my knowledge, response.sendRedirect will be a fresh request. So a new Request object will be created and you will lose all information that you had in your previous request object, including session.
-
Help! I have no upper filters listed. So what am I supposed to do? My CD Rom won't work. I have Windows Vista.
No upper filters is usually not a cause for alarm, but see this: http://support.microsoft.com/kb/314060
{---------- Please click the "Thumbs Up" to say thanks for helping.
Please click "Accept As Solution" if my help has solved your problem. ----------}
This is a user supported forum. I am a volunteer and I do not work for HP. -
Does Photoshop Creative Cloud have the same filters as 5.5?
Does Photoshop Creative Cloud have the same filters as 5.5?
TonyThen it's either stolen or salvaged from another phone.
As you've already been told. The iPhone is NOT considered user servicable and there are no legitimate sources for iPhone parts.
You'll have to look elsewhere for help. -
Hello sir, Hello sir. Plz clarify me... My frnd have iphone 5s sealed pack. He purchased it from uk..he told me the phone is unlocked..but i have doubt phone is locked or unlocked..plz help me how can i know phn is locked or unlock???
hellow sir i have iphone 3gs but its unofficely unlock .
can i update my iphone ? -
Hi all,
I have doubts in interface . You please help me.
My question was
i have two interface. and also i have only one method in both interfaces.these method are same name in both interface
Now i implement these interfaces in my class it's work properly. it doesn't through exceptions.
But i have changed the return type of methods,
ie i put int for one
and void for another one.
it throws exceptions . duplicate method access.
how to i solve this problem? did u catch my point?
please help me Advance in thanks.i have two interface. and also i have only one
y one method in both interfaces.these method are same
name in both interface
Now i implement these interfaces in my class it's
work properly. it doesn't through exceptions.
But i have changed the return type of methods,
ie i put int for one
and void for another one.
it throws exceptions . duplicate method access.
how to i solve this problem? did u catch my point?Yes I caught it. The solution: don't do it. Methods differ by name and argument type list. Return values are not looked at.
Another solution: have the methods take different arguments. Or rename one of them. -
Have doubt?? Can any one clear it
Hi guys i have doubt.It will be nice if
some one clears it
around.
Question:
when making a connection to the database using
ConnectionPooling should we close
connection,statementobject and resultSet.
like this(this is the way i am doing too.)
try
---opening a connection,rs,stmt
other code
}catch() {
finally{
if(rs!=null)
rs.close();
if(stmt!=null)
stmt.close();
if(conn!=null)
conn.close()
Doubt:
Is it not Sufficient to close the connection.Can any one
explain in detail why resultset and statment should be
closed.From my understanding, close releases resources on the object, so I would suspect that each DB driver implements their resources independently. It would be DB driver specific if closing the connection would cascade the resource cleanup to any objects that were created within that connection. I perform the same logic you do at the end of my DB calls. I have each in a try/catch since close throws SQLException, and I would prefer if each got the chance to execute. I don't do anything with an exception if close fails, because there really isn't anything you can do.
try {
...something to DB
}finally
try {
if(rs != null )
rs.close();
}catch(Exception e){}
try {
if(cursor != null )
cursor.close();
}catch(Exception e){}
try {
if(conn != null )
conn.close();
}catch(Exception e){}
} -
I have developed some code in standard SD userexit for VA01 tcode for my own functionality.In standard SD userits some zincludes are there in that include i wrote a code for my requirement.My requirement was successfully worked.But my doubt is if someone use same tcode va01.In this situation my requirement was globally imacted to others or not? Please clarify my doubt.Userexits means without modifying the SAP standard functionality we can add our own functionality.
Hi Sujatha,
Userxits allow us to add our own functionality to SAP standard program
without modifying it . These are implemented in the form of subroutines and hence are also known as FORM EXITs. The userexits are generally collected in includes and attached to the standard program by the SAP. Or
when there is a need for customization, then we require User Exits. This is ABAPer Job..he will find User Exits in SMOD Transaction and impliments it in CMOD Transaction. Customisation in the sense, changing the sap standard program.
You can more detailed information in these links about user exits.
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://sap.niraj.tripod.com/id21.html
Hope this is helpfull.
If helpfull rewad poins.
Thanks and Kind Regards
Mohan -
Hi all i have doubt in time management
Hi All,
I have a doubt in time management,
Q) If in a enterprise diversified daily work shedule are there, i.e if aemployee is working 4hrs a day & other is working 6 hrs per day, & other is working 1 day a week and the client does not want these many of work shedules.
What advise you give to the client
if any body give the answer
Thanks nad regards
srinivasHi Srinivas,
If your client is persistent of not wanting too many work schedules, Flexible Work Schedule will resolve your issue.
- assign a Flexible workschedule(planned working time is 24 hrs 0:00-24:00) for all these kind of employees.
- I hope you know the effects of Flexible workschedules- Then you need to desing your schema as positive time eval
If your client does not like this idea, as others suggested no essay way ...
Hope this will work.
thanks
Mahesh -
How can I have user specific filters for information display on portlet?
Hello Everyone !!!!!
I am new to the Portlet World
My query is..
How can I have filters on a portlet screen ?
I want to display certain information on a portlet which must be filtered and ordered.
Example:
In Internet Banking , I want to display transfers which had happened in the last month. So I ( as a user ) will keep this predefined somewhere may be in portletData.
Whenever that user logs in for the next time, he will be able to view account transfers taken place in the lastest month only.
This must be user specific. As another user can keep the setting in a different way. That is he/she might want to view account transfers for the last week only.
When user clicks on a button a new screen( filter screen ) is loaded where he need to enter the dates of From and To .....
The user saves this.....( may be in portletdata)
So that when he logs in .. next time screen loads with the defined settings in filter....
Any idea ? How can this be achieived ?
Thanks in advance.... :-)
Wating for a reply
Message was edited by:
dev2007Hey !!!
Can anybody give me some idea regarding this ? -
I have lost some filters.
I have Elements 4 and am on a mac (osx) The filter gallery is grayed out, and only some of the filters are available.
Hey,
What color mode are you images ? Check the color mode by choosing Image>Mode
Some Modes deactivate some filters :
1. Index
2. Lab Color causes the Brush, Artistic, Sketch and Texture filters not to work.
3. RGB, 16-bit, same as above
4. RGB, 32-bit, causes even more filters to deactivate themselves
5. CMYK, 16-bit, same as (2) above
Maybe you are looking for
-
By default, how to enable Uppercase/Lowercase Checkbox in se37
Hi, I am using SUSR_LOGIN_CHECK_RFC bapi/rfc module to check Password for the corresponding User.This function module is working fine whenever Uppercase/LowerCase Checkbox is checked.If it is not im getting wrong password as the error msg. Tell me
-
Management of Global Employees not getting activated
Dear All, I have activated the Management of Global Employees by maintaining the system switch CCURE-GLEMP as X. But when I am trying to access the infotypes maintenace for global assignment such as 702,703,705 etc, I am getting th error that "Infoty
-
Best safari version for OS 10.2.8 ?
Hi, I have an old pismo powerbook running OS 10.2.8 (jaguar) and I want to upgrade my version of Safari. Right now I am using Safari 1.0.3, but I can't find any way to download a newer version. Ideally I want a latest version of Safari, but I'm start
-
i need help to find out how this woks it's my first time having one.
-
Quality/settings issue?
Recently I made copies of 8 cds that I had imported into iTunes 10 and was disappointed to find that (upon playback) that nearly half of them had sections that dropped out or skipped. They sounded much like old vinyl records when they would skip. I u