Servlet that contains native metrhods

          Hi,
          I'm getting an error of unstatisfied link error whenever I call a servlet that
          containes a native methods.
          Does anyone know how to do this? The Weblogic Frequently Asked Questions:(S-side
          java servlet) page
          it has the following at the end :-
          "if you choose to use WebLogic Server to serve your servlets, note that servlets
          using native methods that are not part of the WebLogic
          software will fail with an "Unsatisfied Link" error if they are placed in the
          servlet CLASSPATH. Be sure not to put classes containing
          native methods in the servlet CLASSPATH. Instead, put these servlets in the
          regular CLASSPATH of the WebLogic Server.
          For more information, see Setting up WebLogic Server as an HTTP server, or the
          Java WebServer FAQ at JavaSoft.
          

Hi,
          A Unsatisfied link basically informs that a shared library could not be
          found in
          1)System path
          2) or the current path.
          Make sure that the shared library is in either of the above
          --Naggi
          "Amin Fakira" <[email protected]> wrote in message
          news:3ac3b70d$[email protected]..
          >
          > Hi,
          >
          > I'm getting an error of unstatisfied link error whenever I call a servlet
          that
          > containes a native methods.
          > Does anyone know how to do this? The Weblogic Frequently Asked
          Questions:(S-side
          > java servlet) page
          > it has the following at the end :-
          > "if you choose to use WebLogic Server to serve your servlets, note that
          servlets
          > using native methods that are not part of the WebLogic
          > software will fail with an "Unsatisfied Link" error if they are placed
          in the
          > servlet CLASSPATH. Be sure not to put classes containing
          > native methods in the servlet CLASSPATH. Instead, put these servlets in
          the
          > regular CLASSPATH of the WebLogic Server.
          > For more information, see Setting up WebLogic Server as an HTTP server,
          or the
          > Java WebServer FAQ at JavaSoft.
          

