How do you use Struts with Jboss Portal

I am trying to use strust with jboss portal but I am getting the following error:
An error occured while rendering window 'default.MyPortlet2.myportlet2Window'
org.apache.jasper.JasperException: Exception in JSP: /WEB-INF/jsp/SearchResultPage.jsp:71 68: List searchresult = (List) request.getAttribute("searchresult"); 69: %> 70: Stacktrace:
I am getting this is in the log file
Caused by: org.apache.jasper.JasperException: Exception in JSP: /WEB-INF/jsp/SearchResultPage.jsp:71
68: List searchresult = (List) request.getAttribute("searchresult");
69: %>
70: <%
71: for (Iterator itr=searchresult.iterator(); itr.hasNext(); )
72: {
73: testPackage.net.dao.hibernate.WorkList workList = (testPackage.net.dao.hibernate.WorkList)itr.next();
74: %>
Stacktrace:
at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.execute(PortletRequestDispatcherImpl.ja
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.portal.server.servlet.CommandFilter.doFilter(CommandFilter.java:65)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.ja
... 238 more
Caused by: java.lang.NullPointerException
at org.apache.jsp.WEB_002dINF.jsp.SearchResultPage_jsp._jspService(SearchResultPage_jsp.java:152)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
... 255 more

I am trying to use strust with jboss portal but I am getting the following error:
An error occured while rendering window 'default.MyPortlet2.myportlet2Window'
org.apache.jasper.JasperException: Exception in JSP: /WEB-INF/jsp/SearchResultPage.jsp:71 68: List searchresult = (List) request.getAttribute("searchresult"); 69: %> 70: Stacktrace:
I am getting this is in the log file
Caused by: org.apache.jasper.JasperException: Exception in JSP: /WEB-INF/jsp/SearchResultPage.jsp:71
68: List searchresult = (List) request.getAttribute("searchresult");
69: %>
70: <%
71: for (Iterator itr=searchresult.iterator(); itr.hasNext(); )
72: {
73: testPackage.net.dao.hibernate.WorkList workList = (testPackage.net.dao.hibernate.WorkList)itr.next();
74: %>
Stacktrace:
at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.execute(PortletRequestDispatcherImpl.ja
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.portal.server.servlet.CommandFilter.doFilter(CommandFilter.java:65)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.ja
... 238 more
Caused by: java.lang.NullPointerException
at org.apache.jsp.WEB_002dINF.jsp.SearchResultPage_jsp._jspService(SearchResultPage_jsp.java:152)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
... 255 more

Similar Messages

  • How I can use struts with uix jsp

    Hi,
    I want to use struts with uix jsp but I don't know how to set value of uix tag attribut by struts tag
    example :
    I want to change:
    <uix:globalHeader text="title" >
    by
    <uix:globalHeader>
    <bean:message key="title" arg0="Browse"/>
    </uix:globalHeader>
    N.B: I tried to use the tag <boundAttribute> but doesn't works
    Thanks in advance.

    Hi Ghazouani,
    From your sample code it looks like you are trying to use the Struts <bean:message> to provide internationalized text for the links in your globalHeader component. Couple of comments on this particular issue:
    - You'll need to add a <link> element to your globalHeader for each item that you want to display. So, instead of:
    <uix:globalHeader>
    <bean:message key="title" arg0="Browse"/>
    </uix:globalHeader>
    You'll want something which looks like this:
    <uix:globalHeader>
    <uix:link text="Browse"/>
    </uix:globalHeader>
    - If you want to bind the text for each link to some internationalized value which is pulled from a ResourceBundle, you should use the UIX JSP <bundle> data provider:
    <uix:bundle name="l10n" class="your.Bundle"/>
    <uix:globalHeader>
    <uix:link textBinding="title@l10n"/>
    </uix:globalHeader>
    In general when mixing JSP tags from different tag libraries, you need to be careful that you honor the semantics of each tag library. For example, in this particular case, the <uix:globalHeader> expects to have <uix:link> children - using any arbitrary tag (like <bean:message>) is not necessarily going to produce the desired results.
    As far as general UIX/Struts integration goes, we recommend using uiXML as a view for your Struts application. Check out the "Using uiXML with Struts" section of the UIX Developer's Guide for more info.
    Andy

  • Using Struts with Oracle Portal

    Hello,
    I am trying to run my applications developed using Struts Framework in Oracle Portal.Though Oracle Portal uses jpdk api's is there any way I can try to integrate Struts with Oracle Portal so that I can work test my application on any server and then develop portlet and run them on Oracle Portal as well?

    Check out these other discussions:
    Portletizing a struts JSP application
    Urgent: Portletizing an struts JSP application
    Similar but different detail:
    struts

  • How do you use itunes with different iphone without syncing information

    I am sharing itunes with my kids. I am trying to findout how do we use the same itunes wothout sharing contacts. My kids keep deleting my contacts? Is there a setting that will stop this from happening?

    How to use multiple iPods, iPads, or iPhones with one computer

  • How do you use Default Resource Access Information?

    I have some 10g Forms & Reports that I want to use with SSO and they will all be connecting to the database with the same connection info. I know how to configure a Default Resource Access Information, but how do you use this with Forms & Reports?

    Douglas,
    the default Resource Access Infomation should be the connection information right? This is used in conjunction with SSO. You need to configure your F&R applications to delegate authentication to SSO by placing ssoMode=true in the config section of formsweb.cfg.
    The Forms Servlet will connect to OID retrieve the Resource Access Information (descriptor) for a given user and automatically log them into the application.
    Users will need a global identity in OID and SSO must be enabled to use resource access info with F&R
    regards,
    tt

  • How to use ADF with weblogic Portal 10.3.2

    Hello All,
    I want to use ADF with Weblogic Portal 10.3.2. Can anyone guide me ?
    Thanks,
    *(' ')sman*

    Hello,
    To use ADF with WLP 10.3.2 you will need a WebCenter WSRP producer running the portlet, which you can then consume as a remote portlet in WLP. The documentation on how to do that is here:
    http://download.oracle.com/docs/cd/E15919_01/wlp.1032/e14235/chap_webcenter_interop.htm#BABDBJBD
    Kevin

  • How do you use new ipod nano with itunes 10.6.3?

    How do you use new ipod nano with Itunes 10.6.3.  I have MBP and it lists itunes 10.6.3 as most current version and won't let me install itunes 11

    The seventh generation iPod nano requires at least iTunes 10.7 and Mac OS X 10.6.
    (85225)

  • How can you use iMessage between 3 iPads with 3 different users but only one Apple ID?

    how can you use iMessage between 3 iPads with 3 different users but only one Apple ID?

    No you do not need separate Apple ID's in order to use 3 devices with one Apple ID. I use 4 devices to Message and FaceTime and all use the same Apple ID. You do need to add additional email addresses for the other devices.
    Look at this very informative video for the instructions.
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l

  • How do you use wirelless keyboard with emoji?

    Just downloaded emoji on ipad. Have a wireless keypad! how do you use it?

    I see this:
    Connecting a Music Keyboard to Your Computer
    If you play a keyboard instrument, you can connect a MIDI-compatible music keyboard
    to your computer to play and record Software Instruments.
    To connect a music keyboard to play Software Instruments:
    If the keyboard is a USB MIDI keyboard, connect the USB cable to the keyboard and
    to your computer.
    If the keyboard is a standard MIDI keyboard, connect the keyboard to a MIDI
    interface using standard MIDI cables, and connect the interface to your computer.
    Be sure to follow the instructions that came with the keyboard, which may include
    installing the correct driver on your computer.
    This doesn't tell me what I need to do though. I'm sorry if I sound like a moron, but I can't figure this out haha. I've got everything plugged in and turned on. What is the next step...and the step after that....to make it so that when I play my keyboard, it shows up on Garageband and I'm able to record...

  • How do you use the bluetooth VIs with a Microsoft Bluetooth Driver?

    How do you use the LabVIEW Bluetooth VIs with the Microsoft Bluetooth driver?  I have been trying with no such luck.
       I want to use 2 computers to talk to each other using the bluetooth VIs.  Eventually, I think we would like a PDA/phone to talk to a custom built electronics board with Bluetooth.  But for now, I would just like 2 computers to talk and then eventually talk to our own device. 
    One is a desktop w/ the Belkin F8T012 USB adapter.  It installs fine with the Belkin driver (but I know I need to use the Microsoft Driver in order to use the LabVIEW VIs, but I have tried to get Windows to install its own but it says it is a BCM92045DG-Flash.  It says it cannot install it because it cannot find the necessary hardware.  I thought this USB adapter was on the approved Bluetooth devices list?  What else should I try?  Another Bluetooth USB adapter? 
    The other computer is a Dell Latitude 820.  It has a built in Bluetooth module which I believe is the Dell 350 Bluetooth Module.  On this machine I have been able to setup a COM port with a bluetooth device (blood glucose meter).  It came with a serial port interface which we modifed to go through a bluetooth interface.  It comes up as COM40. We have been able to communicate to it using their program originally designed to talk through a serial port.  But we would like to use the Bluetooth VIs in LabVIEW.  I can't even use the Discover VI.  Perhaps it is not using the Microsoft Driver as well.  Do I just uninstall the driver and then try to have Windows install its own driver?  Do you have any other recommendations?
    Thanks,
       Javi

    Hi Javi,
    This sounds like an issue with Windows and your specific Bluetooth devices.  As you mentioned, the LV Bluetooth VI's do require that the devices use the Windows drivers.  Take a look at this link for specific requirements for using Bluetooth with LabVIEW.  Also, you can take a look at our Developer Zone tutorial on designing Bluetooth applications a found here.  Regarding your device drivers, sometimes it is as easy as uninstalling the driver and then letting Windows discover the device and fine its own driver.  You could check out the Microsoft Knowledgebase for more information.  Thanks and have a great day!    
    Stephen S.
    National Instruments
    1 Test is worth 1000 expert opinions

  • How do you use the ATV with the remote when you place it out of sight?

    I placed my ATV behind my tv, though it does not wake up and work with the remote control. How do you use the ATV in this type of situation? Will the Bluetooth keyboard work with it if it is behind the TV?
    Thanks.

    Yes bluetooth and wifi (remote app from your iPhone) are far more likely to work for you.

  • How do you use Airport extreme at hotels etc, when traveling? I can plug my computer into the Airport with my ethernet but how does Airport pickup signal?

    How do you use Airport extreme at hotels etc, when traveling? I can plug my computer into the Airport with my ethernet but how does Airport pickup signal? What equipment & devices do I need to travel with to make this possible?

    You may mean the AirPort Express.....not AirPort Extreme.....as the Express is a popular travel router.
    The whole idea behind using this device is that the hotel must provide an Ethernet jack in the hotel room. Then you connect the AirPort Express to the Ethernet jack with an Ethernet cable and configure it to provide your own wireless network in the room. You still have to agree to terms, pay the fees, etc.
    The problem with this approach is that it is getting very difficult to find hotels in North America that prrovide an Ethernet jack....most have moved to wireless networks and the others are not far behind.
    So, if the hotel is already providing a wireless signal, the AirPort Express is of no use in that situation.
    If you normally stay at the same hotels, and know that they provide Ethernet ports, an AirPort Express might make sense in terms of convenience.

  • HT204216 Used to highlight just the portion of an article that I wanted to print and press print selection only.  How do you do that with a MAC?

    Used to highlight just the portion of an article that I wanted to print and press print selection only.  How do you do that with a MAC?

    Depends to some extent what application you're printing from, and what printer you're using, but here's the dialogue box for ⌘P in Firefox -
    Note the option to print selection only.
    Haven't looked before, but I can't find anything similar in Pages print options.
    It does appear in Word though.
    Message was edited by: noondaywitch

  • How do you use inspirion 13 7000 stylus with adobe photoshop cc

    how do you use inspirion 13 7000 stylus with adobe photoshop cc? Doe anyone know how to use the stylus on this dell 2 in 1? I was told by dell that you could use the stylus to edit in photoshop but its not working-

    You are asking a huge question. You'll get a better response if you ask something specific about a problem you are having with layers.
    I'm not trying to be mean but you can find vast amounts of basic info on layers with a simple Google query. If you click the Video link after inputting a search query, you can even find video tutorials.  YouTube  is one place that has quite a few video tutorials.
    How layers work hasn't changed between Elements versions.  Layers work the same in Photoshop. The application interfaces may be slightly different but layers are layers.
    FWIW, I'm not a big fan of the manual. You're better on getting something like "The Missing Manual" by Barbara Brundage or looking for info on the Internet.  One free resource with tons of info can be found here:
    http://www.garymgordon.com/misc/tutorials/photoshop_tutorial/elements/psE_intro.htm
    The tutorials found at the above link use an older version of Elements so you won't find info on the newest tools and features but the basic Editor info on layers and the tools still apply.

  • I am using Toast 11 to burn dvd's. With FCP10.1.3  I could go into the FCP shared folder grab the encoded .m2v file and drag it into Toast 11 and author dvd and burn.  How can you do this with FCP 10.1.4?

    I am using Toast 11 to burn dvd's. With FCP10.1.3  I used to go into the FCP shared folder grab the encoded .m2v file and drag it into Toast 11 and author dvd and burn.  How can you do this with FCP 10.1.4? 

    BenB it creates a disc image only and it's not in .m2v. I think it saved it as an Apple Pro Res 422 format instead. The disc image file format will not allow
    Toast 11 to create menus etc.  Thanks for your help.

Maybe you are looking for

  • Mem upgrade on MS-6382

    I have purchased 2x CT12864Z40B from crucial.com to upgrade my Microstar ms-6382 based system. I can used either memory module (with or without the original 256mb module), yet am unable to use both of the new modules together. I have checked that my

  • Error while transporting table entries to QA

    Hi All, I am working on system 4.6C i have a ztale with 3 key fields. I have added entries in table sucessfully. While imprting to Quality system. key field1   2183 Key field2  A Key field3  CHF It returns an return code with message called 'key of t

  • MTOM Encoded Web Service Response

    Hi, I am trying to call from APEX some web services that are MTOM encoded and the calls are failing. Does APEX support MTOM encoding? I am using the apex_web_service.make_request function. Below is a comparison of 2 service raw responses from soapUI,

  • Process image: red line and flag --- BPM standalone 10g

    In the BPM standalone 10g, I hightlight one instance and click the link of process image. In the pop window, the flag is in the current activity. However, the red line is still in the first activity. Why they are not in the same place.?

  • Playing music through Air Tunes using Windows Media Player

    Hello to all. I am planning on buying the Air Port Express so I can play music wirelessly from my Dell. The only problem I have with is that I can't use the keyboard media buttons (play/pause, stop, next, previous) with iTunes. These buttons work wit