WebToGo BC4J + Struts + UIX application

Is there any possibility to write a complete BC4J + Struts + UIX web application to run in the Oracle Lite platform??
The documentation says about implementing a Servlet, but is it possible to install the .jar files of the struts & uix frameworks and register the *.do & *.uix extensions? What is the specification of the HttpServlet to be implemented?
What about performance? Could this combination run in a WinXP PIV offline Laptop with reasonable performance?
Where can I find this kind of information??
Thanks
Eduardo

UIX is not supported in 5.0.2.x release. The next release (10g) will have complete UIX support. Beta release of 10g is already out in case you are interested in trying UIX with it.
For BC4J refer to 'Chapter 6 BC4J Tutorial' of 'Oracle9i Lite Developer’s Guide'
Limited support for Struts is there in 5.0.2.10.0 release. If you have the handler for .do extension files then you can use following:
You can add mime handler to Mobile Server for .do extension by using a ini file. Copy following lines in a file called addmime.ini
[DATABASE]
TYPE=ORACLE
[MIMETYPES]
NAME = do
VALUE=text/html
PLUGIN=<handler class name>
and run this ini file as following
wsh -c addmime.ini mobileadmin/[email protected]

Similar Messages

  • Struts/UIX/JavaScript Child Windows

    I have seen an example of using JavaScript to execute a Struts action mapping that is implemented using UIX. I would like to know if this will work in UIX.
    HC_doOpenRemote('<html:rewrite forward="item"/>');
    This function would be a simple JavaScript function that would cause a child window to be opened and cause the forward to the Struts action item to be executed resulting in the page being displayed.
    Is this possible in UIX? If so, please outline the steps to do it.
    By the way I got this example out of the book Struts In Action by Ted Husted.

    Thanks Adam for the example. The "event" part of the code helped me to do what I needed. (By the way, if there is a more direct way to do this let me know.)
    The issue for me is that the server does not know when a child window page is opened and this causes the blackhole as far as Struts is concerned. Working with Struts events is important because it provides easy integration with BC4J through the BC4JRequestProcessor.
    So your example suggested that I should implement an UIX page that strictly handles events that are recieved from a page that is opening the child window.
    Each event is named differently and makes a call to a Struts event. (The UIX event handler is the only place that UIX can deal with Struts events.)
    Here is some example code:
    The main.uix page has the following links:
    <link text="Open UIX page (events only), transfer control through Struts event. #1">
    <!-- Let's send a request to open a window with an initial event -->
    <boundAttribute name="onClick">
    <concat>
    <fixed text="openWindow(self, '"/>
    <ctrl:pageURL name="/pages/transferwindow" event="GoToRealPage1"/>
    <fixed text="');return false"/>
    </concat>
    </boundAttribute>
    </link>
    <link text="Open UIX page (events only), transfer control through Struts event. #2">
    <!-- Let's send a request to open a window with an initial event -->
    <boundAttribute name="onClick">
    <concat>
    <fixed text="openWindow(self, '"/>
    <ctrl:pageURL name="/pages/transferwindow" event="GoToRealPage2"/>
    <fixed text="');return false"/>
    </concat>
    </boundAttribute>
    </link>
    The transfer.uix page only handles UIX events passed in from JavaScript:
    <?xml version="1.0" encoding="windows-1252"?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:html="http://www.w3.org/TR/REC-html40"
    xmlns:struts="http://xmlns.oracle.com/uix/struts">
    <content>
    <!--
    This is a UIX page that is used only to transfer control to a Struts
    event. This is important to Struts/UIX applications that use child
    windows since the Struts controller is on the server side and child
    windows are launched on the client side.
    -->
    </content>
    <handlers>
    <!-- Add EventHandlers (<event> elements) here -->
    <event name="GoToRealPage1">
    <struts:action path="/realchild1.do"/>
    </event>
    <event name="GoToRealPage2">
    <struts:action path="/realchild2.do"/>
    </event>
    </handlers>
    </page>
    And then the struts-config.xml:
    <action path="/realchild1"
    type="org.apache.struts.actions.ForwardAction"
    parameter="/pages/realwindow1.uix">
    </action>
    <action path="/realchild2"
    type="org.apache.struts.actions.ForwardAction"
    parameter="/pages/realwindow2.uix">
    </action>

  • BC4J/Struts Integration classes

    Does anyone know of any documentation on the BC4J classes that are used in Jdeveloper for struts integration?
    I have access to the source that came packaged in jdeveloper but I still have questions about the classes BC4JActionMapping,BC4JRequestProcessor,BC4JActionForm,BC4JUtils,BC4JContext, and HTTPContainer.
    One of my initial questions is whether I should specify the view object name I'm using in an action in my struts-config.xml file as I do with the application module? Also, when I do this how do I programmatically access it.
    I'm also interested in how the BC4J Client Data Model ".cpx" is used and if this needs to be packaged when deploying a bc4j/struts web application.
    The postings at Re: re:Using Struts without Datatags <jbo:xxx> by Steven Muench were terrific. A great start for understanding the integration of the two technologies. I would just like more detail on how/why bc4j leverages struts extension points.
    Thanks in advance!

    part 2 of posting:
    <action path="/navigateEmpView1" parameter="jboEvent" type="oracle.jbo.html.struts11.actions.NavigationAction">
    <set-property property="viewobject" value="EmpView1"/>
    <set-property property="application" value="Mypackage1Module"/>
    <set-property property="releasemode" value="Stateful"/>
    </action>
    Since NavigationAction is a Struts DispatchAction (instead of calling the execute method on the action, the method name to execute is passed using a request parameter), you will need to specify the event name on the request with the URL:
    /nextEmpView1.do?jboEvent=next
    To understand how this work, you need to look at how the BC4JContext is initialized:
    The following code is extracted from BC4JrequestProcessor:
    BC4JContext context = (BC4JContext)request.getAttribute(BC4JContext.ContextAttrName);
    // Instantiate the context and save it on the request
    if (context == null)
    context = new BC4JContext();
    request.setAttribute(BC4JContext.ContextAttrName, context);
    if (initPageFromPath(bc4jMapping, request, response))
    // First initialize context with the existing mapping values
    bc4jMapping.initializeContext(request, response, context);
    // Then use request para[i]Long postings are being truncated to ~1 kB at this time.

  • BC4J UIX Application deploy

    Hi,
    I'm using JDeveloper 9.0.3 and I deployed a BC4J UIX Application on Oracle9iAS 9.0.3 J2EE Containers (Standalone) on NT.
    When I'm accessing to the application module page, I have the following error
    JBO-33001: Cannot find the configuration file Module1\common\bc4j.xcfg in the classpath
    I will appreciate any help
    Thanks,
    Fernando

    I have found the problem , and now its working!!!
    The problem was that the java.exe that was running on the server was not the correct.
    Thanks anyway,
    Till next
    Fernando

  • Oracle lite webtogo BC4J

    hi....
    i have installed oracle lite webtogo BC4J.I have developed an application using jdeveloper JSF ADF BC techology and deployed it on to the mobile server.Now when i use mobile client web server and open this application.Can i use it in disconnected mode.i.e can i use the application in offline mode????

    Marcel,
    You are correct, Webtogo does not support JSF. JSP/Servlets/Struts/Tiles are the only things supported. Also correct that it is not a J2EE container, but why would you require enterprise components in a disconnected mode?
    I read over the ADF/BC4J tutorial and it doesn't mention any additional install that would have to happen. I would think that the JARs would be downloaded to the client accordingly.
    For your JDBC connection you can use either the Webtogo driver or the Polite driver. Your application, once deployed should be using the Webtogo driver.
    // Using the webtogo driver
    public Connection getConnection()
       Class.forName("oracle.lite.web.WTGJdbcDriver");
       conn = DriverManager.getConnection("jdbc:oracle:webtogo");
       return conn;
    // Using the polite driver
    public Connection getConnection()
       Class.forName("oracle.lite.poljdbc.POLJDBCDriver");
       conn = DriverManager.getConnection("jdbc:polite:USERID_dbdsn");
       return conn;
    }

  • Display the id of new Record in the browse page of BC4J Struts App

    I am working on an application using BC4J Struts with backbone on Oracle 8i.I am using DBSequence Type for my Employee ID.Since I am using this Id as search criteria for employee, I want to show Employee Id after insertion of new Employee.How can I display this ID to the user after insertion of new employee...

    Hi and welcome,
    please find a technical forum that matches to your question. Certification is the wrong forum.
    Mod: I'm locking this OT thread.

  • Polling in BC4J Struts

    Hi folks,
    How would I achieve a polling functionality? One of our applications is setup with the 10gR2 version which comes with BC4J and Struts(Struts was a personal choice). I understand we have an af:poll tag with jsf which helps us to achieve the polling functionality. My query is how would I go about doing the same thing through Struts and BC4j. We don't have JSF, so its kind of tricky.
    My actual requirement is as follows:-
    I basically need to call an oracle report from java. I do this by having a custom implementation of the rwservlet. The oracle report generates a PDF file locally. Which I then need to store on my Database as a BLOB.
    I know how to call the report.
    I know where the pdf is located.
    I know how to store and retrieve the pdf from the DB through Struts.
    My only issues is in instructing my application from the report side to pick up the pdf file when the report is complete. I was thinking in these lines:-
    Rather than passing the instruction from the report side,in my struts action class i would set up some polling mechanism(which i don't know how to) that would tell me to look for the report in 2 minutes(which is how long the report takes to be generated), then pick it up and store it onto the DB.
    Since i "lose control" of the handle after redirecting to a different servlet for the report call, I don't see another alternative other than polling.
    Is there an alternative approach i can adopt to achieve the above functionality?
    If not, is it possible to poll through BC4J/Struts (as against ADF/JSF)?
    If not, please help :) .
    Cheers,
    K

    There is another danger related to this security hole:
    Struts suggests to locate JSPs below the WEB-INF directory to protect them from direct access. A JSP located here cannot be accessed directly but only using the appropriate action.
    One common approach implement security in a struts framework is to perform the required checks in actions. A user not logged in might for example been forwarded to the login screen instead of the requested page.
    If an Application relies on this fact and assumes that it is not possible to call a JSP located in WEB-INF without using the appropriate actions, this bug here opens another hole:
    The "currentPath" Parameter allows a user to call any JSP on your Web-Server! Simply modify the URL to look like this:
    navigate.do?amId=...&jboViewObject=...&currentPath=WEB-INF\path\to\any\page.jsp
    and you are in!
    Frank Brandstetter

  • Link for BC4J Struts-JSP and Tiles

    Hi,
    I have a JSP-Struts application. By the default generation, JDeveloper build a main.html Page. This page have many Frames and one Frame is "navFrame". On this frame I have a link for a JSP Page : Browse. The call is OK. No Problems.
    No I have another Page with Tiles :
    <template:insert page="IMDLayout.jsp" flush="true">
    <template:put name="title" value="Invoices Interface" />
    <template:put name="header" value="/tiles/common/header.jsp" />
    <template:put name="footer" value="/tiles/common/footer.jsp" />
    <template:put name="menu" value="/tiles/common/menu.jsp" />
    <template:put name="body" value="VInvoiceUsersView1_Browse.do" />
    </template:insert>
    The "body" Tiles call the same JSP Page as the link on the "navFrame", but now I have the following error :
    [ServletException in:VInvoiceUsersView1_Browse.do] Response has already been committed'
    Why ?
    Please help me, I need a solution. Does somebody use BC4J/Struts/Tiles ? Any Experience ? Problem ?
    Thanks
    Yves

    Repost

  • Suggested Migration Path (BC4J/Struts - ?)

    We built a BC4J/Struts apps a couple years back closely modeled after the BC4J ToyStore. It has been quite successful for us. However, I'm feeling like its technology stack is a bit dated, and would like some suggestions on bringing it more current.
    BC4J (ADF) has been pretty solid for us, so I'm thinking of sticking with that instead of considering something else (Toplink, Hibernate, JPA, ...).
    It would be cool to hear from others who were/are in a similar situation, and what they decided to do (tips, tricks, lessons learning from the trenches, ...). Thank you.
    - Matt

    I've worked in situations like this.
    Personally, I think that if ADF BC/BC4J is working for you, there's no need whatsoever to migrate away from it. I imagine some might disagree with me on this, though.
    The logical successor to Struts is JSF--since you're working in ADF, you'd probably want to use the ADF Faces components. Here, so far as I can tell, is the deal:
    1) The UIX -> Faces migration utility is pretty smooth, unless you made heavy use of .uit templates. There's no equivalent in Faces, so you'll have to drop what was previously template code into place on your individual faces pages.
    2) Moving from Struts to Faces...well, it depends on how heavily you used Struts, beyond the declarative bit. The declarative part is pretty easy to duplicate, but migrating controller code you've written in Struts over to Faces is manual, and in my experience not always 100% smooth. There isn't, for example, a clear action/page separation, so you'll need to find something to do with code you had written in Struts Actions and DataActions.
    Desppite these hurdles, I'd still recommend making the switch--the ADF Faces components are in many ways a big improvement over UIX components.

  • Which Web Client Framework? BC4J-JSP, UIX-JSP, UIX-XML, etc

    Trying to determine which, if any of the JDeveloper frameworks, to use for do web browser (HTML) clients.
    What are the pros/cons of BC4J-JSP, UIX-JSP, UIX-XML, etc?
    What are some common things you might rule out using one or more of the frameworks?
    I plan to be using BC4J, updating, inserting data (currently MS-SQL) and the apps will run on WebLogic 7 or Caucho Resin (webapps no EJB) in a cluster. I would like to be as RAD as possible and still be able to do what I need to do. One main concern is being able to add custom HTML/JavaScript for things like client side validation. I didn't see a way to do this when doing BC4J-JSP. Is that right?
    If I define any validation in the BC4J, will UIX utilized any of this to define a JavaScript validator or must it be redudantly defined?
    One other concern is what the framework requires in terms of architecture, like do I have to have sticky sessions in my web cluster or can it work fine stateless or stateful?
    For UIX-XML, how is this architected for performance? Specifically, is the XML effectively compiled and converted into something more efficient and performant or does it do XML parsing all the time? Is there any significant performance differences between the frameworks?
    Is there any significant difference in dealing with security? Anything in the framework to make it easier to handle certain users being able to see/edit different set of data?
    I have things like some groups can edit only certain entities (product info but not pricing), others only certain types of products (possibly subclass entities) and others situations where what fields than can edit varies. Obviously I can handle this programmatically, but I was wondering what the frameworks had to offer, especially in terms of having different views of the same data.
    Steve

    ...I am little confused then about how BC4J works and what is meant by "session" here.
    When you talk about appmodules in the plural, does this mean that there are potentially multiple instances of the same data on a single server or there is a common datastore with pending data and client specific stuff varying?
    The common datastore is the database. Each client (momentarily, during the span of their request) uses an instance of an application module from the pool. The pool can grow and shrink with load on your system and all of the various tuning parameters. Our doc on the AM Pool covers all the parameter settings and their users.
    What kind of "session" is this?
    It is an abstract notion of a session for a user. The implementation used for Web clients uses the HTTP Session Key as the session key. However, we have other session implementations (and you can provide your own to do custom stuff for more sophisticated needs). We don't store anything else in the HTTP Session to the best of my knowledge. This way in a cluster, the web container doesn't have to waste time propagating all of your serialized HTTP Session state among cluster members. This session key also include an id for the application module and together those provide the key to store your pending state in the database for the "Stateful == Managed State" feature.
    I assume that if I have a cluster which doesn't use session-to-same-server-affinity but uses JDBC for http-session persistance or distributed in-memory http-sessions then I cannot use stateful BC4J even though I can use http-sessions.
    You can use BC4J in this way because the browser will send a cookie that contains the key to your database-stored pending state. In this way, we work great in a server farm for failover and/or scalability reasons.
    Even if I use stateless BC4J, are there issues with round-robin'ng all requests to different servers in a cluster?
    As I said, both our Stateless and Stateful features are designed to be used in Server farms, no problem.
    BTW I wouldn't necessarily say you picked the wrongs terms for the modes, but I know what you mean. There's problems with these terms. I am trying to explain to my mgrs/engineers that there is some state in stateless transactions - that simply making everything "stateless" doesn't mean don't lose anything in a disastrous failure. I am arguing to get support for sessions in our cluster, that the performance gain and simplified development is worth it as long as you put intelligent limits on what you store in the session. Right now, they are insisting on randomly sending requests into two entirely different data centers, with two different clusters.
    Amen. I have seen too many developers make the mistake of trying to be totally stateless, only to completely complicate their development environment with having to peristent partially-completed transaction data to the database. I've seen this done with sets of "Shadow" tables (yuck!) or using hand-written techniques similar to what BC4J provides a robust implementation of in the box.
    We've tuned our "Stateless With Affinity for Server Farms" model over several releases of carefully studying the performance of the Web apps built by our internal Oracle Applications teams using BC4J (over 20 of them now, and growing!) so compared with a hand-written strategy for your web-tier state management, using BC4J's implementation will be much more productive for you.
    We're tuning and tweaking and enhancing it even more for the 9.0.3 release as new needs are highlighted with continued use by our customers (both Oracle internal and external).

  • Jhs10g subapplications with struts / uix

    I have a bit trouble with 2 subapplications (struts and uix) , if i use mvc i got errors in jboss so i use struts
    but now i have a problem how to put this in web.xml
    with mvc it was easy,
    I checked the new jhsdemo and tutorial2 doc
    but i don't get it working with 2 applications
    if i configure it for 1 it works fine
    can something show how it is done in web.xml 2 appl. struts/uix
    thanks edwin

    Now i got a new problem ( I now use only 1 application
    to make it less comlex)
    I made a directory basis in web dir.
    and changed in de application structure file
    the ui pages virtual directory from /uix/ to /basis/uix/
    and copied images / jheadstart and even cabo to the basis dir.
    the generator creates a new struts-config.xml
    and generates the uix views in web\basis\uix
    all goes well
    this is the web.xml
    <servlet>
    <servlet-name>sicmaStrutsController</servlet-name>
    <servlet-class>oracle.jheadstart.controller.struts.JhsActionServlet</servlet-class>
    <init-param>
    <param-name>config/basis</param-name>
    <param-value>/WEB-INF/struts-config.xml</param-value>
    </init-param>
    <init-param>
    <param-name>mapping</param-name>
    <param-value>oracle.jheadstart.controller.struts.config.JhsActionMapping</param-value>
    </init-param>
    <load-on-startup>2</load-on-startup>
    </servlet>
    now i got the following error,
    500 Internal Server Error
    java.lang.NullPointerException
         oracle.cabo.servlet.xml.PageDescriptionCache oracle.jheadstart.view.uix.JhsUIXPageBroker.getPageDescriptionCache(oracle.cabo.servlet.BajaContext, oracle.cabo.servlet.Page)
              JhsUIXPageBroker.java:96
         oracle.cabo.servlet.PageDescription oracle.cabo.servlet.xml.UIXPageBroker.getPageDescription(oracle.cabo.servlet.BajaContext, oracle.cabo.servlet.Page)
         oracle.cabo.servlet.PageRenderer oracle.cabo.servlet.AbstractPageBroker.getPageRenderer(oracle.cabo.servlet.BajaContext, oracle.cabo.servlet.Page)
         void oracle.cabo.servlet.AbstractPageBroker.renderPage(oracle.cabo.servlet.BajaContext, oracle.cabo.servlet.Page)
         oracle.cabo.servlet.Page oracle.cabo.servlet.PageBrokerHandler.handleRequest(oracle.cabo.servlet.BajaContext)
         void oracle.cabo.servlet.UIXServlet.doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         void javax.servlet.http.HttpServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              HttpServlet.java:740
         void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              HttpServlet.java:853
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ResourceFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              ResourceFilterChain.java:65
         void oracle.security.jazn.oc4j.JAZNFilter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)
              JAZNFilter.java:283
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              EvermindFilterChain.java:16
         void oracle.jheadstart.controller.CharacterEncodingFilter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)
              CharacterEncodingFilter.java:174
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              ServletRequestDispatcher.java:556
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
              ServletRequestDispatcher.java:306
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forward(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              ServletRequestDispatcher.java:209
         void org.apache.struts.action.RequestProcessor.doForward(java.lang.String, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              RequestProcessor.java:1069
         void org.apache.struts.tiles.TilesRequestProcessor.doForward(java.lang.String, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              TilesRequestProcessor.java:274
         void org.apache.struts.action.RequestProcessor.processForwardConfig(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, org.apache.struts.config.ForwardConfig)
              RequestProcessor.java:455
         void org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, org.apache.struts.config.ForwardConfig)
              TilesRequestProcessor.java:320
         void org.apache.struts.action.RequestProcessor.process(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              RequestProcessor.java:279
         void oracle.jheadstart.controller.struts.JhsRequestProcessor.process(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              JhsRequestProcessor.java:588
         void org.apache.struts.action.ActionServlet.process(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              ActionServlet.java:1482
         void oracle.jheadstart.controller.struts.JhsActionServlet.process(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              JhsActionServlet.java:115
         void org.apache.struts.action.ActionServlet.doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              ActionServlet.java:507
         void javax.servlet.http.HttpServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              HttpServlet.java:740
         void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              HttpServlet.java:853
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ResourceFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              ResourceFilterChain.java:65
         void oracle.security.jazn.oc4j.JAZNFilter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)
              JAZNFilter.java:283
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              EvermindFilterChain.java:16
         void oracle.jheadstart.controller.CharacterEncodingFilter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)
              CharacterEncodingFilter.java:174
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              ServletRequestDispatcher.java:556
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
              ServletRequestDispatcher.java:306
         boolean com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.ApplicationServerThread, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletRequest, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
              HttpRequestHandler.java:767
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(java.lang.Thread)
              HttpRequestHandler.java:259
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run()
              HttpRequestHandler.java:106
         void EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run()
              PooledExecutor.java:797
         void java.lang.Thread.run()
              Thread.java:484
    if i change <param-name>config/basis</param-name> in web.xml to <param-name>config</param-name>
    it works
    but with 2 applications
    <servlet>
    <servlet-name>sicmaStrutsController</servlet-name>
    <servlet-class>oracle.jheadstart.controller.struts.JhsActionServlet</servlet-class>
    <init-param>
    <param-name>config</param-name>
    <param-value>/WEB-INF/struts-basis-config.xml</param-value>
    </init-param>
    <init-param>
    <param-name>config/call</param-name>
    <param-value>/WEB-INF/struts-call-config.xml</param-value>
    </init-param>
    <init-param>
    <param-name>mapping</param-name>
    <param-value>oracle.jheadstart.controller.struts.config.JhsActionMapping</param-value>
    </init-param>
    <load-on-startup>2</load-on-startup>
    </servlet>
    then gives the second appl. the same error as above

  • Urgent: Portletizing an struts JSP application

    Hello all,
    I have a struts JSP application. I want to portletize this whole
    application, so that navigation is always within the portal
    framework.
    Using URL Services all I can see is that the first page will be a
    portlet.
    Can anyone suggest the best way to portletize the application?
    This is quite urgent and your help will be greatly appreciated.
    Thanks in advance.
    Faisal.

    Hi all,
    Concerning the message below, does the struts framework affect how normal JSP applications are added to Portal? Or is it as simple as just importing the portal classes and referencing them in the JSP's?
    We would like to use struts for our next web application using JSPs, but need to display them within Portal. I've done this before by just changing the way our hrefs work, but am wondering if using struts will affect any of this.
    Thanks in advance,
    Gillian
    Hello all,
    I have a struts JSP application. I want to portletize this whole
    application, so that navigation is always within the portal
    framework.
    Using URL Services all I can see is that the first page will be a
    portlet.
    Can anyone suggest the best way to portletize the application?
    This is quite urgent and your help will be greatly appreciated.
    Thanks in advance.
    Faisal.

  • Deploying a STRUTS Web Application

    X-Posted to weblogic.developer.interest.jsp
              weblogic.developer.interest.servlet
              Hi,
              for those of you who are familiar with STRUTS JSP/Servlet
              framework: I'm desparately trying to deploy a web application
              that uses STRUTS on our BEA WebLogic6.1 SP1 server.
              My WAR looks like
              index.jsp
              WEB-INF/web.xml
              WEB-INF/struts-config.xml
              WEB-INF/classes/mypackage/MyForm.java
              WEB-INF/lib/struts.jar
              (and several other files). On server startup, STRUTS loads its
              configuration from struts-config.xml. This indicates that struts.jar
              is in the classpath. A HTTP request to index.jsp which uses
              a form bean define in mypackage/MyForm.java (which subclasses
              org.apache.struts.action.ActionForm) fails with a ClassNotFoundException
              for mypackage/MyForm.java:
              java.lang.ClassNotFoundException: de.adesso.premioss.process.WorklistForm
              at
              weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.
              java:178)
              at
              weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClas
              sLoader.java:65)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
              at
              weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClas
              sLoader.java:43)
              at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
              at java.lang.Class.forName0(Native Method)
              at java.lang.Class.forName(Class.java:120)
              at
              org.apache.struts.action.ActionServlet.processActionForm(ActionServlet.java:
              1700)
              at
              org.apache.struts.action.ActionServlet.process(ActionServlet.java:1562)
              at
              org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491)
              So it looks like WEB-INF/classes is not a part of the classpath,
              at last it is not visible from org.apache.struts.action.ActionServlet.
              Has anybody encountered the same problem and found a solution?
              No f'up set. Please adjust.
              TIA
              Tobias Trelle
              adesso AG
              www.adesso.de
              

    Hi Tobias,
              are you aware of the classloading mechanisms for WebLogic and
              WebApplications? This looks like a typical classloader / wrong packaging
              issue to me, you will find lots on this on groups.google.com. If that
              does not help let me know.
              Daniel
              > -----Original Message-----
              > From: Tobias Trelle [mailto:[email protected]]
              > Posted At: Friday, January 25, 2002 9:11 AM
              > Posted To: servlet
              > Conversation: Deploying a STRUTS Web Application
              > Subject: Deploying a STRUTS Web Application
              >
              >
              > X-Posted to weblogic.developer.interest.jsp
              > weblogic.developer.interest.servlet
              > Hi,
              >
              > for those of you who are familiar with STRUTS JSP/Servlet
              > framework: I'm desparately trying to deploy a web application
              > that uses STRUTS on our BEA WebLogic6.1 SP1 server.
              >
              > My WAR looks like
              >
              > index.jsp
              > WEB-INF/web.xml
              > WEB-INF/struts-config.xml
              > WEB-INF/classes/mypackage/MyForm.java
              > WEB-INF/lib/struts.jar
              >
              > (and several other files). On server startup, STRUTS loads its
              > configuration from struts-config.xml. This indicates that struts.jar
              > is in the classpath. A HTTP request to index.jsp which uses
              > a form bean define in mypackage/MyForm.java (which subclasses
              > org.apache.struts.action.ActionForm) fails with a
              > ClassNotFoundException
              > for mypackage/MyForm.java:
              >
              > java.lang.ClassNotFoundException:
              > de.adesso.premioss.process.WorklistForm
              > at
              > weblogic.utils.classloaders.GenericClassLoader.findClass(Gener
              > icClassLoader.
              > java:178)
              > at
              > weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(C
              > hangeAwareClas
              > sLoader.java:65)
              > at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
              > at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
              > at
              > weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(C
              > hangeAwareClas
              > sLoader.java:43)
              > at
              > java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
              > at java.lang.Class.forName0(Native Method)
              > at java.lang.Class.forName(Class.java:120)
              > at
              > org.apache.struts.action.ActionServlet.processActionForm(Actio
              > nServlet.java:
              > 1700)
              > at
              > org.apache.struts.action.ActionServlet.process(ActionServlet.j
              > ava:1562)
              > at
              > org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491)
              >
              > So it looks like WEB-INF/classes is not a part of the classpath,
              > at last it is not visible from org.apache.struts.action.ActionServlet.
              >
              > Has anybody encountered the same problem and found a solution?
              >
              > No f'up set. Please adjust.
              >
              > TIA
              > --
              > Tobias Trelle
              > adesso AG
              > www.adesso.de
              >
              >
              

  • BC4J/Struts NavigationAction Functionality Request

    Jdev team,
    Has there been any thought on on extending the functionality in the NavigationAction class (and related BC4J/struts classes) to support navigating through 2 viewobjects set up in a master/detail relationship.
    The current implementation only supports mapping one view object in the struts action mapping which then limits the NavigationAction class to support navigating on only one viewobject.
    We have worked out a way to extend the BC4JActionMapping/BC4JContext to give us this functionality but we needed to overwrite some of the BC4JRequestProcessor/NavigationAction code to support this functionality.
    I think this type of functionality could be useful for other BC4J/Struts developers. BTW ... I understand that there are jbo tags that support this type of functionality but we have decided to use only JSTL/Struts tags.
    Thank you!
    -Mark

    Could you send us the errors that you are getting?
    Thanks,
    Jeanne

  • Bc4j, struts and query form (where)

    I have a query form on 1 table created by the wizards (bc4j - struts).
    For ex. in the name field I can insert 'Dimi' and the query form will find my record.
    But when somebody inserts 'dimi' (not initcap), he doesn't find my record.
    How can I adapt the default where clause in the query like eg. WHERE UPPER(FIRSTNAME)=document.form.field.toUpperCase(); ??
    In the next release this should be more simple!

    You can call setUpperColumns(true) on any instance of your view criteria row that you want to apply this UPPER() function to.
    Do you have a functional index at the database level on the UPPER(FIRSTNAME) function?
    If not, the query will do a full table scan with the UPPER(FIRSTNAME) in there.