Similar Messages

  • Parsing a String object that contains the database details in jsp

    Hi All,
    In my project i have a model which is a bean that contains
    a method :-
    UserBean.java
    ....getUserData()
    //the database connection is written here.
    st.executeUpdate("insert ----------");
    In the servlet i am calling the bean,
    ControllerServlet.java
    UserBean ub=new UserBean();
    Object obj=ub.getUserData();
    session.putValue("something",obj); //Here the obj contains all the database datas that is used in insert query
    //By using RequestDispacher i am forwarding this request & the response
    to the jsp page
    ViewJsp.jsp
    String data=(String)session.getValue("something");
    //Here "data" now contains all the database contents that is stored using insert query in the bean
    From here i need to parse the "data" in order to display the contents
    stored in the string "data" in to a html table.
    Plz. do provide a solution for this.It is very Urgent at the moment.
    So that i will be very thankful to u.
    Thanx,
    contactananth

    ok, first of all, in getData, i assume you do a SELECT, not an INSERT,
    so your bean code should look like:
    ResultSet rs = st.executeQuery(...) // or somethig like that
    return rs; // it will contain the data you needand in the jsp you write:
    ResultSet rs = (ResultSet)session.getValue("something");
    instead of
    String data=(String)session.getValue("something");
    i assume you know how to work with a ResultSet

  • Tomcat servlet/JSP container default files on 10gAS(10.1.2.0.2)

    Hi Friends,
    I am using Oracle Application Server 10g (10.1.2.0.2) on windows
    I have the Vulnerability: Apache Tomcat servlet/JSP container default files.
    and the fix is Review the files and delete those that are not needed.
    i would like to know the location of the files to review and delete.Please suggest?
    Regards,
    DB

    Apache/Tomcat is not related to OAS, where did you get this info? OAS is based in a Orion Web Server and Apache HTTP Server, not Tomcat.
    For this kind of problems there are the CPU you may want to check in Metalink for them.
    Can you clarify also what default files?
    Greetings.

  • *** Example of JSF Image servlet that can write image to network drive ??

    Hi Guys,
    Does anyone have an example of a of JSF Image servlet that can Write image to network drive ??
    I can write an image to my local drive on my tomcat app server. But when I try to map to a network drive with IP or Mapped drive it fails.
    Any help out there ??
    Thanks
    Phil

    Hi,
    The drive I am trying to access is on a box 45.65.111.115 ip
    I have mapped the box and drive to M:
    Setting sharing on...
    I have tried a few new ways...
    imageDrive2=M:\\test_images\\
    gives this errror
                java.io.FileNotFoundException: M:\test_images\first250k\16Sep0857_Phil_Tucson.JPG (The system cannot find the path specified)
         at java.io.RandomAccessFile.open(Native Method)
         at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
         at javax.imageio.stream.FileImageOutputStream.<init>(FileImageOutputStream.java:44)=============================================
    imageDrive3=\\\\45.65.111.115\\first250k\\test3.jpg
    gives this errror
    java.io.FileNotFoundException: \\45.65.111.115\first250k\test3.jpg (Access is denied)
         at java.io.RandomAccessFile.open(Native Method)
         at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
         at javax.imageio.stream.FileImageOutputStream.<init>(FileImageOutputStream.java:44)
         at com.sun.imageio.spi.FileImageOutputStreamSpi.createOutputStreamInstance(FileImageOutputStreamSpi.java:37)========================================================
    imageDrive4=\\\\45.73.111.115\\test_images\\test4.jpg
    gives this errror
    java.io.FileNotFoundException: \\45.73.111.115\test_images\test4.jpg (Access is denied)
         at java.io.RandomAccessFile.open(Native Method)
         at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
         at javax.imageio.stream.FileImageOutputStream.<init>(FileImageOutputStream.java:44)
         at com.sun.imageio.spi.FileImageOutputStreamSpi.createOutputStreamInstance(FileImageOutputStreamSpi.java:37)
         at javax.imageio.ImageIO.createImageOutputStream(ImageIO.java:391)
         at javax.imageio.ImageIO.write(ImageIO.java:1483)=============================================================================
    Any help out there??
    Phil

  • To display an html page that contains frames, using servelt

    Hi all
    i am using a servlet which has to display a html page that contains frames.
    I would like to know whether it is possible to display a frame using servlets.
    If yes please tell me the how to do it?
    Thanks,
    Sudheer.

    Thanks Seth.
    I just tried that, but when I run it in preview mode (by simply hitting F12), it gives me an error because it can't  find the file in the temporary preview folder it creates (ie:
    C:\Users\Tom\AppData\Local\Temp\CP2840464090993Session\CPTrustFolder2840464091009\Captivat ePreviewLoader\
    I'm hoping to find a place to put it so that it works when running F12 and when running in regular 'published' mode
    I was thinking I could put it in the 'C:\Program Files\Adobe\Adobe Captivate 6 (32 Bit)\Templates\Publish' folder, but when I do that, it doesn't seem to gete copied to the .\CaptivatePreviewLoader folder when running F12

  • Error when updating a multivalued property that contains nested types

    we cannnot update a CMS content that contains a multivalued property composed of nested types.
    our CMS content is made of a custom type "t4" and contains the following properties :
    - titre of type "String"
    - compose of type "t1" where t1 is a CMS type containing the property titre of type "String" and doc of type "Binary".
    we get the following stack trace when updating the "compose" property on the CMS document :
    com.bea.content.RepositoryRuntimeException: Error retrieving multivalued nested property via given beginning of indexedName: compose, please check for the complete and correct indexedName on the Property in question. at com.bea.content.Node.getProperty(Node.java:454) at com.bea.content.federated.internal.NodeManagerImpl.getStream(NodeManagerImpl.java:669) at com.bea.jsptools.content.node.properties.editor.BinaryEditor.getValues(BinaryEditor.java:134) at com.bea.jsptools.content.node.properties.editor.NestedPropertyEditor.getValues(NestedPropertyEditor.java:90) at com.bea.jsptools.content.node.properties.editor.NestedPropertyEditor.getValues(NestedPropertyEditor.java:90) at content.node.nodeSelected.properties.NodePropertiesController.saveProperty(NodePropertiesController.java:1018) at content.node.nodeSelected.properties.NodePropertiesController.saveProperties(NodePropertiesController.java:973) at content.node.nodeSelected.properties.NodePropertiesController.saveProperties(NodePropertiesController.java:768) at sun.reflect.GeneratedMethodAccessor524.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:854) at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:793) at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:463) at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:290) at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:338) at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:51) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:96) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2025) at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:90) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2096) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:550) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:838) at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:634) at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:156) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1177) at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:622) at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.processActionInternal(ScopedContentCommonSupport.java:140) at com.bea.portlet.adapter.scopedcontent.PageFlowStubImpl.processAction(PageFlowStubImpl.java:107) at com.bea.portlet.adapter.NetuiActionHandler.raiseScopedAction(NetuiActionHandler.java:99) at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:177) at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:165) at com.bea.netuix.servlets.controls.content.NetuiContent.handlePostbackData(NetuiContent.java:219) at com.bea.netuix.nf.ControlLifecycle$2.visit(ControlLifecycle.java:179) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:351) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:128) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:339) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:330) at com.bea.netuix.nf.Lifecycle.runInbound(Lifecycle.java:162) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:137) at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:370) at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:229) at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:183) at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:240) at com.bea.netuix.servlets.manager.PortalServlet.service(PortalServlet.java:574) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:273) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at com.bea.jsptools.servlet.PagedResultServiceFilter.doFilter(PagedResultServiceFilter.java:82) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:292) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3191) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1979) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1886) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1317) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:181) Caused by: com.bea.content.RepositoryException: Error retrieving multivalued nested property via given beginning of indexedName: compose, please check for the complete and correct indexedName on the Property in question. at com.bea.content.internal.client.common.NestedHelper.getContainerIndex(NestedHelper.java:243) at com.bea.content.internal.client.common.NestedHelper.loopNested(NestedHelper.java:278) at com.bea.content.internal.client.common.NestedHelper.getNestedProperty(NestedHelper.java:162) at com.bea.content.internal.client.common.NestedHelper.getProperty(NestedHelper.java:102) at com.bea.content.internal.client.common.NestedHelper.getProperty(NestedHelper.java:126) at com.bea.content.Node.getProperty(Node.java:451) ... 98 more

    I was able to reproduce this issue in the beta also. The issue has since been fixed. For the time being, it looks like you can just clear (delete) that particular value and re-add it w/ the updated binary.

  • Servlet that executes at specific time intervals ?

    Hi
    I need to have my Servlet that is loaded onto the webserver, run at specific time intrevals, say every 10 minutes.
    How do I do that ?
    Thanx in advance
    Aragorn

    I have trouble with this concept.
    HTTP is a request/response protocol. Usually a servlet runs when it receives an HTTP request and sends back an HTTP response.
    If you want the servlet to wake up and do something at a fixed interval, it's not responding to an HTTP request anymore. What does it do with the HTTP response that's generated? What happens if it receives an HTTP request from an external client after waking up and starting the timed process? Have you made sure that your servlet is thread-safe in that case?
    This feels less like a servlet and more like something else (e.g., an RMI service, EJB, or multi-threaded server). It sounds like you're using the servlet engine/container as a convenient service container, but I don't think servlets were meant to be used that way.
    I'll be happy to take instruction on this if I'm incorrect. I just thought I'd disagree to see what the response might be. Thanks - MOD

  • Unable to publish application that contains snapshots (WTG-20502)

    Hmm, I am able to publish normal applications to mobileserver just ok using wtgpack. Publishing of applications that contains snapshot definitions failed giving following message :
    creating servlets
    log0: Creating Snapshot...
    log0: Publication/PublicationItem does not exist :: 11674,WTGPI_10088
    log3: javax.servlet.ServletException: Publication/PublicationItem does not exist
    :: 11674,WTGPI_10088
    log0: ID: A2226282F282EC2C1CA22C021C-B08596F321641F29863C6747920387EE634F8E55
    log3: at oracle.lite.web.util.JupXMLPlant.doPost(JupXMLPlant.java:177)
    log0: handler: /logoff /
    log3: at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    log0: Servlet oracle.lite.web.JupLogoff
    log3: at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    log3: LOGOFF ADMINISTRATOR: Thu Aug 29 16:10:14 EEST 2002 Online for: 3 seconds
    Access count: 2
    log3: at oracle.lite.web.JupServlet.service(JupServlet.java:190)
    log3: at oracle.lite.web.AppServletHandler.handle(AppServletHandler.java:282)
    log3: at oracle.lite.web.JupApplication.service(JupApplication.java:350)
    log3: at oracle.lite.web.JupHandler.handle(JupHandler.java:97)
    log3: at oracle.lite.web.HTTPServer.process(HTTPServer.java:302)
    log3: at oracle.lite.web.HTTPServer.handleRequest(HTTPServer.java:162)
    log3: at oracle.lite.web.JupServer.handle(JupServer.java:309)
    log3: at oracle.lite.web.SocketListener.process(SocketListener.java:157)
    log3: at oracle.lite.web.SocketListener$ReqHandler.run(SocketListener.java:208
    Cannot find any information from documentation or forums concerning this (Publication/PublicationItem does not exist :: 11674,WTGPI_10088).
    Whats wrong? At some point also this publishing of applications that contain snapshot's was working but not anymore.
    -JS-

    There was some 'caching' on multiple places.
    First of all I had to remove all stuff related to my application from ..\mobile\sdk\wtgsdk\bin\wtgapp.xml -File and pack and publish again.
    Ofcourse the mobileserver (and mgp) had to be restarted also to get the changes 'committed'.

  • Simple servlet runner/container (classes)?

    is there a simpler way to run a servlet that running it in a full blown servlet container (like tomcat)? i would like to run a servlet as a java application (but still has the post/get facilities for http requests).

    There are a number of embeddable servlet containers around, but not all are up-to-date with respect to the Servlet spec. The documentation for LiteWebServer talks about running it within another application (I haven't used it that way). http://www.jotobjects.com/JOTlinksservers.html
    Paul Copeland
    JOT Servlets - A Framework for Servlet Applications
    http://www.jotobjects.com

  • Encoding a URL that contains a string Parameter

    Hi,
    I want to redirect to a servlet and pass it a String parameter. For example:
    res.sendRedirect("http://www.someserver.com/servlet/servlet2?msg=hello");
    This works fine as the servlet2 will display 'hello'. However, when I try to do this using a language that contains accent characters, the characters are not transmitted properly.
    For example:
    res.sendRedirect("http://www.someserver.com/servlet/servlet2?msg=�t�");
    The second servlet displays the �t� as: ��t��
    Is it possible to send a string that contains these characters?
    Thanks

    Hi
    Priya again
    The unicode character got translated to the real character.
    Please refer to this chart to get the unicode character for e acute accent and substitue in the url .
    http://www-user.tu-chemnitz.de/~tki/iso8859-1.html

  • Writing functions that contain scriptlets/expressions

    How do I go about writing functions in my JSP page that contain scriptlets and expressions? Also, I'd like to reference session/request/response variables from within.
    I want something like this:
    <jsp:useBean id="myObject" class="com.classes.*" scope="session" />
    <%!
    void printList()
         String str1 = myObject.getName();    <%-- reference outside object --%>
         String str2 = request.getParameter("address");  <%-- use request variable --%>
         out.println(str1 + ": " + str2); <%-- I know it's illegal to do this, but how do I print to the browser from a function? --%>
         <%= request.getParameter("zipcode") %> <%-- Also illegal (are expressions allowed?) --%>
         out.println("<A HREF=\"<% session.getAttribute("url") %>\">Click here</a>");  <%-- dynamic and static content: how do I do this? --%>
    %>I unsure as to how to carry out the above actions. My biggest problem is the last example. How do I print out HTML interspliced with dynamic content with my function?
    I'm pretty sure that nesting <% %> tags inside of <%! %> directive tags is illegal. Is writing a void function that prints out a bunch of static and dynamic data simply not possible with JSP? If so, is it necessary that I write several functions to return values which can then be printed later in the page via separate scriptlets or expressions?

    Take a look at generated servlet code and try to understand how it is working.
    request and response is available only inside some method body. So to access it in your method, you must pass it as argument.
    void printList(HttpServletRequest request, HttpServletResponse response) { ... }everything inside
    <%!
    is added to servelt code, but things inside <% %> are added to processing method body not servlet body.
    Take look at jsp and corresponding servlet:
    JSP:
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <html>
    <head><title>JSP Page</title></head>
    <body>
        <%="place 1"%>
    </body>
    </html>
    <%!
        public String aaa() {
            return "palce2";
    %>GENERATED SERVLET
    package org.apache.jsp;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.servlet.jsp.*;
    public final class test_jsp extends org.apache.jasper.runtime.HttpJspBase
        implements org.apache.jasper.runtime.JspSourceDependent {
        public String aaa() {
            return "palce2";
      private static java.util.Vector _jspx_dependants;
      public java.util.List getDependants() {
        return _jspx_dependants;
      public void _jspService(HttpServletRequest request, HttpServletResponse response)
            throws java.io.IOException, ServletException {
        JspFactory _jspxFactory = null;
        PageContext pageContext = null;
        HttpSession session = null;
        ServletContext application = null;
        ServletConfig config = null;
        JspWriter out = null;
        Object page = this;
        JspWriter _jspx_out = null;
        PageContext _jspx_page_context = null;
        try {
          _jspxFactory = JspFactory.getDefaultFactory();
          response.setContentType("text/html;charset=UTF-8");
          pageContext = _jspxFactory.getPageContext(this, request, response,
                         null, true, 8192, true);
          _jspx_page_context = pageContext;
          application = pageContext.getServletContext();
          config = pageContext.getServletConfig();
          session = pageContext.getSession();
          out = pageContext.getOut();
          _jspx_out = out;
          out.write("\n");
          out.write("\n");
          out.write("<html>\n");
          out.write("<head><title>JSP Page</title></head>\n");
          out.write("<body>\n");
          out.write("    ");
          out.print("place 1");
          out.write("\n");
          out.write("</body>\n");
          out.write("</html>\n");
          out.write("\n");
        } catch (Throwable t) {
          if (!(t instanceof SkipPageException)){
            out = _jspx_out;
            if (out != null && out.getBufferSize() != 0)
              out.clearBuffer();
            if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
        } finally {
          if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
    }

  • Talking to C# based WinRT components that contain UI features like XAML based user controls from a JavaScript based Windows Store app

    Can you create a WinRT component written in C# that consists of a library of XAML based controls and then used those controls within a Windows Store app using WinJS or via a JS Cordova plugin for Windows 8.1 & WP8.1? 
    Is this possible or can you only use a C# based WinRT component that contains a library of XAML controls in XAML/C# based Windows Store apps? 
    My understanding is that a C# based WinRT component containing non-UI code (i.e. no XAML controls) can be used in a Windows Store app written C#, VB.NET, JavaScript or VC++, but not sure if that principle would work with XAML controls
    wrapped via WinRT types. In theory a XAML control is a C# class, so could work, but not sure how would JS code read that and then launch for example a page or user control from/into its HTML based UI?
    Sandip Ahluwalia

    Right. The code in your app is C# code, but the actual Xaml controls (like the rest of the Windows Runtime) are native code. They are projected into each language (C#, VB, C++ in the case of Windows.UI.Xaml) in a way that appears natural for that
    language and the interop layer is hidden.
    You could expose a Xaml control in a Windows Runtime Component written in any of C#, VB, and C++ to an app written in any of C#, VB, and C++, and the control would appear as a normal C#, VB, or C++ runtime class. This won't
    work for Xaml controls in JavaScript, since the HTML window doesn't have the Xaml hosting infrastructure, but for non-UI code you can write a WRC in C#, VB, or C++ and it will appear as a normal JavaScript class to a JavaScript app.

  • HT5439 Why does support *** u me this statement gets the problem solved ? Use Apple Configurator* to deploy a configuration profile with a Wi-Fi payload that contains the proxy configuration.

    Why does apple support help *** u me this opening statement help anyone without the knowledge to undertand what to do?
    Use Apple Configurator* to deploy a configuration profile with a Wi-Fi payload that contains the proxy configuration.

    Post in your native language, nothing posted so far makes any logical sense.

  • How do I assign a file to a drive other than the drive that contains my program software?

    I've just installed a video editing program on my new Mac Pro Xeon 64 bit workstation. I want to ensure that all my media files reside on a drive other than the drive that contains programs. I had no problem doing this on my old Dell. How do I do this on my Mac Pro? -- Gary

    Application Preferences.
    Next time, 'what' program would also help.
    Most people do setup with a dedicated boot drive with OS and apps, .then use other drives or array(s) for media, scratch as needed, including external hardware RAID.

  • My playlists in itunes that contained voice memos are now blank on my phone, yet they are still on the playlist in itues on my computer. any ideas

    my playlists in itunes that contained voice memos are now blank on my phone, yet they are still on the playlist in itues on my computer. any ideas
    i like to record concerts i go to a listen to them and the voice memos are how i record them

    If you still have the 'pointers' to them in iTunes then I think that it assumes that you still have them on your computer so it won't re-download them or let you copy them from your iPod - try deleting the iTunes entry for one of them and then re-try re-downloading or, with your iPod connected, File > Transfer Purchases. If it works for that one then do the same for the others.

Maybe you are looking for

  • Using BootCamp to install Windows 7 on a Mac

    I need to use Windows to utilize the software on my Metal Detector so I've decided to try installing Windows 7 with Bootcamp.  I am using an Intel iMac from 2011. Although the procedure seems fairly straightforward, I noticed that in the requirements

  • Windows 8.1 Problem

    Yesterday, I wanted to update my Bootcamp to Windows 8.1. I had Windows 7 so first, I updated to Windows 8. Everything was fine. Then, after updating everything from Windows Update, I updated to Windows 8.1 from the Store. The installation was fine,

  • Yum update problems with iwl*-firmware

    Hello,   I install an oracle linux 7 machine and after the installation when I try to apply updates, I get many errors all related to iwl*-firmware. If I do yum remove iwl* Then all the other updates install correctly. I tried to clean the metadata a

  • How to display notification message in EBS R12

    Hi all, I am new to apps dba, any explanation in detail is appreciated. I want to display a site level message on EBS R12. So that whenever a user logs in he can see my message like 'Happy Independence Day'. Let me know how to do that. Regards, Chara

  • HTTP Miss Reason: has_if_unmodified_since

    Hello, The majority of my Content Engines HTTP requests misses miss-reason is has_if_unmodified_since. What does this mean and is it possible to fix? YH0PCE01#show statistics http savings Statistics - Savings Requests Bytes Total: 85948 335283777 Hit