I want to use nl2br with JSP

Hi, I wouldlike to know how use this method
nl2br(java.lang.string)
I write it in my code :
String texte=nl2br(ProdServ);
and the serveur error is :
Generated servlet error:
C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\Site_changement\ModifEnt$jsp.java:139: Method nl2br(java.lang.String) not found in class org.apache.jsp.ModifEnt$jsp.
String texte=nl2br(ProdServ);
^
can someone help me please
Thank you

I dont realy understand what i must import...the class is Object but it' write under :
java.lang.Object
|
--com.generationjava.web.HtmlW
what i have to import? Do I have to import it in my page only?
Thank you

Similar Messages

  • I have an iPod mini 6GB and want to use it with a Sony CD Boombox but the adapter is different. Can it work?

    I have an iPod mini, 6 GB and want to use it with a Sony CD Boombox but the adapter is different. Can it still work? Don't want to try and break iPod.

    Do you mean that the iPod mini won't fit on the "dock" because of shape (of the iPod), or is the docking connection a different type from the "30-pin" dock connector on the iPod mini?

  • No subscription found - want to use encore with premiere cc

    i have a cc subscription as a student and i want to use encore with premiere cc on a mac. i downloaded the cs6 version of premiere, tried to install but it says it can't find a subscription (even thought i am logged in with my adobe id).  I saw on another help doc that i have to obtain encore from cs 6.  I already have premiere cc installed and when i go back to the creative cloud apps i don't get the choice to install past versions of premiere. it just gives me the option to uninstall and manage app is greyed out.
    Can someone assist.  I just want to use encore with premiere cc.
    Thanks in advance.

    I have Creative Cloud Student and Teacher Edition (one-year) at a special rate of 17 a month.  It should be a complete plan.  I'll read the info at the link. Thanks. 
    Update: I did try using the instructions at the link which are as follows:
    To download and install previous versions of apps, such as CS6, do the following:
    Open the CC Desktop application and go to the Apps panel.
    Filter the apps by Previous Versions.
    Choose a version from the Install menu.
    But the only options i had for premiere were uninstall or manage.  i didn't see an option for cs 6.  I decided to try this link to download premiere cs 6 so I can elect to just install encore and the subscription wasn't recognized. Download CS6 products

  • My iphone 4 is from telus can, and i got the sim to activate it, but i want to use it with my att account.  how can i do this?

    hi my iphone 4 is from telus can, and i got the sim to activate it, but i want to use it with my att account.  how can i do this?

    contact telus as to how you get it unlocked

  • Help me!! How to use JavaScript with JSP ??

    I am using JDeveloper and I created a screen in JSP which uses a bean for database connectivity and retriving info onto the page.
    The page has a ListBox where list items are populated from the database.My requirement is
    whenever the list is changed the page shuold be refreshed with the selected item info.
    I tried to use 'JavaScript' for triggering the event with 'onChange' event of the ListBox.But the event is not getting invoked. I think JavaScript is not working with JSP.
    Please help me with how to Use javaScript with JSP or any other alternative where I can meet my requirement.
    I have one more question...I have gone through the JSP samples in OTN and I am trying do download the sample 'Travel servlet' which show list of countries...etc
    I have also gone through the 'readme' but I don't know how to extract .jar file.
    I would be great if you could help me in this.
    Thanks!!
    Geeta
    null

    We have a similar need. We have used Cold Fusion to display data from Our Oracle Database. We have a simple SElect Box in HTML populated with the oracle data. When someone selects say the State of Pennsylvania. then we have an On change event that runs a Javascript to go get all the cities in Pennsylvania.
    Proble we are having is that inorder for the Javascript to work , we currently have to send all the valid data.
    Do you know of any way to dynamically query the the Oracle database in Javascript

  • I have got a 1500 Kinetic Systems CAMAC crate and 3922 controller. I want to use it with LabView inst

    alled in PCI-bus IBM PC, which does not have GPIB interface. Which way would be easier for developing my own instrument driver: a new GPIB controller + interface or 2915 Kinetic Sys. PCI-bus in-slot interface? Can the latter interface be used with LabView?
    Many thanks.
    Victor. I have got a 1500 Kinetic Systems CAMAC crate and 3932 controller. I want to use it with LabView installed in PCI-bus IBM PC, which does not have GPIB interface. Which way would be easier for developing my own instrument driver: a new GPIB controller + interface or 2915 Kinetic Sys. PCI-bus in-slot interface? Thanks

    alled in PCI-bus IBM PC, which does not have GPIB interface. Which way would be easier for developing my own instrument driver: a new GPIB controller + interface or 2915 Kinetic Sys. PCI-bus in-slot interface? Can the latter interface be used with LabView?Victor,
    I couldn't find an Instrument Driver for the 3932 crate controler. There is a driver for the 3988: http://zone.ni.com/idnet97.nsf/9b2b33e1993d877786256436006ec498/045f8392cc4d1b01862568ab005fbb49?OpenDocument
    If you look at the driver it isn't too complex. Well ... actaully there are certain differences when using the 3988 GPIB controller that the driver takes care of that relate to correctly passing commands (FAN).
    If the 3922 controller is similar then maybe you can use the 3988 driver and modify it to meet your needs. I'm not familar with the 2915 Kinetic system so I'm not sure what would be easier.
    If you have a GPIB board, then you could try using the 3988 driver with your 3922 controller and see if you can modify the driver to get things to work.
    I
    've only used the 3988 and that was quite three years ago but it might be worth a try.
    Best of luck,
    Kamran - NI

  • I don't want to use Flash with Safari.  What can I do to replace it?

    I don't want to use Flash with Safari.  What can I do to replace it?

    I have same question

  • I bought an iPad mini from us and want to use it with LTE in UAE

    I bought an iPad mini from us and want to use it with LTE in UAE, is it possible ?

    http://www.apple.com/ipad/LTE/

  • I want to use hibernate with the tomcat

    I want to use hibernate with the tomcat server can it be possible and if yes then what is the stepwise way.
    Infact I know the java JSF but want to command on Hibernate plz help me.
    I'll be thankful to you.

    To be honest, I wouldn't even know where to start. Do you know what Hibernate does and how it works? Do you know how Tomcat works? All you'd need to do to combine those two would be to let Tomcat provide the DB connections for Hibernate, I suppose. Neither of those products are a topic of this board though.

  • I have just purchased an Apple Magic Trackpad. I connected it to my Macbook to test it. Fine. But I want to use it with my IMac - and my IMac cannot discover it - even though it is turned on and the batteries are 100%. Why?

    I have just purchased an Apple Magic Trackpad. I connected it to my Macbook to test it. Fine. But I want to use it with my IMac - and my IMac cannot discover it - even though it is turned on and the batteries are 100%. Why? Can I reconfigure it to the IMac?

    Remove it from the Macbook first. BT devices may only be connected to one thing at a time.
    Barry

  • Is OnLocation available with CC service? I want to use it with Adobe Story.

    Is OnLocation available with CC service? I want to use it with Adobe Story.
    I have never had a copy of OnLocation, but it looks to be a great way to manage Adobe Story and the workflow for shoots.
    Is there something else that is exports to that works similar to OnLocation?
    help

    I see that I can view Adobe Story in two locations of Premiere Pro. As a window and under File, Adobe Story (which is usually grayed out).
    I have exported the script as an .astx, Opened PP and clicked file, Adobe Story, Attach Script File ; then I am not sure what to do to see it.
    I clicked on Metadata but there is nothing there.
    The Window, Adobe Story shows dialog and scene no. and est duration. Is that all I should see? Why the Attach Script File option? And what about seeing the schedule?
    Thx Troy

  • Using DLL  with JSP

    I have a dll component writing with C++.
    I want to use this DLL in a JSP Pages.
    Is it possible?
    How could i do?
    I don't want to use JNI because I don't know JAVA.
    thanks.
    Bye.

    I have a dll component writing with C++.
    I want to use this DLL in a JSP Pages.
    Is it possible?Yes.
    How could i do?With JNI.
    I don't want to use JNI because I don't know JAVA.Then you are screwed. Maybe you should use ASP.

  • Getting a new mac and want to use both with iTunes

    I looked around the forums and the main site a bit and didn't see anything specific on how to do this, but I am currently using iTunes with my macbook and I have all of my iTunes content on an external hard drive. When my new mac arrives I first want to be able to use it as the primary device for iTunes (still want to keep content on the external drive) and need help on how to set it up (preferably w/o losing any content especially my iPhone backup) and if possible I want to be able to stream iTunes content to the macbook with the same account.
    Thanks in advance!

    The_J wrote:
    I'm not exactly sure if my library database documents are on the external or not. I do know that I just have my entire itunes library on the external. Any way I could check to be sure?
    your entire iTunes folder, not just the iTunes music (or media) folder, should be on the external. the iTunes folder contains, among others, the *iTunes library file* - which will be the database both your Macs need to access. click here for information.
    And if not, how do I go about moving the documents to the external
    just drag & drop them over. next, on one Mac after the other, launch iTunes with the option key pressed. you will see this window
    click on +choose library+ and navigate to the +iTunes library file+ (which should be located on the external HD inside the iTunes folder).
    As far as using the macbook with iTunes I guess I'm looking for a way to share the music with it after I have setup the new mac to be the main iTunes machine. I know there's the option of Home Sharing in iTunes so is that all I need to do?
    home sharing should work okay. click here for information.
    for another option, click here.

  • Want to use mapmyride with my droid

    I am new to the android and don't have a lot of experience using it. I want to use my phone as a GPS but I want to use the preloaded maps on map my ride. Does anyone know how I would go about doing this? Any advice would be greatly appreciated. I ride with a bike club and even though we use a cue sheet, it would be optimal to be able to use gps and see it turn by turn on my phone.

    jenjust42day wrote:
    I am new to the android and don't have a lot of experience using it. I want to use my phone as a GPS but I want to use the preloaded maps on map my ride. Does anyone know how I would go about doing this? Any advice would be greatly appreciated. I ride with a bike club and even though we use a cue sheet, it would be optimal to be able to use gps and see it turn by turn on my phone.
    from the map my ride website
      Open up the "Market" app on your Android device.
      Search for "iMapMyRUN or iMapMyRIDE"
      Download, install, and have a great workout!

  • Using JARs with JSP?

    How do you include JARs in a classpath so that the classes inside can be referred to in <%@ page import="mypackageinajar.myclassinajar" %> ? I've looked through the JSP docs but it only covered import statements. If I can't use a JAR, how would I enable my program to access the class files that I could just manually extract from the JAR?
    Thanks

    How do you include JARs in a classpath so that the
    classes inside can be referred to in <%@ page
    import="mypackageinajar.myclassinajar" %> ? I've
    looked through the JSP docs but it only covered
    import statements. If I can't use a JAR, how would I
    enable my program to access the class files that I
    could just manually extract from the JAR?You can use JARs, but this is simply a question of how to pack your stuff into a WAR. It has nothing really to do with JSPs...
    http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/WebComponents3.html

Maybe you are looking for