Help...Use of paths in JSP

Hello Im from Mexico sorry because my English is not good
I am with Oracle Developer Suite...
i have a packege Servlet.example1 and here a ExampleServlet.java (It was added with the Servlet Wizard and mapping in the web.xml)
i have a ExampleJSP under the root of public_html...
When i deploy to the OC4J...i can see good the ExampleJSP and when it calls the ExampleServlet, all its rigth.
but when i move the ExampleJSP to a directory like public_html/web/examples...and i deploy to the OC4J...I can see ExampleJSP, but the call to the ExampleServlet dont work...
The URL has the direction of the servlet, but the browser says "HTTP 404"
can the public_html have diferent directories?
Thanks a lot

Check the syntax reference: http://java.sun.com/products/jsp/syntax/1.2/syntaxref1214.html
If the page output is buffered and the flush attribute is given a true value, the buffer is flushed prior to the inclusion, otherwise the buffer is not flushed. The default value for the flush attribute is false.

Similar Messages

  • Can't use relative paths in jsp pages or javabeans

    Hi everyone,
    Can someone please help me with this little problem.
    When I want to use in a JSP page the object 'FileReadInput' to read in a file, it can't find when I only give the filename. The target file and source file are in the same directory so I would expect if I only give the filename, it will automatically search in the current directory. But when I give the complete absolute path, everything works fine. Is it possible to use relative paths in a jsp or javabean file?
    By the way, I am working with JDeveloper from Oracle. (maybe that has something to do with my problem)
    Can someone help me???
    Thx

    My dear friend,
    It will not work at all. coz, for any jsp file, ur application server will create a .java file and then .class file in a directory other than the directory where ur .jsp file present. that's why, ur file to be read can't be found. that's why use the following.
    String path=getServletConfig().getServletContext().getRealPath("/")+File.seperator+"yourfilename";

  • Help using DataTags on Edit JSP Form

    I costumized the Edit JSP page using DataTags but I don`t know how to edit the current record.
    I have the source code of the first page:
    //Kssegtroles.jsp
    <%@ page language = "java" errorPage="errorpage.jsp" import = "java.util.*, oracle.jbo.*, javax.naming.*, oracle.jdeveloper.html.*, oracle.jbo.html.databeans.*" contentType="text/html;charset=ISO-8859-1" %>
    <%
    // make sure the application is registered
    oracle.jbo.html.jsp.JSPApplicationRegistry.registerApplicationFromPropertyFile(session , "PrjSegJSP_PkgSeg_PkgSegModule");
    %>
    <HTML>
    <HEAD>
    <TITLE>INSTITUTO ECUATORIANO DE SEGURIDAD SOCIAL</TITLE>
    <LINK href="estilo/estilo.sty" rel=stylesheet type=text/css>
    </HEAD>
    <BODY class="clbody" aLink=#800000 bgColor=#ffffff leftMargin=0 link=#808000 text=#000000 topMargin=0 vLink=#c0c0c0>
    <jsp:useBean class="oracle.jbo.html.databeans.NavigatorBar" id="tb" scope="request" >
    <%
    tb.setTargetUrl("KssegtrolesView.jsp");
    tb.initialize(application,session, request,response,out,"PrjSegJSP_PkgSeg_PkgSegModule.KssegtrolesView");
    String sImageBase = "/webapp/images";
    tb.setImageDir(sImageBase);
    tb.addButton(tb.NAVIGATE_FINDFORM , "KssegtrolesView_Query.jsp");
    tb.addButton(tb.NAVIGATE_BROWSE , "KssegtrolesView_Browse.jsp");
    tb.addButton(tb.NAVIGATE_INSERT , "KssegtrolesView_Insert.jsp");
    tb.addButton(tb.NAVIGATE_EDIT , "KssegtrolesView_Edit.jsp");
    tb.render();
    %>
    </jsp:useBean>
    <br>
    <jsp:useBean id="RowViewer" class="oracle.jbo.html.databeans.ViewCurrentRecord" scope="request">
    <%
    RowViewer.initialize(pageContext, "PrjSegJSP_PkgSeg_PkgSegModule.KssegtrolesView");
    RowViewer.setReleaseApplicationResources(true);
    RowViewer.render();
    %>
    </jsp:useBean>
    </BODY></HTML>
    This is the code for the Edit Page:
    //KssegtrolesView_Edit.jsp
    <%@ page language = "java" errorPage="errorpage.jsp" import = "java.util.*, oracle.jbo.*, javax.naming.*, oracle.jdeveloper.html.*, oracle.jbo.html.databeans.*" contentType="text/html;charset=ISO-8859-1"%>
    <%
    // make sure the application is registered
    oracle.jbo.html.jsp.JSPApplicationRegistry.registerApplicationFromPropertyFile(session , "PrjSegJSP_PkgSeg_PkgSegModule");
    %>
    <HTML>
    <HEAD>
    <TITLE>INSTITUTO ECUATORIANO DE SEGURIDAD SOCIAL</TITLE>
    <LINK href="estilo/estilo.sty" rel=stylesheet type=text/css>
    </HEAD>
    <BODY class="clbody" aLink=#800000 bgColor=#ffffff leftMargin=0 link=#808000 text=#000000 topMargin=0 vLink=#c0c0c0>
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <jbo:ApplicationModule configname="PkgSeg.PkgSegModule.PkgSegModuleLocal" id="PkgSegModule" username="iessuser" password="iess" />
    <jbo:DataSource id="dtsRoles" appid="PkgSegModule" viewobject="KssegtrolesView" ></jbo:DataSource>
    <jbo:Row id="Row" datasource="dtsRoles" action="Current" ></jbo:Row>
    <form name="KssegtrolesView_form" action="KssegtrolesView_SubmitEditForm.jsp">
    <table border="0">
    <tr>
    <td>Codigo de rol</td>
    <td>
    <jbo:InputText datasource="dtsRoles" dataitem="Codrol"/>
    </td>
    </tr>
    <tr>
    <td>Descripcisn del rol</td>
    <td>
    <jbo:InputText datasource="dtsRoles" dataitem="Desrol"/>
    </td>
    </tr>
    <tr>
    <td>Creacisn de Usuario</td>
    <td>
    <jbo:InputText datasource="dtsRoles" dataitem="Creusuper"/>
    </td>
    </tr>
    </table>
    <input name="MyRowKey" type="hidden" value="<jbo:ShowValue datasource="dtsRoles" dataitem="RowKey"/>" />
    <br>
    <input type="submit" value="Update"/>
    <input type="reset" value="Reset"/>
    </form>
    </BODY>
    </HTML>
    <jbo:ReleasePageResources releasemode="Stateless" />
    When I execute this, I am not in the current record that I edit, it returns me the information of the first record.
    Could you help me please?
    null

    I suppose that your two pages don't use same application module instance. It's the matter of mixing use of DataTags and WebBeans. Search this forum with these search words; "DataTag" and "WebBean".

  • Help using one path to cut/trim another

    I haven't done much work in Illustrator, and I'm currently using CS4.  I'm trying to figure out how to do something simple, and AI is so counter-intuitive that I'm about to rip my hair out.
    This is all that I'm trying to do:
    I have two lines intersecting, and a circle (just a path, not a filled shape) smaller than the length of the lines, and centered on where they meet.  I'm trying to use the circle to cut out the portion of the lines within the circle, so I'm left with what's outside the circle.
    That's it, that's all I'm trying to do.  I've clicked every button on the Pathfinder palette, I've tried making a compound path, I've tried making a clipping mask, I've tried using the scissor and knife tools, etc...  There's no guarantee I did these things correctly, but as I said, Illustrator is so counter-intuitive that for someone new to the application, they usually end up wanting to set the install discs on fire.
    So, how can I use the circle to cut the lines?  I'd appreciate any help.

    Wade,
    You're the one who jumped in here and, unprovoked, lambasted me for my comment.
    My post was succinct and makes a strong point: Such a simple operation as that described causes untold confusion for a new user. Somewhat experienced users make suggestions, each exposing ridiculous caveats which render the "solutions" insufficient. It's a case-in-point demonstration of the weakness of Illustrator's Pathfinder features--for what is such a common and straightforward function in other drawing programs.
    I'm not interested in your incessant personal attacks and insults that have nothing to do with the actual subject of the thread. Go find someone else to follow around like an attention-starved puppy.
    JET

  • Help using connnection pool in JSP!!

    Dear Users,
    I am using a JSP - MS Access application which uses Tomcat as the web server and IDS JDBC Driver.
    The JSP application uses a Java class called ResourceManager which I have created and handles all the update/search queries on the database. Just to get an idea , these are the first few lines of my ResourceManager class:
    public class ResourceManager {
    static Connection conn = null;
    static String DB_URL = "jdbc:ids://localhost:12/conn?dsn='ttdoverIDS'";
    static String DB_USERNAME = "";
    static String DB_PASSWORD = "";
    static {
         try {
         Class.forName( "ids.sql.IDSDriver").newInstance();
         conn = DriverManager.getConnection(DB_URL, null);
    }catch (Exception e) {
         e.printStackTrace();
    What is happenening is that everytime the user interacts with the database a new connection is created. And that is a probable reason why the application slows down after about 30 mins of extensive use by 8-9 concurrent users.
    I want to know how to use connection pooling instead of DriverManager class. Can I modify my ResourceManager class to connect using ConnectionPool instead of DriverManager?
    Any help would be appreciated.
    m_stan

    1) In the Java SDK, there's no such thing as a ConnectionPool class. Maybe you can find one on the net or build your own (it's really not that difficult).
    2) MS-Access is not exactly a high-performance, concurrent-access database, so don't expect a lot from it.
    3) What kind of computer are you using to run this application? 8 users may be a lot for a small system.
    4) Even if you are creating one connection at a time, make sure you are closing every one of them right after executing the query/update. Maybe the DB is clogged with connections left open.

  • Problem with include and relative path in jsp

    Precompile jsp with wlappc in 9.2, I got the error "The include file was not found" when the jsp use <%@ include file="../includes/dataEntry/code_error.html" %>
              This code used to work with 8.1. I notice that someone has report the same problem with 9.0 and you have patch for it. Is it fix in 9.2 or do I require a patch as well?
              Thanks,
              Khuemy

    When you precompile, can you say "Keepgenerated=TRUE". It might help you track
              down the difference with the URL. You should only get a 404 error when the
              resource is not found at runtime, which is independant of when you compile. The
              difference should be in how the URL is compiled.
              Chris
              ali wrote:
              > I am using WLS 6.0 SP1, when I use relative path in <jsp:forward> in my JSPs
              > it forwards ok if I am using directly JSPs but if I am using pre-compiled
              > JSPs (and have proper servlet-mappings
              > in my web.xml), I get 404 error with the relative-path, if I change it to
              > absolute path with pre-compiled JSPs it forwards ok , then.
              > any ideas why this is so?
              > thanks,
              

  • How to use connection pooling in jsp?

    I'm new to world of JSP. I'm developing web application using Oracle 8i and JSP to implement it. I'm using jakarta-tomcat server for this purpose.
    I'll frequently access the database. so I want to use the connection pooling.
    Can anybody explain the simple procedure to use it
    thanx

    Hello syyuen,
    Please help me, here iam sending u my server.xml , web.xml and servlet
    application. I put classes12.jar in tomcat/common/lib. and above servlet
    class application under tomcat/webapps/root/web-inf/classes
    and this is a simple servlet program for getting connection from the
    connection pool of tomcat using tyrex..
    my oracle database name is "myuser" and password is "mypass"
    either u check my server.xml or tell me where under which tag should i
    place <Resource...> tag in server.xml and should i need to modify any
    other places..??
    server.xml
    <Server port="8005" shutdown="SHUTDOWN" debug="0">
              <!-- Tomcat Stand-Alone Service -->
    <Service name="Tomcat-Standalone">
         <!-- Non-SSL HTTP/1.1 Connector on port 8080 -->
    <Connector className="org.apache.catalina.connector.http.HttpConnector"
    port="8080" minProcessors="5" maxProcessors="75"
    enableLookups="true" redirectPort="8443"
    acceptCount="10" debug="0" connectionTimeout="60000"/>
              <!-- AJP 1.3 Connector on port 8009 -->
    <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
    port="8009" minProcessors="5" maxProcessors="75"
    acceptCount="10" debug="0"/>
              <!-- Top level container in our container hierarchy -->
    <Engine name="Standalone" defaultHost="localhost" debug="0">
         <!-- Global logger unless overridden at lower levels -->
    <Logger className="org.apache.catalina.logger.FileLogger"
    prefix="catalina_log." suffix=".txt"
    timestamp="true"/>
         <!-- Because this Realm is here, an instance will be shared globally
              <Realm className="org.apache.catalina.realm.MemoryRealm" /> -->
                   <!-- Replace the above Realm with one of the following to get a Realm
                   stored in a database and accessed via JDBC -->
                   <!-- <Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
                        driverName="org.gjt.mm.mysql.Driver"
                        connectionURL="jdbc:mysql://localhost/authority?user=test;password=test"
                        userTable="users" userNameCol="user_name" userCredCol="user_pass"
                        userRoleTable="user_roles" roleNameCol="role_name" />
                   -->
    <Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
              driverName="oracle.jdbc.driver.OracleDriver"
                   connectionURL="jdbc:oracle:thin:@oracle:1521:ORCL"
    connectionName = "mail"
    connectionPassword = "mail"
              userTable="users" userNameCol="user_name" userCredCol="user_pass"
                   userRoleTable="user_roles" roleNameCol="role_name" />
                        <!-- <Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
                        driverName="sun.jdbc.odbc.JdbcOdbcDriver"
                        connectionURL="jdbc:odbc:CATALINA"
                        userTable="users" userNameCol="user_name" userCredCol="user_pass"
                        userRoleTable="user_roles" roleNameCol="role_name" />
                        -->
                   <!-- Define the default virtual host -->
    <Host name="localhost" debug="1" appBase="webapps" unpackWARs="true">
         <Valve className="org.apache.catalina.valves.AccessLogValve"
         directory="logs" prefix="localhost_access_log." suffix=".txt"
         pattern="common"/>
    <Logger className="org.apache.catalina.logger.FileLogger"
    directory="logs" prefix="localhost_log." suffix=".txt"
         timestamp="true"/>
                   <!-- Tomcat Root Context -->
                   <!-- <Context path="" docBase="ROOT" debug="0"/> -->
                   <!-- Tomcat Manager Context -->
    <Context path="/manager" docBase="manager" debug="0" privileged="true"/>
    <!-- MY CONTEXT HERE -->
         <Context path="/localhost" docBase="localhost" debug="0" reloadable="false" override="true">
              <Resource name="jdbc/myConnection" auth="SERVLET" type="javax.sql.DataSource"/>
              <ResourceParams name="jdbc/myConnection">
                   <parameter><name>user</name><value>myuser</value></parameter>
                   <parameter><name>password</name><value>mypass</value></parameter>
                   <parameter><name>driverClassName</name><value>oracle.jdbc.driver.OracleDriver</value></parameter>
                   <parameter>
                        <name>url</name>
                        <value>jdbc:oracle:thin:@oracle:1521:ORCL</value>
                   </parameter>
                   <parameter>
                        <name>maxActive</name>
                        <value>32</value>
                   </parameter>
                   <parameter>
                        <name>maxIdle</name>
                        <value>10</value>
                   </parameter>
              </ResourceParams>
    <!-- END OF MY Context, Oracle username=myuser,password=mypass -->
    <!-- i pasted this context from somebody . should i need whole context or resource name in that...???? -->
    <!-- Tomcat Examples Context
    <Context path="/examples" docBase="examples" debug="0" reloadable="true" crossContext="true">
    -->
    <!--
    <Logger className="org.apache.catalina.logger.FileLogger" prefix="localhost_examples_log." suffix=".txt" timestamp="true"/>
         <Ejb name="ejb/EmplRecord" type="Entity" home="com.wombat.empl.EmployeeRecordHome" remote="com.wombat.empl.EmployeeRecord"/>
    <Environment name="maxExemptions" type="java.lang.Integer" value="15"/>
    <Parameter name="context.param.name" value="context.param.value" override="false"/>
    <Resource name="jdbc/EmployeeAppDb" auth="SERVLET" type="javax.sql.DataSource"/>
    <ResourceParams name="jdbc/EmployeeAppDb">
    <parameter><name>user</name><value>sa</value></parameter>
    <parameter><name>password</name><value></value></parameter>
    <parameter><name>driverClassName</name><value>org.hsql.jdbcDriver</value></parameter>
    <parameter><name>driverName</name><value>jdbc:HypersonicSQL:database</value></parameter>
    </ResourceParams>
    <Resource name="mail/Session" auth="Container" type="javax.mail.Session"/>
    <ResourceParams name="mail/Session">
    <parameter>
    <name>mail.smtp.host</name>
    <value>localhost</value>
    </parameter>
    </ResourceParams>
    -->
    </Context>
    </Host>
    </Engine>
    </Service>
         <!-- Define an Apache-Connector Service -->
    <Service name="Tomcat-Apache">
    <Connector className="org.apache.catalina.connector.warp.WarpConnector"
    port="8008" minProcessors="5" maxProcessors="75"
    enableLookups="true" appBase="webapps"
    acceptCount="10" debug="0"/>
                   <!-- Replace "localhost" with what your Apache "ServerName" is set to -->
    <Engine className="org.apache.catalina.connector.warp.WarpEngine"
    name="Apache" debug="0">
                   <!-- Global logger unless overridden at lower levels -->
    <Logger className="org.apache.catalina.logger.FileLogger"
    prefix="apache_log." suffix=".txt"
    timestamp="true"/>
                   <!-- Because this Realm is here, an instance will be shared globally -->
    <Realm className="org.apache.catalina.realm.MemoryRealm" />
    </Engine>
    </Service>
    </Server>
    web.xml
    <web-app>
    <servlet>
    <servlet-name>conServlet</servlet-name>
    <servlet-class>conServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>conServlet</servlet-name>
    <url-pattern> /conServlet </url-pattern>
    </servlet-mapping>
    <resource-ref>
    <description> Resource reference to java.sql.Connection
    factory defined in server.xml
    </description>
    <res-ref-name>jdbc/myConnection</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    servlet application
    DataSource ds = (DataSource) new InitialContext().lookup("java:comp/env/jdbc/myConnection");
    conn = ds.getConnection();
    out.println("conn : " + conn);

  • Using session bean in JSP

    Dear All
    I write a BorrowList session bean and tested OK in console mode. I can't use it in the JSP, Dose any body tell me How can I create this bean in the JSP and when should I place the bean classes(Home, Bean and Remote).
    I'm now using the BEA Weblogic 7.0
    I'm appreicate if anybody can help me.
    Best Regards
    YU

    U may be used the code similar to following :
    Context context = new InitialContext.();
    Object obj = (Object)context.lookup("Your JNDI name");
    YourHome home = (YourHome)obj.portableRemoteObject.narrow(obj,
    YourHome.class);
    YourRemote remote = home.create();
    System.out.println("your Business methods : "+remote.businessMethod1());
    Put this code or whatever code used in ur console client in JSP and invoke the businessMethods using remote object.
    I worked with BEAWeblogic 5.1, I think similar case may be there with BEA Weblogic7 also.
    First, make a jar file with ome.Remote and Bean by using the deploymenttool, then compile with ejb compiler, the new Jar is the complete deployable file. Take this file and register in weblogic.properties file that is specify the path of the Jar file in the weblogic.properties file. and put the JSP in public-html directory and start the server. if the bean is deployed successfully, open JSP file in a browser then it will work.... if the bean is not deployed you won't get any result.
    I can say, just placing the initialContext part of code on the JSP and running the JSP. I think, this may helps u...
    Ramana

  • Using BI Bean in JSP

    Hi,
    Can anyone please provider some pointers on using BIBeans in a JSP page. There are few options in my knowledge.
    1)Using BI-Beans API for writing our own JSP tags.
    2)In Jdev(10g) there seems to be some support for Graphs through ADF.
    3)JSP and UIX tags provided BI-Graph beans.
    thanks
    Rahul

    U may be used the code similar to following :
    Context context = new InitialContext.();
    Object obj = (Object)context.lookup("Your JNDI name");
    YourHome home = (YourHome)obj.portableRemoteObject.narrow(obj,
    YourHome.class);
    YourRemote remote = home.create();
    System.out.println("your Business methods : "+remote.businessMethod1());
    Put this code or whatever code used in ur console client in JSP and invoke the businessMethods using remote object.
    I worked with BEAWeblogic 5.1, I think similar case may be there with BEA Weblogic7 also.
    First, make a jar file with ome.Remote and Bean by using the deploymenttool, then compile with ejb compiler, the new Jar is the complete deployable file. Take this file and register in weblogic.properties file that is specify the path of the Jar file in the weblogic.properties file. and put the JSP in public-html directory and start the server. if the bean is deployed successfully, open JSP file in a browser then it will work.... if the bean is not deployed you won't get any result.
    I can say, just placing the initialContext part of code on the JSP and running the JSP. I think, this may helps u...
    Ramana

  • Error when using %@ include file="/test.jsp"%&

    UsingNitrox version 2.1 M3 (build 419 06022005):
    with jdk version: 1.5.0_03 and Tomcat 5.5.9
    This is the error :cry: when using <%@ include file="/test.jsp"%> in jsp:
    Severity     2
    The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files (test.jsp)
    It used to work in previuos version of Nitrox. I can't use struts tiles because the tiles content is dynamic (run time) and I need it to be static (at compile time).
    Have you encountered this problem? What is the fix? Nitrox bug?
    I need your help please,
    Alberto

    M7,
    I found the problem :wink: . In the java Build path having the default (ALL) is not picking up the content of the package. I had to use add multiple and include all the folders and subfolders (many L) in my packages. After that I added *.java and *.properties to select all the java files. Now it is working. I assume this is a bug in Nitrox. The default ALL should include the all the files in the path.
    Thanks,
    Alberto

  • JSF always uses absolute path

    Hi I am new to JSF. You might be able to help me with an absolute path problem I encountered in my project.
    Our team has a JSF project called PHA, it has been deployed to 8 production machines. Recently I made some change to it and want to test it on one of my company's testing machine n251. In order to access n251, I need to use my company's proxy bbweb1. Here is the URL I ran:
    http://bbweb1.xxxxx.com/bravo/pxhistory/map/n251/charlie/pha/ to access PHA on n251.(BTW, we use http://bbweb1.xxxxx.com/charlie/pha/ to access our production machines.) It seems like I got my main PHA page from N251. But when I clicked any
    of the menu bars, bbweb1 proxy always ignores the relative path "bravo/pxhistory/map/n251" and simply rediect me to the main page again on one of our production machines. Here is the URL AFTER I clicked the menu bar:"http://bbweb1.xxxxx.com/charlie/pha/faces/jsp-pages/main page.jsp;jsessionid=CC8BD42D458EB5361532FF99FC1F5D83". I studied my code for the last 3 days and didn't find any problem. An only wild guess is: when I view source on my IE, I found JSF
    always use absolute path :
    src="/charlie/pha/faces/myFacesExtensionResource/tree2.HtmlTreeRenderer/1161281
    90776/javascript/tree.js"></script><script type="text/javascript" I don't know if this indicates why I failed to route to N251. Could this cause by a wrong config on bbweb1? or is there some trick I don't know? ... Since I don't
    have much experience on JSF, can you please help me with this? Thanks in advance.

    I wish there were. I don't know of any way to do this. Why
    not submit it
    here -
    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "mikeycorn" <[email protected]> wrote in
    message
    news:gou2p7$8dl$[email protected]..
    > When I design my newsletters in Dreamweaver, I always
    have to manually
    > switch
    > the image links to the absolute path before sending it
    out as an email.
    > Is
    > there a way I can switch back and forth between relative
    paths for when
    > I'm
    > designing the site and absolute paths for when I'm doing
    the newsletter?
    >

  • MIDP emulator and using local path

    I couldn't find a forum that dealt with just J2ME or MIDP so I figured I would have the best luck posting this in the main fourm. What I want to know is if anyone knows of a way to get the midp (ver 2.0) emulator to accept local paths (i.e. c:\examples\game.jad). The only way that I've seen to install MIDlets on to the emulator is to try to use http://localhost:8080/directory. I tried to use this, but I had no luck. I've looked through all the documentation, but was unable to find any information that allowed me to use regular paths. Any help would be greatly appreciated. Sorry if some of my terminolgy is incorrect, I come from a C/C++ background and have yet to get all of the Java lingo down. Thanks
    -Nebruin

    well, i didnt quite get what ur looking for, but there are J2ME forums, hope u will get some help there...
    CLDC and MIDP - http://search.java.sun.com/search/java/index.jsp?col=javaforums&qp=%2Bforum%3A76&qt=&x=12&y=7
    CLDC/K Virtual Machine - http://search.java.sun.com/search/java/index.jsp?col=javaforums&qp=%2Bforum%3A79&qt=&x=18&y=7
    K Virtual Machine (KVM) - http://search.java.sun.com/search/java/index.jsp?col=javaforums&qp=%2Bforum%3A50&qt=&x=-2&y=1
    J2ME Wireless Toolkit - http://search.java.sun.com/search/java/index.jsp?col=javaforums&qp=%2Bforum%3A82&qt=&x=16&y=2
    Programming Wireless Devices with J2ME Technology - http://search.java.sun.com/search/java/index.jsp?col=javaforums&qp=%2Bforum%3A196&qt=&x=9&y=8

  • Can any one suggest me how can I use relative path inside SSIS pacakge to access config file ?

    Can any one suggest me how can I use relative path inside SSIS pacakge to access config file ? Please help me as its urgent.THanks for your help in advance.

    Hi Jay,
    SSIS can only recognize the absolute path of a XML Configuration file, the relative path is not supported. Furthermore, if the XML Configuration file is already generated, we can use the Environment variable package configuration type instead so that
    SSIS runtime automatically looks for the configuration file from the path defined in the environment variable. This is convenient when we need to deploy a package to different environment. We only need to define the environment variable for package configurations
    once on each server, and then the variable can be used by all the packages on this server.
    Regards,
    Mike Yin
    TechNet Community Support

  • What are the reasons for using absolute paths to embedded objects in word?

    Hello,
    hopefully someone can answer me the question why word always stores the absolute paths to linked objects? We use Word for documentation and these documents are stored in a version control system and sometimes several persons are working on a document. Because
    of the absolute paths stored in the document all users would need to have the same directory structure so that the links would work for every person.
    For linked objects it's not even possible to change the absolute paths to relative paths.
    Additionally I would like to know what the difference between a "Graphic" and "Picture" object is. A graphic can be inserted by selecting "INSERT" -> "Pictures" and a "Graphic" doesn't seem to have a field
    function and always uses absolute paths. "Graphics" can be inserted by selecting "INSERT" -> "Quick Parts" -> "Field..." -> "IncludePicture" and it's possible to use relative paths for "IncludePicture"
    objects and it's possible to show the field function of a "Picture" object.
    Regards
    Martin

    This seems to be by design, not too much information about this. The thread below should be helpful for you to understand it:
    https://social.technet.microsoft.com/Forums/office/en-US/6d4445e1-cdc5-4b3b-9355-9081c963fdd9/unable-to-use-relative-object-links-in-word-office-2010-sp1
    Also, from the thread below, you will find some workarounds for this issue:
    http://windowssecrets.com/forums/showthread.php/102080-Relative-Paths-in-Word-Fields-(All)?p=584769&viewfull=1#post584769
    Aravindhan Battepati

  • How to use mxml in a jsp file?

    I'm trying to use flex in a .jsp file. I followed the
    suggestion that I use the Flex 2 Tag library as suggested by this
    link:
    http://labs.adobe.com/wiki/index.php/Flex_2_Tag_Library_for_JSP#Download_and_Installation
    but I couldn't find it. I also downloaded LiveCycle Data Services
    ES but couldn't find the flex-bootstrap.jar.
    I have a simple example:
    <!--<%@ taglib uri="FlexTagLib" prefix="mm" %>-->
    Use the <mxml> tag to insert a Flex application in an
    existing JSP page. The following example shows the <mxml> tag
    with the source attribute to include an external MXML file:
    <mm:mxml source="CustomerServiceChat.mxml"/>
    Alternatively, you can use the <mxml> tag with inline
    MXML source code, as the following example shows:
    <mm:mxml>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns="*">
    <mx:Text label="Hello World">
    </mx:Application>
    </mm:mxml>
    I also added the following code in my web.xml:
    <taglib>
    <taglib-uri>FlexTagLib</taglib-uri>
    <taglib-location>/WEB-INF/lib/flex-bootstrap.jar</taglib-location>
    </taglib>
    and obviously I get an error because I don't have the
    flex-bootstrap.jar file. Please let me know how this can be
    corrected. Thanks in advance!

    Adobe Newsbot hopes that the following resources helps you.
    NewsBot is experimental and any feedback (reply to this post) on
    its utility will be appreciated:
    Adobe - Developer Center : Flex quick start guide for PHP
    developers:
    Apr 30, 2007 ... In this example, I changed the result data
    type to XML with E4X support by setting .... In Flex you would
    download a file using this code:
    Link:
    http://www.adobe.com/devnet/flex/articles/php_getstarted.html
    2d. Tutorial - Flex 3 Getting Started - Adobe Learning
    Resources:
    See Calling XML Web Services over the Web Using the Web
    Service References ... For information on integrating PHP and Flex
    using AMF to encode the data,
    Link:
    http://learn.adobe.com/wiki/display/Flex/2d.+Tutorial
    Mike Potter: Flex and PHP - A simple sample:
    I have other example with PHP and MySql and give the same
    error, and a example .... Flex Data Services... I choose None (???)
    because I work with php and
    Link:
    http://blogs.adobe.com/mikepotter/2006/02/flex_and_php_a_1.html
    Adobe - Developer Center : Transmitting data between Flex and
    PHP:
    Sep 4, 2007 ... Now that the user interface is set up and
    ready to go you can add the HTTP services to go ask for the data
    from the PHP code. In Flex you
    Link:
    http://www.adobe.com/devnet/flex/articles/flex_php_json.html
    Integrating Adobe Flex and PHP:
    Mar 1, 2006 ... The first step is to download Flex Builder
    2.0 from the Adobe labs ... For example, you could use this same
    PHP script to pass data to a
    Link:
    http://devzone.zend.com/article/11-Integrating-Adobe-Flex-and-PHP
    Disclaimer: This response is generated automatically by the
    Adobe NewsBot based on Adobe
    Community
    Engine.

Maybe you are looking for

  • Getting syntax error while running ODI project

    Greetings, First time here with ODI. I'm using ODI version 10.1.3.5 and get the following error below on execution. I'm reading from a flat file to a mssql table. Not sure if this matters, but ODI is installed on one server running sql2005, while the

  • HP Recovery usb device failed

    have a new HP laptop: HP ENVY 15t-j100 Select Edition CTO Notebook PC (ENERGY STAR)  Product Number: E9W31AV Several hours after its first boot the laptop failed to load and I got a message saying it can't load win 8.1 os. (this was two month ago and

  • FB60 & MIR7

    Dear All, In FB60 / MIR7 , How system calculate baseline date. Actually my details are like, IN vendor master, payment terms are R011 i.e  Fixed Days is 15 Days and Default for base line date is Posting Date Now in FB60 , Invpoce Date 25.04.2010 and

  • Creation of Line Item for TDS

    Hi I am facing an issue while posting the vendor invoice. When posting the vendor invoice, system is automatically creating a debit entry to TDS account for Ecess, whereas the other Line items for TDS are created correctly. We have maintained the pos

  • Posting the GR with FM mb_create_goods_movement use the T-code MIGO

    Can any one suggest me It is possible Post the GR with help of FM mb_create_goods_movement with Transaction MIGO . The reason for MIGO i want to Post GR with Handling unit . I try to post the GR with FM It always export some value in EMKPF-mblnr fiel