Bean: define problem in tomcat.But it is working fine in Jdeveloper. Why?

I am use a logic iterator tag for a dropdown list and bean :define for the show the values of the drop down list in jdeveloper. But in tomcat when i use this same code i got the following errors.
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 152 in the jsp file: /Trip_Consignor_Details_Insert.jsp
Generated servlet error:
[javac] Compiling 1 source file
/data/jakarta-tomcat-5.0.19/work/Catalina/localhost/Lost/org/apache/jsp/Trip_005fConsignor_005fDetails_005fInsert_jsp.java:315: cannot find symbol
symbol : method setValue(java.lang.Object)
location: class org.apache.struts.taglib.html.OptionTag
jspxth_html_option_0.setValue(param1);
^
An error occurred at line: 172 in the jsp file: /Trip_Consignor_Details_Insert.jsp
Generated servlet error:
/data/jakarta-tomcat-5.0.19/work/Catalina/localhost/Lost/org/apache/jsp/Trip_005fConsignor_005fDetails_005fInsert_jsp.java:414: cannot find symbol
symbol : method setValue(java.lang.Object)
location: class org.apache.struts.taglib.html.OptionTag
jspxth_html_option_1.setValue(param2);
^
Note: /data/jakarta-tomcat-5.0.19/work/Catalina/localhost/Lost/org/apache/jsp/Trip_005fConsignor_005fDetails_005fInsert_jsp.java uses unchecked or unsafe operations.
An error occurred at line: 172 in the jsp file: /Trip_Consignor_Details_Insert.jsp
Generated servlet error:
Note: Recompile with -Xlint:unchecked for details.
2 errors
     org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:127)
     org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:351)
     org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:415)
     org.apache.jasper.compiler.Compiler.compile(Compiler.java:458)
     org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
     org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:553)
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
     org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
     org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
     org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
     org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
I think this may caused for the following line of code--
<html:option value='<%=sUomCode%>'></html:option>
May i have to add a jar file for this tag in my classpath and keep the jar file in tomcat's [ jakarta-tomcat-5.0.19 ]/ common/lib?.
i am using ubuntu as os. Please suggest me.

I set the classpath in enviornment file in /etc folder.
and in eclipse i did-- right click on project -->properties-->java build path-->Libraries-->Add External jars. [and add the two jars].
My code is ----
<html:select property="sLocCode">
<logic:iterate id="results" name="tripConsignor" property="result">
<bean:define id="param1" name="results" property="sLocCode"/>
<html:option value='<%=param1%>'></html:option>
</logic:iterate>
</html:select>
problem in the line ----
<html:option value='<%=param1%>'></html:option>
Is their any alternative to set the html values. I tried <bean:write>. But failed.
So i just want to set the value of <html:option value="-----------"></html:option>.
please give me the solution or alternative way to set the value. Please Help

