Can anyone give me a clear example that how can i make use the session ?
Can anyone pls kindly tell me how can use the session to store the input from one JSP page and use it into another page? I had tried it but it doesn't work? It give me the null value for the session variable on second page....and can anyone one explain the meaning of those "request.getParameter()","session.setAttribute"?
In short, request.getParameter() gets parameters set through HTTP request. This information is passed from client to server once and does not persist.
Servlet/JSP containers allow you to create a session for each different connected user. Session (HttpSession) is maintained by the container and accepts attributes. When you say session.setAttribute("myAttr", myObject); you are storing myObject value under myAttr key in the session. This session object may persist among HTTP calls. Hence calling session.getAttribute("myAttr"); you get myObject within the same 'session'.
See: http://java.sun.com/webservices/docs/1.0/tutorial/index.html
Similar Messages
-
I am trying to retrieve my photos from my I phone 4s because the screen is smashed. The pc that I use is windows not an apple computer. Can anyone give me step by step instructions how I can get my photos? Also, I don't have icloud
If the iPhone is still working and the photos are in the Camera Roll (i.e., taken on the iPhone) then, when you connect the iPhone to your PC, it should be recognized as a Camera and Windows should start AutoPlay.
See this http://windows.microsoft.com/en-us/windows/get-pictures-camera-computer#1TC=wind ows-7 -
I have recently purchased an ipad air and want to download cdg karaoke files from my laptop how do i do this. and can anyone recommend a karaoke player i can use when doing my gig's. cheers
Try here > iTunes Store: Transferring purchases from your iOS device or iPod to a computer
iCloud doesn't support movies...
iCloud backs up your:
Purchased music, TV shows, apps, and books
Photos and video in the Camera Roll
Device settings
App data
Home screen and app organization
Messages (iMessage, SMS, and MMS)
Ringtones
From here > Apple - iCloud - Store and back up your content in iCloud. -
Can anyone give me a clear picture regarding standard document types?
Hi DMS Experts,
What are the main use of the std doc types - EBR,D01,Q01 and Q02 . I know that EBR is for batch input , D01 for print list , Q01 for Quality Agreement and Q02 for Technical Delivery Team . They are non editable and can be created after deleting only . For D01, I have found that Alternative screen is 902 and Alt screen exit is 'OADVS902'.
and for EBR , it is '903' and 'PPPIF903' respectively.
Are these values mandatory for the doc types EBR and D01. Also I have seen that for the above doc types,Kpro content server is not checked.
Can we store them in Kpro content server also..?
Thanks and Regards
AravindHi,
I think, you can't change the standard settings. You should create your own custom doc type.
Read the below thread also:
http://scn.sap.com/thread/1244212
Regards
Shishir -
Can I give my copy of FCE that I'm no longer using to a friend?
I am using FCP, and wonder if I can give FCE to a friend who wants to get started.
Yes, indeed, as long as you completely uninstall it from your machine. Make sure to include the original docs, particularly the serial number stickers.
-
I have a godaddy.com Domain and hosting acc. I have uploaded my composition into the FTP File Manager for my domain. I placed them in the html folder GoDaddy has in there by default. All the files are included, as well as the edge_includes folder and the Images folder (Not that I have imported any..) and when i attempt to view the page I get nothing but an error 404 message. I attempted to place a regular html file into the folder to see if the issue was with godaddy.com but it worked just fine. Any help would be greatly appreciated as I need this site up within the next two weeks. Thanks in advance.
A thought:
You guys are 'uploading' or 'publishing' the files to the public_html directory yes? ... when you log into GoDaddy FTPs you are presented with a lot of backend folders ... you need to select the public_html folder then put ALL of your website files in that folder ...
Also ... delete the default files and put your new files up ...
cheers
GemBro -
I would like step by step help for transfering my photos from my IMAC to my MACBOOK .They both have same operating systemas well as same version 10.6.8
ThanksCopy them to a disk/external drive/flash drive ro any other medium and then copy them to the other computer.
Or e-mail them.
Or connect the computers via firewire and transfer them. -
I want to move my iPhoto from my internal hard drive to an external hard drive to free up space. Can it be moved entirely and function the same as before with all features and the software itself on the hard drive? Also, can anyone give step by step instructions on how to do this? I'm having a difficult time figuring this out on my own by trying to search through Apple support.
Oops...
Here you go...
iPhoto: How to move the Library to an EHD
Make sure that the EXT Drive is formatted as Mac OS Extended (journaled).
That's what iPhoto Likes... -
Can anyone explain this behavior and tell me how to fix it?
Using NetBeans 6.5 on Windows, Glassfish v2.1
I have a JSF application with a page that has a tab set.
On one of the tabs I have a panel with company information.
One of the components on the page is an InputText field with the value bound to a session bean variable.
The tab also has an Add button.
Here is what the JSP looks like for the input text and button components
<h:inputText binding="#{MainPage.companyNameTF}" id="companyNameTF" readonly="#{SessionBean1.readOnlyFlag}"
<h:commandButton action="#{MainPage.mainAddBtn_action}" disabled="#{SessionBean1.disableEdit}" id="mainAddBtn"
style="font-family: Arial,Helvetica,sans-serif; font-size: 14px; font-weight: bold; left: 425px; top: 380px; position: absolute; width: 75px" value="Add"/>
This is all plain vanilla stuff and I would expect that when the Add button is pushed, the session bean property would be filled with
the value entered in the input text field.
In the java code for the page, I have a method to process the Add button push.
Originally, it just called a method in the session bean to check that a value was entered in the input text field by checking the bound
session bean property.
For some reason, that was not getting filled and I was getting either a null or empty string rather than the value in the text field.
I added some checking in the method that processes the Add button push so I could check the values in the debugger.
Here is a sample of that code:
public String mainAddBtn_action() {
String s = sb1.getCompanyName();
s = (String)this.companyNameTF.getValue();
s = (String)this.companyNameTF.getSubmittedValue();I check this in the debugger and NONE of the variants that I have listed have the value that was entered into the text field.
The submittedValue is null and the others are empty strings (that is what they were initalized to).
This is all pertty straight forward stuff and I am at a loss to explain what is happening.
Can anyone expain this behavior, and, most important, how can I force the values to be present when the Add button is pushed.
I have never experienced this problem before, and have no clue what is causing it.
Thanks.Basically, the component bindings are just being used in plain vanilla get/set modes.
I set them to "" when I do a clear for the fields and they are set to a value via the text field.
No other action other than to read the values via get to insert them into the database.
And, I always use the get/set methods rather than just setting the value directly.
This is what is so strange about this behavior - I have created dozens of database add/update/delete pages using this same model and have not had a problem with them - even in a tab context.
Not a clue why this one is different.
I did notice that I had an error on the page (in IE7, you get a small triangle warning sign when something is not right).
I figured that might be the problem - maybe buggering up the rendering process.
I tracked that down and do not get that anymore (it had to do with the PDF display I was trying to get working a while back), but that did not resolve the problem.
I don't think there are any tab conflicts - none of the components are shared between tabs, but I will see what happens when I move a couple of the components out of the tab context.
I noticed that it seems to skip a cycle. Here is what I can do.
1) Fill in text fields and add a record - works fine the first time.
2) Clear the text fields
3) Enter new data in the text fields and push Add
4) I get an error saying fields are blank from my data check process.
5) Enter new data and push Add - the record is added with the new data.
My work around is to not enter data in step 3 and just accept the error message in step 4, then go ahead and enter the real data in step 5.
Very ugly, but it works every time. -
Can anyone give me an example for crm_svy_..._pai?
Hi all, I have a survey, there are several questions. After I input the answers, I click the 'CHECK' button, I will check the answers. There will be different response to my answers. If the answer is not correct, I will post an error message.
And I also need to retrieve data from tables to fill the blank.
I am a beginner for CRM survey, can anyone help me? I create a FM:crm_svy_..._pai, and code in it right? But how can I do it?
Can anyone give me an example for crm_svy_..._pai to do what I need?
Many many thanks in advance!!
Heare is an example, but I don't its function and how does it work..
read table lt_all_values into ls_value
with key answer_id = 'get_value'.
if sy-subrc = 0.
data: lt_values type crm_svy_api_string_t.
append ls_value-value to lt_values.
call method ir_survey_values->values_set
exporting
i_question_id = 'set_value'
i_answer_id = 'set_value'
it_values = lt_values.
endif.Hi Yu,
Could you tell how you solved your issue?
Regards and tx in advance,
Mon -
I have the Droid X2 .. can anyone give me a clock/weather app that works?
I have a Droid X2 ,, can anyone give me a clock/weather app that works?
I personally like Fancy Widget on the Market. They have so many different clocks there it's unreal. Plus, I can put my clock and weather together! I hope this helps. I have the LG Revolution and there is a picture of mine with the app on.
-
I want to buy a refurbished 'Macbook Pro' solely to use 'protools 8' on-nothing else!.
I am being told there are only certain year Macbook Pro that will run this programme.
I know I need 8gb, can anyone give me advice on what to buy/look for please?It appears to depend upon the version you will be using:
http://avid.force.com/pkb/articles/en_US/Compatibility/en352429
Based on what I can tell, you may have to go to the second hand market in order to get a MBP that will run a compatible OSX.
Ciao. -
Can anyone give me examples of replacement path with query?
hi all,
Can anyone give me examples of replacment path with query. if u have any docs pls send it across to my email id [email protected]
thanxs
hariHere is an example:
Lets assume you have a characteristic( Say Project) with about 30 attributes. now your requirement is to display all 30 attributes and about 10 keyfigures and another characteristic and it's attributes...
If Project has about 25K projects in a Year,you will find its very difficult to diasply all the inofmation with one Query.(you may get disconnected from server after executing the query)..
So firstly,create a Query1 only with Project and keyfigures.
then create another Query2 only with Project and its attributes...here create a variable on Projeect with replacementpath and select the Query1.So you will have the Projects only from Query1.
Create Query3 with Project and other chars.create one more variable on Project with replacementpath select Query1 result. So this Query also gets Projects from Query1...
Now Query2 and Query3 get Projects from Query1 always...so you will have same Projects in your all 3 Queries..
Now crate a workbook and insert 3 Queries.make sure you insert Query1 lastly.Since last inserted query will be executed first...
You may use VBA or excel functionality if you want to see whole data in one sheet.
Hope this helps. -
Can anyone give me an example of direct, queued and unserialized delta?
hi all,
Can anyone give me an example of direct, queued and unserialized delta for fi and sd applications.
thanxs in advance
regds
harihi,
Update Methods,
a.1: (Serialized) V3 Update
b. Direct Delta
c. Queued Delta
d. Un-serialized V3 Update
Note: Before PI Release 2002.1 the only update method available was V3 Update. As of PI 2002.1 three new update methods are available because the V3 update could lead to inconsistencies under certain circumstances. As of PI 2003.1 the old V3 update will not be supported anymore.
a. Update methods: (serialized) V3
Transaction data is collected in the R/3 update tables
Data in the update tables is transferred through a periodic update process to BW Delta queue
Delta loads from BW retrieve the data from this BW Delta queue
Transaction postings lead to:
1. Records in transaction tables and in update tables
2. A periodically scheduled job transfers these postings into the BW delta queue
3. This BW Delta queue is read when a delta load is executed.
Issues:
Even though it says serialized , Correct sequence of extraction data cannot be guaranteed
V2 Update errors can lead to V3 updates never to be processed
Update methods: direct delta
Each document posting is directly transferred into the BW delta queue
Each document posting with delta extraction leads to exactly one LUW in the respective BW delta queues
Transaction postings lead to:
1. Records in transaction tables and in update tables
2. A periodically scheduled job transfers these postings into the BW delta queue
3. This BW Delta queue is read when a delta load is executed.
Pros:
Extraction is independent of V2 update
Less monitoring overhead of update data or extraction queue
Cons:
Not suitable for environments with high number of document changes
Setup and delta initialization have to be executed successfully before document postings are resumed
V1 is more heavily burdened
Update methods: queued delta
Extraction data is collected for the affected application in an extraction queue
Collective run as usual for transferring data into the BW delta queue
Transaction postings lead to:
1. Records in transaction tables and in extraction queue
2. A periodically scheduled job transfers these postings into the BW delta queue
3. This BW Delta queue is read when a delta load is executed.
Pros:
Extraction is independent of V2 update
Suitable for environments with high number of document changes
Writing to extraction queue is within V1-update: this ensures correct serialization
Downtime is reduced to running the setup
Cons:
V1 is more heavily burdened compared to V3
Administrative overhead of extraction queue
Update methods: Un-serialized V3
Extraction data for written as before into the update tables with a V3 update module
V3 collective run transfers the data to BW Delta queue
In contrast to serialized V3, the data in the updating collective run is without regard to sequence from the update tables
Transaction postings lead to:
1. Records in transaction tables and in update tables
2. A periodically scheduled job transfers these postings into the BW delta queue
3.This BW Delta queue is read when a delta load is executed.
Issues:
Only suitable for data target design for which correct sequence of changes is not important e.g. Material Movements
V2 update has to be successful
hope it helps
partha -
I just noticed that when I talk on skype, my friends can not hear me as clear. I went to sound setting on the mac and noticed that my voice was getting picked up to good regardless of chaning the setting. Has anyone got any idea??
Basic troubleshooting from the User's Guide is reset, restart, restore. Has any of this been tried?
It is possible that dropping the device has caused the issue.... regardless, it's unlikely Apple would do a warranty exchange since there is obvious user damage.
If basic troubleshooting does not resolve the issue, take it to an Apple store for evaluation... if determined to be a hardware issue and you ask nicely, they may be able to assist you, but they may also only provide the option of an Out of Warranty replacement.
Maybe you are looking for
-
How to use two different accounts in iTunes
I have purchased apps under two different email accounts and I am now unable to use the initial account. Having deleted some apps because of problems, I am recharged for the apps because apple will not accept the original password and user name. Wh
-
I was being able to watch facebook videos from my ipad, and since i updated my IOS to 7.1.1,i dont know if it has to do with that but now i can no longer see any facebook videos
-
Error DBMRfcCommuncicationError at DB Instance CreateObject
Hello! I would like to set up the MTE MaxDB to monitor the SAP DB from SAP Solution Manager. If Itry to execute DB50 --> Properties I get the error "DBM_CONNECT". Error DBMRfcCommuncicationError at DB Instance CreateObject How can i activate the MTE
-
Hi, Is it possible to use Group By in the Result list? I can't find it in the configuration panel, but maybe this is possible in another way. Thanks!
-
Hi All, I have to build a conditional rule file. I have a huge data in an excel file . Based on two column values , I have to map the data to a different member in the outline. Example : In the excel file , If Col1 = 4321 OR 5443 OR 8766 and Col2 = 7