Maybe you are looking for

  • How do I share not only my music but also my apps with other users on the same computer?

    I've searched around and this one link keeps comming up: http://support.apple.com/kb/HT1203 That link only tells me how share with music I want apps and everything else shared between multiple users on the same windows computer. Thanks.

  • How do I get rid of the dark parts on my screen?

    My iPod screen is a little darker(something got on it yesterday) and I can see some of it and most of it is lighter than the other parts of the screen, I don't have the screen set to be darker.

  • Fact table data type changed from int to nvarchar -- rebuild on cube fails

     I change one of my data types in the Fact table from INT to Nvarchar... When I look at the properties it appears correct but when I try to Process it fails still thinking it's data type INT.  How can the DSV be refreshed( I did try REFRESH  and it n

  • Role name problems!

    Hi, I have copied the collaboration role and changed the name from "Collaboration" to "MyName". Everything works great when I stick to english language but when I change the language to, for instance, swedish, then the original "Collaboration" name i

  • Java.lang.UnsatisfiedLinkError: Can't load library: /

    Hello I downloaded the 32 bit JRE 5 for powerpc evaluation copy. When i try to execute the sample awt program using java.awt.headless=false. I'm getting following error. java -Djava.awt.headless=false AWTExample Exception in thread "main" java.lang.U