Query regarding attributes in web application
Hi Forum,
1. We have Session Attributes which are available through out the session for an user in web application. These can be set by session.setAttributes and can be accessible by session.getAttributes in application either in JSP or Java Class
2. Then we have request paramaters which are available in request just like session variables they are accessible.
I wanted to know that ,is there any method through which the attributes can be set or retrieved through out the application(in JSP and Java class both) for every user?Unlike session variables, they disappear after session invalidates.
Nitin
Please don't repost/crosspost the same question over all places. That question is already answered before: [http://forum.java.sun.com/thread.jspa?threadID=5309515]. I also already answered your doubleposted question before: [http://forum.java.sun.com/thread.jspa?threadID=5309848]. If you don't understand it, please respond so instead of brainlessly posting a new topic. Your crosspost is also already answered: [http://forum.java.sun.com/thread.jspa?threadID=5310907].
Similar Messages
-
Dynamic image display (based on variable attribute) in Web application?
Hi experts,
I am using a Web Template (from the Web application designer) based on a BEx Query.
This web template displays a logo (jpg image) and the report.
Is there a way to add another image to my web app and having the right logo displayed depending on a characteristic (sales organization for example) chosen in the variable screen (before the first rendering)?
Thanks for your help.
Points will be given to useful answers.
Cheers,
OlivierThanks for your helpful answers guys.
Andrey's tutorial helped me to catch the sales org variable value in a variable named salesorg (Script Item in the web template as well as Data Provider Info Item).
Now could you explain how/where to use this variable to swith images? Is this still in the same Script_item where i should be able to "hide" / "show" the following XHTML tag?:
<img etc ....... img<
Thanks for your help, I'm a bit confused on this last point (and not so comfortable with Java Script).
Olivier
Edited by: SAP_BW_USER_49 on Nov 23, 2011 3:32 PM -
Query regarding accessing of Webdynpro application from a non-SAP system.
Hi,
I have developed a webdynpro application and I want the users from non-SAP systems to access it from their browser. User will not have to enter the username and password of the SAP system. How will I achieve this? Any suggestions?Hi Anirban,
you can assign a user in the service of your web dynpro application.
Call transaction SICF and open the service to your web dynpro application.
Within the tab "logon data" you can enter a user/password.
You should not assign a dialoug user.
For productive environment, have a look at all the other options like SSL
and maybe you have to do some more configuration to make it secure!!!
Keep in mind, that all "internet" users are working now with the same SAP user/authorization.
Kind Regards,
Andreas -
Query regarding attributes v/s properties.
1.) Can we use properties as attributes in Java objects instead
of instance or static variables?
2) If so,what are the advantages of using properties?
3) Can you please give me an example of using properties as attributes
in a Java class?
Thanks,I am looking into a 3rd party code.This object is using marker interfaces as properties and using getter and setters.
public class Aim
public enum Property implements PropertyInterface {
LOCATION;
public SortedSet<Location> setLocations(SortedSet<Location> locations) {
public SortedSet<Location> getLocations() {
}Location is an object by itself.
I was wondering about the why this style is being used? -
Expert on web application designer comes in!
Hi Colleagues,
Here is an issue on the web application designer. i want to use the exception showing function (red light, green light) with the help of the web application designer. So firstly, i set some exception in the query and on the web application designer, i choose "exception visualization" as "symbol". Then i save the web query and execute, the exception shows, but in a arrow trend way, not the red light or the green light. It seems that the tool has by defult set arrow trend as the 'symbol'. But from the exception details, i find there are 2 options for 'symbol': status (one i want) and arrow trend. How can I change the default setting? Thanks.
If necessary, we can have a netmeeting.
Urgently waiting for ur reply.
Best Regards,
ClarkHi Clark,
You have to implement the module com.sap.ip.bi.rig.ExceptionImage.
Select the Analysis Web Item -> Web Item Parameters -> Internal Display
Select Modification -> Single Module
Implementation Name: com.sap.ip.bi.rig.ExceptionImage
Select Type as Generic Module
Set the Parameter Name based on the Alert Level set in the Query Exception.
For example :
Green u2013 ALERT_3 (Alerts 1 to 3)
Yellow u2013 ALERT_4 (Alerts 4 to 6)
Red u2013 ALERT_8 (Alerts 7 to 9)
Since you want to display the Traffic lights in the Web Report, select Image as the Value from the dropdown box.
Provide the URL for the images stored in the MIME Repository depending on the Alert Level.
Green - bwmimerep:///sap/bw/mime/BEx/Icons/s_s_ledg.gif
Yellow - bwmimerep:///sap/bw/mime/BEx/Icons/s_s_ledy.gif
Red - bwmimerep:///sap/bw/mime/BEx/Icons/s_s_ledr.gif
The images will be stored in SE80 -> Mime Repository under SAP -> BW -> BEx -> Icons
Green - s_s_ledg.gif
Yellow - s_s_ledy.gif
Red - s_s_ledr.gif
The Exception Visualization drop down in Cell Content Area of the Analysis Web Item should be set to display Symbols.
If this is not set, the Report would continue to display Exception Colors in the cell background.
Hope this helps.
Regards,
Hari.
Edited by: Hari Krishnan K on Aug 12, 2010 11:05 AM -
Prevent values being passed using Link Item on Web Application Designer
Hello all,
I have a question regarding 7.0 Web Application Designer. I am using the web item Link Item and using the command OPEN_TEMPLATE_DIALOG to open a new WAD Template BUT I do not want to pass the values from the original WAD template to the new one. Is there a way to restrict passing any values to the new template? Am I using the correct command OPEN_TEMPLATE_DIALOG?
To better describe what is happening, my characteristics and key figures are being passed from my original WAD template to my new WAD template when using the OPEN_TEMPLATE_DIALOG. I do not the values to be passed, only to open up the new WAD Template with its own reports.
Thank you.Sorry maybe I mistated the problem. I do not have an issue with the variable screen when transitioning to the second WAD template screen, I have a problem due to the values from the first WAD template being passed to the second WAD template.
My first WAD template using the Link Item is only for the ability to click on the text to open up a second WAD template which I do not want the values to be passed from the First template.
I hope this clears up the confusion.
Thanks -
Which is better to use: BEx query or Web Application as an iView in portal?
Hi gurus!
Are there any experienced opinions, which is better - publish a BEx query in portal or publish a BEx Web Application in portal? Is it easier to alter the layout attributes etc. if I create a BEx Web Application first before publishing?
What is the way of fixing for example filter item height if I publish BEx query in portal - is there a Web Application that it uses anyhow which I can fix? Or can I use in that case iView -properties in portal?
Thankful for advice
Sariok, means i can use jsp:useBean tag for all my
classes that are not actually bean. so it will be
instantiated at run time and provide efficiency .No. Jsp:useBean is used for java bean components.
>
but when should i use import statement in my jsp and
it happen at translation time so will it create any
type of burden for my code if i import multiple
classes.For non-java beans, you need to import the classes, period.
It's not a burden, it's a necessity. -
No authorization for query/Web application assigment in roles
Hi All,
in order to clean/reorganize our roles, I have to clean some query/Web application/Workbook assignment in roles. After I have loged in into BEX Browser I have cleaned/moved some objects from roles. But it seem that I have not all necessary rights to do that.
Which is the relevant authorization object which I need to change query assignemnt in roles?
Is there an other way to add/remove queries/Web applications from roles?
Any help would be great. Thanks in advance.
Best regards,
Stefanos from Munich/germany.Hi,
try : S_USER_AGR
hope it help's -
Web Application: Display attribute in text element
Dear all,
we want to display an display attribute (0RESP_PERS as of 0COSTCENTER) in the header area of an web application. Therefore I tried to use an text element. I'm able to display the cost center itself, but haven't found the opportunity to display the related responsible person.
Any ideas?
Thanks in advance.
Best regards,
DanielHallo Daniel
were you able to solve your problem?
I have the same requirement - display the cost center owner (attribute) of a cost center (characteristic) in a web template. I'm using NW2004s with the BI 7.0 front end tools.
Thanks in advance.
Best regards,
Jürgen -
Hi All,
Want to get the number of hits in a day for a web application with IIS logs. so need to know Query for log Parser to get number hits in a day or week for particular web applications or site collection. Kindly help
Regards,
NaveenI'm trying to get this from WSS 3.0, Hence using the Log Parser
-
Web Application Designer ver 3 vs Standard Web base on Query designer
Hi All,
*. How to get the detail information regarding the standard template that have been created by SAP when we click the button 'Display Query on the Web'
The standard template quiet useful , however we trying to make the graph bigger.
*. In Web application designer, we put 1. Generic Navigation Block, Table and Chart. But we cant find how to make Generic Navigation block and table in same row as it is shown in standard template.
Please Advice.
Cheers,
NiesHi,
Please check the URL:
http://help.sap.com/saphelp_nw04/helpdata/en/1d/499d398b45160ae10000000a11402f/frameset.htm
Thanks,
Venkat -
Starting a Web Application out of WAD from menue "Query/Execute" ...
Dear colleagues,
starting a Web Application (let's say its the template "BTMP_001") out of the Web Application Designer from menu "Query/Execute" starts the Web Query Analyzer instead of the Template "BTMP_001".
The URL looks like: http://<xxxxx>.<yyyyyy>.<zzzzzz>.com:<Port>/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=BTMP_001&DUMMY=0
Does somebody have any hint? Why I allways get the Web Query Analyzer althoug the end of the URL shows the technical name of my web application?
Thanks for any help!
opProblem solved!
-
SQL Azure: Query Analyzer VS Web Application - Calling Stored Prcocedure
I have a stored procedure in SQL Azure.
Calling this stored procedure normally would take 30 minutes.
I need to call this Stored procedure multiple times (18 times, with different input)
Scenario 1: When I call this asynchronously from the Web Application, all 18 calls run concurrently so the whole process take about 30 minutes.
Scenario 2: When I call this same stored procedure from Microsoft SQL Server Management Studio, (each process in a different TAB) they seem to be running very slowly, it has already taken more than 5 hours.
Is there a reason for this ?
Is there any difference in calling multiple stored procedures from different tabs ?
Is this process running Asynchronously ?
What is the best was to achieve scenario without going via the front end ?Is there a reason for this ?
--When you are running the query, no matter application or SQL Server, please check sys.dm_exec_requests and check the session status in SQL Server and see if any difference.
Maybe it is caused by blocking when running in SSMS. We need to dig into it.
I am not sure how you call the procedure asynchronously in application, but if they are sent to SQL Server within different connections/sessions, then it should be the same as SSMS.
Is there any difference in calling multiple stored procedures from different tabs ?
--No.
Is this process running Asynchronously ?
--When you start the procedure in SSMS, it is a synchronize session.
However, the slowness should not be associated with the synchronization or not.
Per my understanding, for the asynchronously calling in application, it simply means that application goes to execution other code without for SQL Server.
This does not affect the real time cost in SQL Server.
What is the best was to achieve scenario without going via the front end ?
--We need to understand what cause the issue first. Normally they should be almost the same.
Right now the procedure caused 30 minutes to complete and it is really too long. I think you'd better make adjustment to the code or logic to tune the performance first. -
How to suppress Result rows in a Query in Web Application Designer
Hi
I am trying to post a query in Web Application Designer. I am able to run the query in WAD but the Results rows appear. I choose Suppress Result Rows always in All Characteristics option in the query in BEx Explorer but still i see result rows in the WAD. Can anyone please let me know how to suppress Result rows so that they dont appear in Web Application Designer.
Thanks,
PadmaTo get the enhanced menu-
1. Open the template in WAD.
2. Go to Web Item properties.
3. Go to Entries in Context Menu.
4. Find the "Enhanced Menu" property. Set it to "display" if you want it to be visible in template result.
5. Next time when you execute your template you will be able to access it by right clicking.
or
If you just want to supress results without adding enhanced menu in the context menu, simply set "Calculate result as" to "No Display". -
Query Builder in Web application
Hi, I want to develop a web application, which include query builder for database using Jdeveloper nad ADF. In this application must be page with this queries and execute them. The problem is that i have no idea how to realize it, Please help me
Manuals, links and other information would be good.<puts flame shields on>
APEX has this out-of-the box, perhaps that would be a better tool for the job?
<ducks>
John
Maybe you are looking for
-
Inform Customers about debts due without a dunning procedure
Hi, I am looking for a way to inform my customers for due futures payments without starting a dunning procedure or to programm a report. For example: A payment is due within 60 days and after 30 days I would like to send those customers a kindly remi
-
Probably caused by : ntkrnlmp.exe ( nt!KiDoubleFaultAbort+b8 )
I am debugging a minidump file but I am not able to make out if the problem is related to hardware or software? The possible culprit could be “ntkrnlmp.exe” but which thread or process faulted is beyond my understanding. Please can someone help a new
-
Ipod touch is not appearing in itunes, but on my computer as a camera
i'm trying to sych my ipod touch, but when i use the USB cables my ipod does not appearing on itunes. Rather it appears on my computer as a camera.. Please help..
-
When trying to authorize my daughtes ipod classic to a new laptop it pops up and asks for apple id but the email is not one of ours and it will not let me change it is there any way to fix this problem Thanks in advance
-
Hi all, Sorry if this has already been covered! I'll keep it simple....Nokia N8, had it connected to my home broadband router yesterday no problems, disconnected it overnight and today when I go to the 'WLAN wizard' section (in settings), it shows m