Similar Messages

  • Hi! I am having a problem with my dictation. It works fine with Greek but it does not work at all with English. Anyone knows why?

    hi! I am having a problem with my dictation. It works fine with Greek but it does not work at all with English. Anyone knows why?

    Have you changed the system voice to an English one in system preferences?

  • The enter key is not working in firefox but it has working fine in chrome and IE so please help me to rid out from this.

    The enter key is not working in firefox but it has working fine in chrome and IE so please help me to rid out from this.

    Hello gokulaan, '''try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • I copied several MOV files to a CD. When I play them from the CD the video is fine but the audio works fine for the first few seconds then stops (using Qicktime Player 7.7.1.  Everything works fine if I use VLC Media Player. Does anyone have any idea why?

    I copied several MOV files to a CD. When I play them from the CD the video is fine but the audio works fine for the first few seconds then stops (using Qicktime Player 7.7.1.  Everything works fine if I use VLC Media Player. Does anyone have any idea why?

    My purpose for copying to a CD or DVD is so that I can make copies and send to friends and relatives. What is the best way to get these files on a CD/DVD with the right codecs?
    The easiest thing to do is to simply tell your friends and relatives to copy the files to their local hard drive before playing them. Your basic problem is that data discs have a limited real time transfer rate. Since you say VLC plays the files fine, I might suspect its player is likely buffering the data while the QT 7 Player is not.
    Data discs made for playback directly from the CD or DVD are normally encoded using MPEG-4/AVC (H.264) video with AAC audio. This is a modern codec which has specific settings to re-package the data (i.e., must be encoded using the multipass option and then select the "optimize for CD/DVD" option).

  • Applet- Servlet works fine in Jdeveloper, not when deployed to Tomcat 4

    Hey all, I have a real simple servlet that works withing Jdeveloper.
    An applet displays a button and when you click on the button it
    contacts the servlet and the servlet returns a string.. I put that
    string in a textarea widget.
    But if I create a deployment profile, deploy it to a jar file, put
    the jar file in the tomcat/webapps directory and start up tomcat it
    doesn't work. Applet works fine but the textarea widget doesn't get
    updated.
    (Note: to get it to work in jdeveloper I have to change the port to
    8992 but tomcat is running on 8080)
    Here's a clip of the code that contacts the servlet:
    String protocol = "http";
    String host = "localhost";
    int port = 8080;
    String urlSuffix = "/Applet1/servlet/";
    try {
    String loginServletURL = "my_package.TestServlet";
    URL dataURL = new URL(protocol, host, port, urlSuffix
    +loginServletURL);
    URLConnection connection = dataURL.openConnection();
    connection.setDoOutput(true);
    connection.setUseCaches(false);
    connection.setDoInput(true);
    connection.setRequestProperty("Content-Type",
    "application/x-java-serialized-object");
    ObjectInputStream in = new
    ObjectInputStream(connection.getInputStream());
    String test = (String) in.readObject();
    in.close();
    textArea.setText(test);
    Here's the servlet main code:
    public void doPost(HttpServletRequest request, HttpServletResponse
    response) throws ServletException, IOException
    String test= "TEST MESSAGE";
    ObjectOutputStream out = new
    ObjectOutputStream(response.getOutputStream());
    out.writeObject(test);
    out.flush();
    out.close();
    Like I said, this works fine in Jdeveloper. Its a pretty simple
    servlet.... I have created html pages that contact servlets without
    any issues. But for some reasons an applet is causing me a headache.
    Any ideas?? Any other information you may need let me know. Need the
    rest of the code and I can send you the entire workspace.
    Thanks

    Has no one encountered this before?

  • Group owner distribution list cant add/remove member via outlook but via ecp work fine

    Hi all,
    i user exchange server 2013 sp1 with domain contoler windows server 2008 R2.
    my end user have problem. When group owner want to add/remove member via outlook cant but via ecp work fine ?
    i try to folowing this article http://theucguy.net/group-owners-cannot-manage-distribution/ but not work.
    any ideas? please help
    thanks,

    Hi,
    Please share me the error message which is occurring when the group owner try to add or remove members.
    Note : Group owners cannot be as a group and it should be an individual member.
    Please execute the below mentioned command and let me know the status .
    Get-DistributionGroup –ID “DistributionGroupName”
    | Set-DistributionGroup –ForceUpgrade
    Execute the above mentioned command and check.
    Regards
    S.Nithyanandham
    Thanks & Regards S.Nithyanandham

  • My laptop speakers are not working but my headphones work fine

    I have an HP Pavilion g6-1d73us laptop and although my headphones work properly the speakers do not. This is a recent problem.  I have tried troubleshooting with windows troubleshooter with no results. I have checked all the drivers for audio and they check out fine. I have tried driver software with no success. Windows Media Player does not work. I get an error message when I try to use it. What else can I try?   Carl
    This question was solved.
    View Solution.

    Hello @hifive11,
    I have read your post on how your notebook speakers are not working, but the headphones work fine, and I would be happy to assist you in this matter!
    The first step I recommend is to follow this document on No Sound from the Speakers (Windows 7). This should help to restore the sound to your speakers. 
    You can also enable the speakers on your computer as the default playback device. This can be done by following the steps below:
    1. Click the Start button
    2. Click Control Panel
    3. Click on Hardware and Sound (sorting the control panel icons by "category"), and then click on Sound
    4. Under Playback, you should see one or two speaker icons. One of them should already have a green checkmark next to it (which will be your notebook's headset device). If the second Speakers icon is not visible, right-click in the list of devices and select Show Disabled Devices
    5. A second, disabled icon of "speakers" should appear. Right-click this icon and click Enable
    6. Test your speakers
    If the issue continues, I recommend returning your notebook to a previous restore point before the speakers stopped working. This can be done by following the steps in this document on Using Microsoft System Restore (Windows 7).
    Please re-post with the results of your troubleshooting, and I look forward to your reply!
    Regards
    MechPilot
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks” for helping!

  • Why can't i update itunes on windows xp? It says update server could not be contacted but internet is working fine. I'm trying to go from itunes 10 to itunes version 11

    why can't i update itunes on windows xp? It says update server could not be contacted but internet is working fine. I'm trying to go from itunes 10 to itunes version 11

    Windows System Requirements
    PC with a 1GHz Intel or AMD processor and 512MB of RAM
    Windows XP Service Pack 2 or later, 32-bit editions of Windows Vista, Windows 7, or Windows 8
    64-bit editions of Windows Vista, Windows 7, or Windows 8 require the iTunes 64-bit installer
    400MB of available disk space
    Broadband Internet connection to use the iTunes Store
    See Here  >  http://support.apple.com/kb/TS3125
    From Here  >  http://www.apple.com/support/itunes/troubleshooting/

  • Unable to view links in email. Email is defined as 'Hotmail'. My IPhone 4S works fine. Both devices has been upgraded to IOS7.

      Unable to view links in email. Email is defined as 'Hotmail'. My IPhone 4S works fine. Both devices has been upgraded to IOS7.

    Calendars (and contacts) can "sync" between your MBP and your iPhone through iCloud because they really live on the iCloud servers and the two devices are clients. iCloud can accomplish much the same trick for email messages because the email really resides on iCloud email servers.
    If the email resides on some other server, that server is responsible for whatever syncing will be done. IMAP servers like the iCloud servers are built for such syncing; other mail servers may or may not be. iCloud would not be involved with email other than iCloud email.
    I understand Hotmail has been changing how their email servers are accessed. Check with Hotmail support for any changes you may need to make to keep up.

  • I am trying to add a payment card for my account but didn't work don't know why?any help

    I am trying to add a payment card for my account but didn't work don't know why?any help

    Hi, Please use the following link:    http://support.hp.com/us-en/product/HP-Pavilion-10-x2-PC/7439381/model/7499063/manuals/ Regards.

  • I keep getting "Unknown error has occurred" every time I try to login, but Itunes is working fine.

    I keep getting "Unknown error has occurred" every time I try to login, but Itunes is working fine.  I have now called support twice with no help.

    Ok..  try restarting your Mac.
    If that doesn't help, temporarily disable anti virus software.
    Apps such as Little Snitch, Net Nanny, and Hands Off can prevent access to the App Store as well as third party download managers.
    Try installing the Mac OS X 10.6.8 Update Combo
    That will reinstall the App Store for you which may help. It's ok to do this even though you already have v10.6.8 installled.

  • Problems with browsers & DNS, but other apps work fine

    My computer woke from sleep this morning with an interesting issue.    Some applications weren't connecting to the net, saying they couldn't find the host name (all three browsers and a chat program).   But, other programs like my email program connected to the network just fine.    iphone through the router also connected to everything just fine as well.
    Changed DNS servers from google to comcast, and got the same issue, which is strange.    Didn't get a chance to restart yet (had to get to work).   If a restart doesn't clear this out, I'm not sure what to tinker with after that.    Thoughts?
    i7 "Santa Rosa" imac 27". 
    Latest rev of Snow Leopard.  Last update was the security patch 2-odd weeks ago, and worked fine after that.
    airport express (lastest software) connected to cable modem.
    - John Mc

    Hello:
    You might try the connection doctor to see if it helps.
    I had a problem sometime ago and used Open DNS to resolve it, but I do not know whether that will help (my problem went away when I changed ISP, so I removed Open DNS).
    Barry

  • I m using deskjet f4488, i have problem in print but scan is working

    i m using deskjet f4488, i have printing problem but scan is working 

    Hi,
    I have found that sometimes downloading and using the Print Diagnostic Utility.  Here is the link, download the utility and run it.  See if this helps.
    Print Diagnostic Utility
    Say Thanks by clicking the Kudos Star in the post that helped you. Please mark the post that solves your problem as Accepted Solution.
    I am employed by HP

  • Battery problems-new battery, but does not work

    Help! I have purchased a battery a few months ago. It worked fine for a little while, and then one day, it would not power from the battery. Here is the strange thing-when I plug it in, it regesters the battery as fully charged. I even let my iBook sit for a few days without using it. I plugged it in and it registered my battery as about 95 percent charged, but stilll would not power up. I don't get it! The battery seems good, but it does not power from it. It obviously charges it, but does not power from it. Ahhh! Please help!

    Will resetting the PMU erase my hard drive or cause damage to my RAM?
    No
    What does it mean when it says Warning: Any RAM disk will be erased. ?
    This is an outdated warning since OS X doesn't support RAM disk. A RAM disk is a technique of using some RAM as a pseudo-disk drive.

  • ITunes wont reconize my iPod but my iPhone works fine - VISTA

    I know what you are saying...go through the 5 R's and all will be well. NO, this is the weirdest thing I've ever encountered. I just got this HP Laptop a couple of months ago...it has Vista installed on it. I downloaed iTunes 7.4 when I got my iPhone and it works fine. Then I tried to plug in my iPod nano (2nd Gen) and my iPod Photo with no luck. Windows wants me to locate the drive for the ipods because it can't find one.
    My Device Maganger shows the iPod under 'Other Devices' with a yellow exclamation point next to it. Needs a driver. The iPod service is running. Vista obviously thinks the iPod service and driver is just for the iPhone. Thats my guess...Apple can't figure it out...and says 'It's a Windows problem' and Windows tells me to contact Apple for a driver for the ipods.
    Has anyone else solved this little problem?
    Ohh....BTW, these iPods work fine on my desktop using iTunes + Windows XP. I've done ALL the reset tricks...and have restored both of them, they just won't be reconized by iTunes or Vista. Both iPods show up in Device Mgr as iPods, but under the Unknown Devices.
    Help Please....

    Thanks for the reply Tony. No, the computer is brand new as is the iPhone. I did manage to solve the problem though. As I stated, the iPhone was the first thing I plugged into this new Laptop, with a fresh new copy of iTunes. The iPhone worked fine, it's the iPods that were not reconized by Vista.
    Here is how I solved the problem. I removed the iPod from device mgr (Under Unknown Devices). Started up iTunes, plugged in the iPod and when Vista asked for a driver location I pointed it to the c:\Windows folder and it found the drivers. First was the USB Mass Storage Device driver, then the iPod driver, then the USBusEmumerator driver and now all is well.
    It's a VISTA BUG! Once you use that USB Driver for the phone, anyother Apple product will require you to manually go into the windows folder and have Vista find it again and use it for your iPod. I wouldn't be suprised if this was done intentionally by Microsoft to try to get people to use there MP3 Players instead of Apple.
    Sav

Maybe you are looking for

  • When I add contacts from text messages they don't show up in my Contacts list.

    Right, I hope I didn't miss another thread. Nothing appears in my contacts list when I try to save numbers from text messages. The only way to save a contact is to type it manually. But the "save to contacts" option is there, so where is it actually

  • Acrobat 8.1.2

    I am new to the world of Acrobat 8 updated to 8.12. I note that many items in the toolbar are greyed out and not usable. How do I make these items usable? Please advise soonest. XPro/SP3/IE7 4GB PC3200 RAM AMD 4600+CPU A8N-SLI mtherboard This is the

  • Sony DW-Q28A Superdrive burning problems

    Hi, I have a Sony DW-Q28A superdrive on a powermac G5. I am able to burn dvds and they will play back in that machine, but they wont play in any table top dvd players, or in my G4 powerbook. I have tried various different DVD-Rs and nothing seems to

  • Heat issue plz help me out

    hi   i have tried almost everything i guess ... i cant get NB to get cooler all temp is fine except NB that one is at sixty degrees in idle and shuts itself down after a while if i do something  etc .  playing a game , but works ok  still pretty high

  • Cisco Nexus 5K + Micrososft Radius for Admin Authentication

    Hi, I have cisco 3750 switches configured to use MS radius for administrator authention. however, now I would like to add our cisco nexus switches to MS radius as well so that administrators are authenticated against the Microsoft radius for admin au