HotKey based Web application

I want to insert "Key Listener" to my Servlet/JSP/JSF, help....

If you want to have a webapplication where the user can type key combinations and the application will respond, look at the accessKey attribute in HTML. You can define that on your button or link and the link will be executed on some user action like [ALT]+[S]
Hope this helps.

Similar Messages

  • SSO from portal to Java based web application not happening

    Hi,
    We are trying to configure SSO from SAP Enterprise portal with Java based
    web application(Solaris on SPARC 64 bit).
    Then we downloaded library files for "Solaris on SPARC 64 bit" from
    service market place from the path "Support Packages and Patches"
    Additional Components" SAPSSOEXT".
    We are successful in sending the portal side cookie to the application.
    But while loading the library files we get the following error
    INFO | jvm 1 | 2009/04/13 04:47:00 | java.lang.UnsatisfiedLinkError:
    /usr/local/blackboard/apps/tomcat/lib/libsapssoext.so: ld.so.1: java:
    fatal: /usr/local/blackboard/apps/tomcat/lib/libsapssoext.so: wrong ELF
    class: ELFCLASS64 (Possible cause: endianness mismatch)
    Can you please suggest us what went wrong in this whole process.
    But when i tried with the 32 bit library files i was able to load libsapssoext.so file but when I
    tried to initialize libsapsecu.so i got the below message
    java.lang.Exception: MySapInitialize failed: rc= 14
    Also do we require to take"SAPSECULIB" from Support Packages and Patches" ...>Additional Components" ...>SAPSECULIB" ...>SAPSECULIB 5.4  for this SSO activity.
    Please get back on this ASAP as we are nearing the golive date.
    regards
    Bharath

    hi,
    am facing similar issue... i.e.
    java.lang.Exception: MySapInitialize failed: rc= 14
            at com.mysap.sso.SSO2Ticket.init(Native Method)
            at com.mysap.sso.SSO2Ticket.<clinit>(SSO2Ticket.java:27)
            at org.apache.jsp.index_jsp._jspService(index_jsp.java:92)
            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
            at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
            at java.lang.Thread.run(Thread.java:619)
    static beendet.
    java.lang.Exception: MySapEvalLogonTicketEx failed: standard error= 9, ssf error= 0
    CustomeSSO: Object is null.
    pls. help me in resolving it.
    rgds,
    santosh malavade

  • Browser based InfoPath form deployed on a Claims based Web Application calling a Secure Web Service via Data Connection

    hi,
    We have a Browser based InfoPath Form deployed on a Claims based Web Application. We are tyring to call WCF Services that are secure using Certificates via the Data Connections on Infopath Form.
    Earlier we used to get the Data in BCS External List via the WCF Services and the Data Connections used to get the Data from the BCS External List. Due to Performance Issues, we want to remove the BCS External List and straightaway call the secure WCF Services
    via the Data Connections.
    Have anyone implemented this scenario.
    Thanks
    Ram
    Thanks Ram

    Hi Ram,
    As these are browser based InfoPath forms, you have two options 
    1) Deploy as sandboxed forms
    In this case you have to create a secure store application id and then set the credentials for that account.
    You then have to export the data connection to Data connections library and modify the .udcx file to utilize the newly created secure store application id.
    This may sometime give issues related to sandboxed code service. You have to give permissions on the secure store for the user account which the sandboxed code service is running.
    2) Deploy as administrator approved forms
    This would be ideal way of doing things as you have full control over the web request if you write code behind InfoPath forms.
    3) Deploy as a Hybrid solution
    a) Write a full trust proxy solutions (extend SPProxyOperation class and override execute method) and make the web request call inside this and return the response
    b) Invoke above operation from the sandboxed InfoPath form's code behind by SPUtility.RegisteredProxyOperation(four part assembly name, operation args)
    Hope this helps.
    Thanks,
    Srikanth

  • BC E-commerce integrated with Subscription Based Web Application

    I am considering using BC for my company's corporate website as well as the online store.  We sell a subscription based web application which will have 3 or more flavors (products) and will need to bill customers on a recurring monthly or annual basis.
    For the monthly subscriptions, we want to bill the customer based on the "highwater" mark with regards to user quantity for that given month.  This gives the users the flexibility to add/remove users freely without the fuss of having to contact a sales representative to adjust their account/recurring order. 
    I would imagine this would happen one of two ways:
    The user signs up creating their account both in our web application and the ecommerce site and is billed for the first time.  In the ensuing months, either: the e-commerce site communicates with our web application to get the high water mark quantity for that billing cycle or
    Our web application sends a new order each month to the e-commerce site, including the highwater mark quantity, giving the illusion to the user that it is indeed a recurring order but behind the scenes they are actually individual orders.
    Annual subscription customers are a bit more challenging.  We still want the users to have the flexibility to add/remove users with minimal effort. However, since they are being billed on an annual basis, prorating additional users will be necessary.  So if customer who previously purchased 5 licenses, adds 5 more licenses during month 6 of their annual subscription term, we would need the e-commerce solution to bill them once immediately for the 50% prorated 5 licenses, then bill them 6 month's later for the total 10 license subscription renewal.
    At a bit of higher level, we would prefer the customer to manage all their billing/account info within our web application rather than going to an external store to do so.
    One other caveat, we would prefer not to store credit card info on our site.  Preferably that would be stored in our payment gateway (Auth.net).  This may or may not affect the workflows described above.
    My Questions:
    Can the BC e-commerce solution support the workflows above?If so, is there any documentation/resources available to research this further?
    Are there any BC customers that currently do something similar?  If so, who and how similar?

    Hi Greg,
    From what you have described it seems to me that you need some complex server side logic which BC doesn't allow. In any case you'd have to develop an app that communicates between BC and that other application through our API, which will control the orders as per your requirement. In particular, there's no easy way for end user to control their recurring monthly or annual subscription, there's no way to apply immediate discounts according to earlier purchases that will satisfy this requirement "if customer who previously purchased 5 licenses, adds 5 more licenses during month 6 of their annual subscription term, we would need the e-commerce solution to bill them once immediately for the 50% prorated 5 licenses, then bill them 6 month's later for the total 10 license subscription renewal", you can't build in this functionality into BC " the e-commerce site communicates with our web application to get the high water mark quantity for that billing cycle" and there are few more things there which suggest to me that you need something custom.
    Cheers,
    -mario

  • How to use Crystal report viewer in a portlet based web application

    I am using JRC to view crystal reports in porlet based web application. Following is the code in JSP
    <%@ page import="com.crystaldecisions.report.web.viewer.CrystalReportViewer,
    com.crystaldecisions.sdk.occa.report.application.OpenReportOptions,
    com.crystaldecisions.sdk.occa.report.application.ReportClientDocument,
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase" %>
    <portlet:defineObjects />
    <%
         // This sample code calls methods from the CRJavaHelper class, which
         // contains examples of how to use the BusinessObjects APIs. You are free to
         // modify and distribute the source code contained in the CRJavaHelper class.
         try {
              String reportName = "ProactiveEventsSummaryData.rpt";
              ReportClientDocument clientDoc = (ReportClientDocument) session.getAttribute(reportName);
              if (clientDoc == null) {
                   // Report can be opened from the relative location specified in the CRConfig.xml, or the report location
                   // tag can be removed to open the reports as Java resources or using an absolute path
                   // (absolute path not recommended for Web applications).
                   clientDoc = new ReportClientDocument();
                   //clientDoc.setReportAppServer(ReportClientDocument.inprocConnectionString);
                                  clientDoc.setReportAppServer("inproc:jrc");
                   // Open report
                   clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);
                   // Store the report document in session
                   session.setAttribute(reportName, clientDoc);
              // ****** BEGIN CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET **************** 
                   // Create the CrystalReportViewer object
                   CrystalReportViewer crystalReportPageViewer = new CrystalReportViewer();
                   String reportSourceSessionKey = reportName+"ReportSource";
                   Object reportSource = session.getAttribute(reportSourceSessionKey);
                   if (reportSource == null)
                        reportSource = clientDoc.getReportSource();
                        session.setAttribute(reportSourceSessionKey, reportSource);
                   //     set the reportsource property of the viewer
                   crystalReportPageViewer.setReportSource(reportSource);
                   // Apply the viewer preference attributes
                   // Process the report
                   crystalReportPageViewer.processHttpRequest(request, response, application, null);
              // ****** END CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET ****************          
         } catch (ReportSDKExceptionBase e) {
             out.println(e);
    %>
    With this code , report gets displayed in the portlet but none of the actions on thre report like next page click , search button , opening subreport , clicking on drill-downs are working . The error in the explorer console is as shown below
    Error: CrystalViewerCrystalEvent is not defined
    javascript:CrystalViewerCrystalEvent('CrystalViewer',%20'tb=next')
    PageSource of the web page shows the CrystalViewerCrystalEvent javascript function defined but for somereason its not recognized by the portlet. Has anyone worked on displaying crystalreports in a portlet ?

    Code attached
    <%@ page import="com.crystaldecisions.report.web.viewer.CrystalReportViewer,
    com.crystaldecisions.sdk.occa.report.application.OpenReportOptions,
    com.crystaldecisions.sdk.occa.report.application.ReportClientDocument,
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase" %>
    <portlet:defineObjects />
    <%
         // This sample code calls methods from the CRJavaHelper class, which
         // contains examples of how to use the BusinessObjects APIs. You are free to
         // modify and distribute the source code contained in the CRJavaHelper class.
         try {
              String reportName = "ProactiveEventsSummaryData.rpt";
              ReportClientDocument clientDoc = (ReportClientDocument) session.getAttribute(reportName);
              if (clientDoc == null) {
                   // Report can be opened from the relative location specified in the CRConfig.xml, or the report location
                   // tag can be removed to open the reports as Java resources or using an absolute path
                   // (absolute path not recommended for Web applications).
                   clientDoc = new ReportClientDocument();
                   //clientDoc.setReportAppServer(ReportClientDocument.inprocConnectionString);
                                  clientDoc.setReportAppServer("inproc:jrc");
                   // Open report
                   clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);
                   // Store the report document in session
                   session.setAttribute(reportName, clientDoc);
              // ****** BEGIN CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET **************** 
                   // Create the CrystalReportViewer object
                   CrystalReportViewer crystalReportPageViewer = new CrystalReportViewer();
                   String reportSourceSessionKey = reportName+"ReportSource";
                   Object reportSource = session.getAttribute(reportSourceSessionKey);
                   if (reportSource == null)
                        reportSource = clientDoc.getReportSource();
                        session.setAttribute(reportSourceSessionKey, reportSource);
                   //     set the reportsource property of the viewer
                   crystalReportPageViewer.setReportSource(reportSource);
                   // Apply the viewer preference attributes
                   // Process the report
                   crystalReportPageViewer.processHttpRequest(request, response, application, null);
              // ****** END CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET ****************          
         } catch (ReportSDKExceptionBase e) {
             out.println(e);
    %>
    Edited by: teethoma on Nov 30, 2009 10:06 AM

  • ISA apps in CRM 2007 still JSP Struct based Web application OR BSP Web UI

    Hi, SDN Experts.
    Is the ISA (Internet Sales) appications in CRM 2007 stil runs in JSP Struct based Web application framework OR now it has switch to the BSP Web UI based web applications?
    I know that the previous PCUI based applications have been switched to BSP Web UI based applications, but I am not sure about the ISA.
    Can anyone also point me to some resources/materials to identify what changes CRM 2007 compare to CRM 2005  /6.0 in details?
    Thanks for advise,
    KC

    KC,
    ISA in CRM 2007 is in JSP still..
    www.help.sap.com would be the best option to start
    Regards,
    Vinay

  • [JSF 1.2] - Role Based Web Application: Whats the correct way of doing it?

    Hello,
    i have a web application that in some pages is role based. I have two database tables, Role and Permissions. Role can have 1..N Permissions and vice versa.
    In one page i need to render some forms depending on user role.
    What is the best approach to this?
    1. I have a sessionBean and on login load all the permissions (it's less secure but faster) based on user role;
    2. Everytime i use rendered="#{sessionBean.checkPermissions['can-create']}" i query the database. This checkPermissions gets the user role and retrieve all permissions of that user on demand;
    The first option is faster but while the user is logged if permissions changes we might have problems.
    The second, if i user 3 rendered attributes i do 3 queries to the database.
    Is rendered attribute the correct implementation?
    Regards.

    Yes, the rendered attribute is the correct way to accomplish this.
    As to the question of caching the result or querying the database each time, that is something that needs to be answered on an application by application basis.

  • How can we remove javascript completly from J2EE based web application?

    java script produce lots of problem in web application i just want to remove them comletly

    rinku5259 wrote:
    java script produce lots of problem in web application i just want to remove them comletly3 easy steps
    1. using the mouse or keyboard, select the javascript code
    2. press the delete button on the keyboard
    3. save the file
    do that for each file that has JavaScript in it

  • Deploying Java-based Web application in Linux Red Hat

    Dear All:
    I would like to deploy my Java Servlets and JSPs in a Linux Web Server Machine that also will run MySQL.
    I would like to know about the complete softwares that require to run the web application.
    Here I am mentioning few of them and would like to know whether they are correct and/or I need more.
    1. Java
    2. Linux OS
    3. Apache Web Server
    4. Tomcat
    5. MySQL
    6. JDBC
    Looking forward to receiving you kind and prompt help.
    Sincerely,

    If you really want to use the Apache HTTP Server next to Apache Tomcat Server, then look for the mod_jk. Otherwise just leave that Apache HTTP Server away.
    To the point: just learn about each of those components. Just Googling "something tutorial" is enough to find a tutorial about something. As you've posted this in the JDBC forum, I guess the core problem is the JDBC API. [Google it|http://google.com/search?q=jdbc+tutorial].

  • Deployment of JSP based Web Application

    Hey I am new to JSP. I want to create a Web Application with JSP and Tomcat 5 as the Web Server.
    I know how to use JSP, but don't know about Tomcat.
    If any one can tell me how to deploy a web application on Tomcat 5???
    Thanks

    One way is to follow the instructions that come with Tomcat.
    http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/index.html

  • How Session based web Application should work even after session expiry??

    I am looking for an experts opinion that how could I develop an application that should work after the expiry of web session too in the same way as it works in web session.
    How the session should be activated.
    As I understood, what if I store all the required information in xml and then on unlock session reload all the information from XML.
    Am I right or is there any other better way to do using servlets.
    Basically I need to implement Lock and UnLock mechanism in an application.
    Thanks

    I'm not sure I understand your question. But since no one answered this yet, here is my idea:
    If the user's session expires, any unsaved data is lost. The user should expect this.
    If do need to save any data, normally you store it it a database table with the user's ID so you can retrieve it. Two free databases are Oracle Lite and MySql. However, this will take quite a bit of time to learn if you are not already familiar with databases. Storing it in a database and retrieving it is much much faster than storing it in a file.

  • Trying to use "Building your first PHP-Based Web Application"

    I am trying to follow the tutorial that comes with Flash Builder 4.5 for PHP. At step 2, the instructions say:
    "In Flash Builder 4.5 for PHP, use the wizard called TestDrive . . ."
    I do not know where to find this wizard. It is not mentioned anywhere else in the tutorial. It is not in any of the downloadable files that I can find through searching. Is this an external file? Is it an indication that the previous installation of Zend or the import of the database didn't go as it should have?
    In trying to further follow the tutorial, the screen shots show an option to "Create project on local server," but I don't have this option when I create a new project for "Flex and PHP." I am on a Mac and the screen shot is for a PC. Is this the issue? Or is it because I can't find the wizard called "TestDrive"? Or some other reason?
    Any help would be greatly appreciated.

    I spoke to the document author at Zend who has updated the tutorial to correct the problem.  Please try this again and let us know if there are any remaining challenges.
    Thank you!
    Michael
    Zend Technologies

  • Session time out in a web application

    Hi,
    I am making a struts based web application. For session time out validation I have made an entry in the web.xml file as <session-config>
              <session-timeout>1</session-timeout>
         </session-config>
    In case the user's session time out occurs then he should be directed back to the log in page.
    Can any one tell me how to proceed in this case and what are the best practices.
    thanks

    Hi
    I've tested it with OC4J and it works both ways.
    I do think that you must have the
    <session-config> tag present though for the setMax... method to
    work, observe that this method is for seconds and not millisecond
    regards
    //Mike
    Hi all,
    I try to manage by my application the http session time-out.
    Change it in a web.xml works fine , but if in my servlet i try
    to change it using setMaxInactiveInterval(MILLISECOND) the result
    is that the session became invalidate after few seconds instead
    50 minutes ad example ....
    Answer ????
    thks
    Carlo Mossa

  • Integrating a Java web application into the SAP NetWeaver Portal

    Hello experts,
    We have a requirement to integrate a Java based web application into the SAP NetWeaver Portal using iView/iFrame technology. The Java based web application is completely independent from the SAP environment but should be displayed as part of the SAP Portal environment. The other requirement is the main navigation menu for the Java based web application should be configured and provided in the SAP Portal.
    Any pointers on how exactly this can be done would be of great help.
    Also how can the SSO (Single-Sign-On) to the Java application be implemented so that the user can logon to the java application through the portal without providing the user credentials again.
    Thanks in advance.

    Hi,
    I think you can use URL iviews to integrate your java web application with EP. you have the option of doing SSO with the application as well.
    Have a look at the sap help material
    http://help.sap.com/saphelp_nw04/helpdata/en/f5/eb51730e6a11d7b84900047582c9f7/frameset.htm
    http://wiki.sdn.sap.com/wiki/display/BOBJ/CreateURLiviewintotheSAPEP+portal
    Regards,
    Ganesh N

  • Using APEX as SSO redirect for existing web application

    Hi,
    I have an existing PHP based Web Application hosted on an Apache server. I want to protect these web pages by authenticating users via Oracle SSO.
    I tested this by creating a simple APEX web page with redirect <Meta> tag to route traffic to my application upon successful SSO login. This works fine if request comes directly to APEX page....
    So my question is how do I protect php pages from being directly accessed and still be able to get sso user login information (like username) coming from APEX page?
    Do I still need to set up mod_sso.so in osso.conf for my Apache Server or should I just register my php web application as partner application with SSO server without going through APEX?
    Any advice on this is greatly appreciate.
    Thanks,
    james

    Tony,
    Sorry for taking so long to respond as I got side tracked with other tasks.
    Thank you so much for the link. The provided link is very helpful.
    One difference in my situation is that I am using a generic Apache installation (version 2.2.11) and not Oracle Apache Server from OAS.
    So I copied mod_osso.so from OAS 10.1.3.1.0 installation to my generic Apache location. As I tried to startup Apache instance I got following error while loading mod_osso.so.
    ... Cannot load /apache-2.2.11/modules/mod_osso.so into server: /apache-2.2.11/modules/mod_osso.so: undefined symbol: ap_configtestonly
    I did some search and found that other folks are reporting success of using mod_osso.so on generic Apache (without saying which version of Apache). I wonder if mod_osso.so can only work with older version of Apache?
    Do you have insights on this by any chance?
    Thanks again,
    James

Maybe you are looking for

  • Oracle portal 11g- how to show content of a mounted folder in a page

    Hi there! We have installed oracle portal 11g on a server with cent os 5 on it. There is a certain shared folder in our network that we have mounted using autofs in a certain directory, on which every user has permissions of read and write, the conte

  • Call Reuse ALV Twice - Is it possible?

    Hi, I have a requirement wherein I need to develop two alv display with header. The 2nd alv display will be issued once the user clicks a custom button from the 1st alv display. However, I the display in the 2nd alv is from the 1st alv display. I hav

  • CS5 Publishing to Android errors: can anyone help?

    Hi I'm a novice android app developer and am trying to publish an apk file to test on my HTC desire phone. I have gone through all of the publish settings and can't see that I've done anything wrong. However, I keep getting the following errors. Has

  • CC&B not populating response to real-time Outbound Message

    I have a real-time Outbound Message which is sent to webMethods via SOAP with the HTTP Sender (not RTHTTPSNDR). In my BO Schema, I have the response element defined as: <responseMessage type="raw" mapField="XML_RESPONSE"/> The Outbound Message is suc

  • HP Scanjet

    HP Scanjet 5370C wouldn't install on i.Mac although it is Mac compatible qnd came with a Mac installation cd. keep getting a message saying that the program is not supported by the current system. Any tip?