Not to display the HTML markup tags in JSP

Hi all,
Im my struts FormBean i have a String variable which contains HTML tags ( e.g <P> this is a sample text </p><br>....)
If the markups are not to be displayed in the resulting JSP, what should be done?
-Seshu

If I understand your question, and you want the value of the String variable outputed in the HTML, like showing HTML source, replacing '<' with "&lt;", '>' with "&gt;", '&' with "&amp;", and '"' with "&quot;" will do the trick and is XHTML-safe. (Replace the '&' character first)

Similar Messages

  • Want to open a new browser window and display the html file in locale disk.

    Hi,
    I want to open a new browser window and display the html file in local drive. The below html applet work in local system successfully. But i deploy the same in web server (Tomcat) and try the same in client machine it does not work. Please help.
    Note:
    The class below fileopen.FileOpen.class i make it as a jar and put it in jre\ext folder at the client machine.
    ------------------------------------FileOpen.html(Tomcat)-----------------------------------------------------
    <html>
    <body >
    <applet code="OpenFile.class" archive="loadfile.jar" width="100" height="100">
    <param name="path" value="file://c:/open.html" />
    </applet>
    </body>
    </html>
    -------------OpenFile.java in server(Tomcat)--------------------------------------------
    public class OpenFile extends Applet implements ActionListener{
    String path = "";
    fileopen.FileOpen open = null;
    Button b = null;
    public void init(){
    path = getParameter("path");
    b = new Button("Open");
    b.addActionListener(this);
    add(b);
    public void actionPerformed(ActionEvent ae){
    try
    open = new fileopen.FileOpen(this,path);
    catch (Exception e){
    e.printStackTrace();
    -------------------------------------------FileOpen.java /Client JRE/ext----------------------------------------------------
    package fileopen;
    public class FileOpen
    AppletContext context = null;
    URL url = null;
    public FileOpen(Applet applet,String path)
    try
    if(null != applet){
    context = applet.getAppletContext();
    if (null != path)
    url = new URL(path);
    context.showDocument(url, "_blank");
    }catch(Exception ex)
    ex.printStackTrace();
    Please help to solve this issue very urgent.
    Thanks in advance.
    By,
    Saravanan.K.

    zzsara wrote:
    I want to open a new browser window and display the html file in local drive. ...Did you ever pause to consider how ridiculous that is?
    The best audience for applets is people off the internet. 'People off the internet' might be using a computer that has no (what was it?) 'open.html' in the root of the C: drive. In fact (shock horror) they may not even be running Windows, and would therefore probably have no 'C:' drive at all.
    If you do not intend to distribute this to people off the web, an application makes a lot more sense, but even then, you cannot rely on the document being there unless you 'put it there' (during installation, for instance).
    As the other poster intimated, applets can load documents off the local disk as long as they are trusted. Here is an example*, but note that it is not so rash as to presume any particular path or file, and instead leaves it to the user to choose the document to display.
    * The short code can be seen at SDNShare on the [Defensive Loading of Trusted Applets|http://sdnshare.sun.com/view.jsp?id=2315] post.
    On the other hand, a sandboxed applet can load any document coming from its own server via URL, or get showDocument(URL) to work. In that case, the JRE must recognize that the URL is from its own server, so the best way to form URLs for applet use is via the URL constructor
    new URL(getDocumentBase(), "path/to/open.html");That is how I form the URL in this [ sandboxed example of formatting source|http://pscode.org/fmt/sbx.html?url=/jh%2FHelpSetter.java&col=2&fnt=2&tab=2&ln=0]. Of course, in this case the applet loads the document, then parses the text to draw the formatted version, but the point is that an URL produced this way will work with showDocument(URL).
    I am pretty sure showDocument() in an applet off the internet will work with an URL pointing to a foreign (not its own) server, but it will not be able to load documents off the end user's local disks.
    I suggest a couple of things.
    - Try to express this problem in terms of what feature it is that you want to offer the end user. Your question jumps directly to a bad strategy for achieving ..who knows what? An example of a feature is "Shows the applet 'help' files on pressing F1".
    - A good way to indicate interest in a solution is to offer [Duke stars|http://wikis.sun.com/display/SunForums/Duke+Stars+Program+Overview] to match that interest.
    Edit 1:
    ..and please figure out how to use the CODE tags.
    Edited by: AndrewThompson64 on Sep 12, 2008 11:14 PM

  • JSP generates html but the browser displays the html source

    Hi,
    I have iWS 4.1.3 on my Win2K Pro OS, as well as iAS 6.0. The documentation
    says that JSP is enabled by default. I put a simple .jsp file in my document
    root, and when I enter the url for the .jsp file, the browser displays the
    html source as opposed to rendering the html tags.
    I use IE 5.5 and Netscape 6.0, 4.77.
    Has anyone encountered this? What do I need to do to get JSP to work
    correctly.
    Thank you.
    Sincerely,
    Kalpana

    Hi,
    I too have the same setup & did not do anything additional to get it
    working, but it works fine for me. May be the request is not reaching the
    webserver or try to disable and then enable the .JSP option, it may work. I
    believe iWS newsgroup will be able to help you in this regard.
    Regards
    Raj
    Kalpana Nitzsche wrote:
    Hi,
    I have iWS 4.1.3 on my Win2K Pro OS, as well as iAS 6.0. The documentation
    says that JSP is enabled by default. I put a simple .jsp file in my document
    root, and when I enter the url for the .jsp file, the browser displays the
    html source as opposed to rendering the html tags.
    I use IE 5.5 and Netscape 6.0, 4.77.
    Has anyone encountered this? What do I need to do to get JSP to work
    correctly.
    Thank you.
    Sincerely,
    Kalpana

  • How to display the HTML File Titles instead of File Names

    Hello All,
    I want to display the HTML file titles instead of File names in the Search Results. I've tried to give this command in the 'Visible Properties' in the 'SearchResourceRenderer' as:-
    Visible Properties: rnd:displayTitle
    However this is not working for me. If anyone has an idea of what to pass here or any other alternative to display the Titles.
    Regards
    Vaib

    Summary of steps:
    1) Standard Layout Set used: SearchResultLayoutSet
    2) Create a new layout set using ADVANCED COPY
    3) Change properties as you require
    4) Next modify the search OTH file to reflect this newly created Layout Set (under KM > root > etc > oth > search.oth edit xml file property rndLaoutSet from SearchResultLayoutSet to MyCustomSearchResultLayoutSet)
    5) Check in the document to complete the editing process if Edit Locally is used!
    6) Lastly, activate the OTH file by –
    •     Setting Debugging settings via Debugging Settings
    •     Performing a normal search
    •     Clicking Rendering information and then following link OTH Overview click on Reload
    7) Reload above reloads the OTH file and performing search again will yield the desired result
    8) To turn off the Rendering Information link remove the user id from Debugging Settings.
    Cheers
    Ankit

  • How to display data containing CDATA tags in JSP/HTML?

    Hi,
    I'm getting some data from a webservice and displaying it in JSP. But some data from the service (like description of an item) contains CDATA tags.
    For ex: This is the data from the webservice.
    <BenefitsIssues><![CDATA[This strategy buys after a very rapid or extreme sell off with the hope that the gap will eventually be filled. <br>Typically, traders following these types of strategies expect some very large losses as downtrends continue.<br>Traders should take only very small positions when trading this strategy and never dedicate more than a small amount of risk capital in aggregate to this strategy.]]></BenefitsIssues>
    where <BenefitsIssues> is the XML tag. My code displays everything within this tag in JSP.
    Code is JSP looks like this.
    <tr><td><%=strategyDescriptor.getBenefitsIssues()%></td></tr>
    Eventually the HTML output of this JSP looks like..
    <tr><td>![CDATA[This strategy buys after a very rapid or extreme sell off with the hope that the gap will eventually be filled. <br>Typically, traders following these types of strategies expect some very large losses as downtrends continue.<br>Traders should take only very small positions when trading this strategy and never dedicate more than a small amount of risk capital in aggregate to this strategy.]]</td></tr>
    Problem is that the page fails to display the first line, "This strategy buys after a very rapid...." and starts displaying only from "Typically, traders following these....", i.e after the occurrence of first <br> tag. Page also displays "]]" at the end.
    How I can get rid of this problem? One way is to remove "![CDATA[" and "]]" from the data received from webservice. I would like to know if any other better solutions is there. Is there any predefined function to remove "![CDATA[" ?
    Thanks in advance for the help.
    -Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    write tha bean class with the return type like. vector,arraylist .
    add the result set values to vector.
    for example
    Vector s = new Vector();
    while(rs.next)
    s.add(rs.getString());
    at last return that s.
    return s;
    // IN Jsp page;
    <ur dropdown come here>
    <%
    Vector Test = new Vector();
    Test = call function contains databasevalues();
    for(int i=0;i<Test.size();i++)
    %>
    <option><%=Test.get(i)%></option>
    <%}%>
    %>
    Message was edited by:
    kamal_shan

  • How can I display the HTML page from servlet which is called by an applet

    How can I display the HTML page from servlet which is called by an
    applet using the doPost method. If I print the response i can able to see the html document. How I can display it in the browser.
    I am calling my struts action class from the applet. I want to show the response in the same browser.
    Code samples will be appreciated.

    hi
    I got one way for this .
    call a javascript in showDocument() to submit the form

  • Not to display the file name in the browser bar.

    Hello,
    Merry Christmas to all,
    Is it possible not to display the file name in the browser bar?
    Like say, when we write www.rediff.com, the index page name is not displayed.
    Likewise is it possible for any other page too.
    What I want is not to display any of the page name for the whole application.
    Whichever page is requested the page name should not appear in the address bar of the browser.
    How will I do that, what logics should I apply?
    Please suggest,
    Thanks,

    first, what does this have to do with Java?
    second, no; in order to display something, the browser needs to know where it is. and if it knows, then a user can find out too. maybe you can make it not show up in an address bar sometimes, but that really achieves nothing

  • When links are clicked, they do not fully display the NEW page until the mouse is moved.I know it is a current bug, and appears in no other browsers that I know of.

    It was pointed out that my links do not function correctly on Firefox on a Windows platform. When links are clicked, they do not fully display the NEW page until the mouse is moved! I have now observed it for myself on my fathers PC running Windows XP on Firefox.My PC is on Windows7
    It is the 5 version of Firefox, so I know it is a current bug, and appears in no other browsers that I know of.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    In Firefox 4+ you can use one of these to start in <u>[[Safe mode]]</u>:
    * Help > Restart with Add-ons Disabled
    * Hold down the Shift key while double clicking the Firefox desktop shortcut (Windows)
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • How to display the HTML pages in RRC/RQM dashboard using OpenSocial gadget

    Hi,
    I have a requirement as below:
    1. I have couple of HTML pages which are hosted in the sharepoint site and I would like to display the HTML pages
    2. I would like to have an OpenSocial gadget in the RRC/RQM dashboard that will display the HTML pages  which are hosted in my sharepoint site.
    Could you please suggest the best approach to create an OpenSocial gadget in the IBM's RRC/RQM dashboard whcih will display html contents of another URL ?
    Thanks.
    Knowledge is power.

    Hi Manoj,
    As I understand, you would like to display SharePoint page in another platform.
    Since the you are involving third party platform, you might still need to contact their support engineer about how to render other pages.
    From SharePoint side, by default, SharePoint won't let end user to display site page to other platform, you could add "<WebPartPages:AllowFraming runat="server"/>" in master page or single page layout. So that SharePoint ASP.Net
    page could be displayed on other platform.
    Here I'm talking about ASP.Net page, since HTML page in SharePoint cannot be displayed in browser as I tested, it will be downloaded directly. So I'd suggest you use ASP.Net page as workaround.
    https://social.msdn.microsoft.com/Forums/office/en-US/c8755a6b-f33a-43ed-97d9-8f03c336aa1d/how-to-display-sharepoint-url-in-iframe-in-aspnet-page?forum=sharepointdevelopment
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • Display the images in excel using jsp

    Hi
    I am unable to display the images in excel using jsp. I can display the data. but cannot display the images. It is simply showing the icon without the image. Is there any way to display the images. Pls give some sample code to display the images in excel.
    Thanks in advance.

    Presumably whoever created the images in that Excel document just put links to somewhere on their hard drive. Those links don't mean anything when you put the document on somebody else's computer, which is what you are doing. At least, that is my guess.
    You could spend some time looking at the Excel file to see how the images were put in there. Or you could ask the person who put the images in there.

  • Firefox will not display my HTML file as its contents - only displays the HTML text (firefox 5.0).

    I can download a file as a Firefox file (zipped) and it displays successfully. Then I can save the file as a text file and see the HTML text.
    When I work on the HTML text file and then try to display the modified file in Firefox 5.0 and Windows XP, Firefox will only show the HTML text, not the display of the contents of the file.

    Make sure that the file has a .html file extension if you want Firefox to render the content.
    Your above posted system details show outdated plugin(s) with known security and stability risks.
    *Shockwave Flash 10.0 r32
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/

  • {tag_pagecontent} and other html... Not working in the HTML item

    Hello All,
    I have a Muse HTML item placed on the page... the contents contain the following:
    <div class="bodyarea">
    {tag_pagecontent}
    </div>
    .bodyarea is stored in a style sheet outside of muse....
    When I publish to Catalyst from Muse, my "Page Content" is not surrounded by the "bodyarea" div
    Does the HTML item delete all other html or code when the {tag_pagecontent} tag is placed withing in ????
    Thanks

    Hi Brad,
    I'm still in development, so I'm not paying for it just yet...
    Correct... I have a several template pages in Muse, on one of the template pages I have an HTML object with the following code inside of it... I figured, I'd add the .bodyarea div inside of Muse, so I do not have to add it within the "Content" area of every page I create in Catalyst that uses this template.
    <div class="bodyarea">
    {tag_pagecontent}
    </div>
    .bodyarea is defined withing my modulestylesheets.css file
    When I add the following from within a Catalyst page that uses the Muse template, the styles take affect...
    <div class="bodyarea">
    page content, blah, blah....
    </div>
    As before, when I define the <div> from with Muse, it doesn't show up in the html when I preview the code.
    Does that make sense?
    Just wondering why within the "html" object in muse, it's not working.
    Also, yes... the page that I was testing has that template applied to it.
    Thank you

  • Displaying the HTML content ( VO attribute) as tooltip description.

    Hi all,
    I am doing a customization, where I need to display the VO attribute value as a tool tip for a link in advanced table column.
    The VO attribute value is a "HTML" text.
    Now, in the tool tip also, it is displaying in HTML format.
    Do anyone know how to convert this HTML format to a string format.
    Thanks in advance.

    Hi Gyan,
    This is one sample.
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
    <HTML>
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
    <META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.14">
    <TITLE>RE: RE: [NETAPP LOG # 2611146] (Ref. # RQST00000068819) VFM</TITLE>
    </HEAD>
    <BODY>
    <!-- Converted from text/rtf format -->
    <P><FONT COLOR="#0000FF" SIZE=2 FACE="Comic Sans MS">Hi John,</FONT>
    </P>
    <P><FONT COLOR="#0000FF" SIZE=2 FACE="Comic Sans MS">Further to the telecon please find the latest logs attached:</FONT>
    </P>
    <P><FONT FACE="Arial" SIZE=2 COLOR="#000000"> &lt;&lt;SFILE-BOTTOM_ReplicationAgent.exe_Events.zip&gt;&gt; </FONT><FONT FACE="Arial" SIZE=2 COLOR="#000000"> &lt;&lt;SYSTOOLS_Server.exe_Default.zip&gt;&gt; </FONT>
    <BR><FONT FACE="Comic Sans MS">Thanks and Regards,</FONT>
    <BR><FONT FACE="Comic Sans MS"> </FONT>
    <BR><B><FONT FACE="Comic Sans MS">Vasuki N S</FONT></B>
    <BR><B><FONT FACE="Comic Sans MS">Technical Support Engineer</FONT></B>
    <BR><FONT FACE="Comic Sans MS">----------------------------------------------------------------------------</FONT>
    <BR><U><FONT COLOR="#0000FF" FACE="Comic Sans MS">[email protected]</FONT></U>
    <BR><FONT FACE="Comic Sans MS">Working Hours Wed - Sat:  1PM &#8211; 12AM EST </FONT>
    <BR><FONT FACE="Comic Sans MS">For technical assistance outside my regular working hours, please call:</FONT>
    <BR><FONT FACE="Comic Sans MS">US &amp; Canada 888-4-NETAPP // * EMEA+Europe 00-800-44-NETAPP // * Asia/Pacific 800-8008-0800</FONT>
    </P>
    <BR>
    <P><FONT SIZE=1 FACE="Tahoma">_____________________________________________ </FONT>
    <BR><B><FONT SIZE=1 FACE="Tahoma">From:  </FONT></B> <FONT SIZE=1 FACE="Tahoma">Ns, Vasuki  </FONT>
    <BR><B><FONT SIZE=1 FACE="Tahoma">Sent:  </FONT></B> <FONT SIZE=1 FACE="Tahoma">Thursday, November 29, 2007 7:52 PM</FONT>
    <BR><B><FONT SIZE=1 FACE="Tahoma">To:    </FONT></B> <FONT SIZE=1 FACE="Tahoma">'[email protected]'</FONT>
    <BR><B><FONT SIZE=1 FACE="Tahoma">Cc:    </FONT></B> <FONT SIZE=1 FACE="Tahoma">'[email protected]'; '[email protected]'; '[email protected]'; Vantive CS; Gough,William</FONT>
    <BR><B><FONT SIZE=1 FACE="Tahoma">Subject:       </FONT></B> <FONT SIZE=1 FACE="Tahoma">RE: [NETAPP LOG # 2611146] (Ref. # RQST00000068819) VFM</FONT>
    </P>
    <P><FONT SIZE=2 FACE="Comic Sans MS">Hi Mike,</FONT>
    </P>
    <P><FONT SIZE=2 FACE="Comic Sans MS">I would like to inform you that I have taken the ownership of this case and will be working with you for requisite case follow-up.</FONT></P>
    <P><FONT SIZE=2 FACE="Comic Sans MS">Please do let us know if you have further issues/queries with respect to this case?</FONT>
    </P>
    <P><FONT SIZE=2 FACE="Comic Sans MS">------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</FONT></P>
    <P><FONT SIZE=2 FACE="Comic Sans MS">Please note my working hours of 1 PM until 12 AM EST on Wednesday through Saturday.  If you need immediate assistance outside of these hours, please call into the TECH SUPPORT </FONT></P>
    <P><FONT SIZE=2 FACE="Comic Sans MS">HOT LINE 1888 463 8277 and reference your case number, the next available engineer will be able to assist you</FONT>
    <BR><FONT SIZE=2 FACE="Comic Sans MS">------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</FONT></P>
    <P><FONT SIZE=2 FACE="Comic Sans MS">Thanks and Regards,</FONT>
    <BR><FONT SIZE=2 FACE="Comic Sans MS"> </FONT>
    <BR><FONT SIZE=2 FACE="Comic Sans MS">Vasuki N S</FONT>
    <BR><FONT SIZE=2 FACE="Comic Sans MS">Technical Support Engineer</FONT>
    <BR><FONT SIZE=2 FACE="Comic Sans MS">Network Appliance ® Inc.  </FONT>
    <BR><FONT SIZE=2 FACE="Comic Sans MS">Email:[email protected]</FONT>
    <BR><FONT SIZE=2 FACE="Comic Sans MS">-------------------------------------------------------------------------------------------------------</FONT>
    <BR><FONT SIZE=2 FACE="Comic Sans MS">Get answers NOW! @ </FONT><U><FONT COLOR="#0000FF" SIZE=2 FACE="Comic Sans MS">http://now.netapp.com</FONT></U><FONT SIZE=2 FACE="Comic Sans MS"> or @ </FONT><U><FONT COLOR="#0000FF" SIZE=2 FACE="Comic Sans MS">www.netapp.com</FONT></U>
    <BR><FONT SIZE=2 FACE="Comic Sans MS">-------------------------------------------------------------------------------------------------------</FONT>
    <BR><FONT SIZE=2 FACE="Comic Sans MS">For technical assistance outside my regular working hours, please call:</FONT>
    <BR><FONT SIZE=2 FACE="Comic Sans MS">US &amp; Canada 888-4-NETAPP // * EMEA+Europe 00-800-44-NETAPP // * Asia/Pacific 800-8008-0800 </FONT>
    <BR><FONT SIZE=2 FACE="Comic Sans MS"> </FONT>
    <BR><FONT SIZE=2 FACE="Comic Sans MS">Everyone at Network Appliance is committed to the highest level of customer satisfaction. If at any time you feel that you&#8217;re less than very satisfied with our support, please contact my manager, David Bauer [email protected].</FONT></P>
    <BR>
    <P><FONT SIZE=2 FACE="Comic Sans MS">From: Bingen, Chance </FONT>
    <BR><FONT SIZE=2 FACE="Comic Sans MS">Sent: Thursday, November 29, 2007 11:34 AM</FONT>
    <BR><FONT SIZE=2 FACE="Comic Sans MS">To: 'Luu, Mike'; Support</FONT>
    <BR><FONT SIZE=2 FACE="Comic Sans MS">Cc: FS Support; Vantive CS; Gough,William; Khe Lam</FONT>
    <BR><FONT SIZE=2 FACE="Comic Sans MS">Subject: RE: [NETAPP LOG # 2611146] (Ref. # RQST00000068819) VFM</FONT>
    </P>
    <P><FONT SIZE=2 FACE="Comic Sans MS">Thanks, Mike!</FONT>
    </P>
    <P><FONT SIZE=2 FACE="Comic Sans MS">I appreciate the logs. I was searching them for a listing of kfeintuc's file you mentioned previously, and didn't see it listed in the server or RA default logs you sent.</FONT></P>
    <P><FONT SIZE=2 FACE="Comic Sans MS">Was the RA log you sent from the VFM server or from the source server? And is the source server a Windows box or a filer?</FONT></P>
    <P><FONT SIZE=2 FACE="Comic Sans MS">As it is, we see lots of file in use type errors, such as this one: &quot;0x80070020 - The process cannot access the file because it is being used by another process.&quot; for &quot;DefaultCopier::OnException: CIFSHandleCache::GetHandle: via CIFSVolumeProvider::ScanAltDataStreams_UsingQIF, CreateFile(&lt;\\bri-net\p$\PShare\Neuroscience\Y Shi Grp\Individual\shli\old pc\COH-project issues\Tissue preperation records-Shengxiu.xls&gt;,R--,--,00000000) failed&quot;</FONT></P>
    <P><FONT SIZE=2 FACE="Comic Sans MS">This may be expected given the environment.</FONT>
    </P>
    <P><FONT SIZE=2 FACE="Comic Sans MS">Thanks!</FONT>
    </P>
    </BODY>
    </HTML>

  • Use the html break tag or CSS?

    I have one page on my site where the last two floated images caused problems. Because the text next to each one was not very long, the images got too close and broke the layout. I did a quick fix by inserting a few HTML break tags, but I'm wondering if it would be more professional practice to created an ID or CLASS adding more bottom margin to the paragraphs next to the photos??
    http://www.keithpurtell.com/kthings/jack-vance.htm

    You could add "clear:left;" or "clear:both;" to your "lft" class in the CSS. This would prevent the images from wrapping around each other.
    For more information about clear:
    http://www.w3.org/TR/CSS21/visuren.html#propdef-clear

  • Not to display the null values from data base

    Hiiii.
    In a jsp file i have ten check boxes.The jsp file is mapped to a servlet file for parameter requesting and to
    store it in DB.
    The unchecked box values has null values.All the values are store in a Mysql DB table.
    Again i have to display it in a jsp page from table.
    The problem am facing was,how can i display only the values in a row.it must not display the null values and the crresponding column name.
    Or any other way is their like below
    How i can retrieve only the selected check boxes from tht jsp file.and store in backend.
    Thanks in Advance
    regards,
    satheesh kannan

    Here is a rough example that may give you some ideas:
    On the JSP page:
    <%if(myData.getFirstName()!=null){%>
    Your First Name'
    <input type="text" name="firstName" value="<%=myData.getFirstName()%>">
    <%}%>
    In the servlet:
    String firstName= request.getParameter("firstName");
    if(firstName!=null){
    //write it to the database
    }

Maybe you are looking for

  • Old computer dead.  How do I sync my iPad's contents to a new computer?

    My computer died, and all the data with it. Have a new computer with iTunes. How do I get the iPad do dump all its data to the new computer's iTunes? Anyone?

  • External Hard Drive Doesn't Appear on Desktop / Won't Mount

    I have an external hard drive that is used as a server for 3 computers . . . it is hidden from the Desktop. The "home" computer is running 10.8.5, and the others (which also have the hard drive hidden) run 10.9.5 & 10.10.1. I can access the drive by

  • Acrobat 9.0 Pro Slow Moving Buttons

    Hi All, Im new here but am experiencing considerable delay position buttons.  Basically, its slow to create a button and to actually move the reposition the button. I am running Windows Vista Enterprise 32 bit with: - Acrobat Pro 9.0 - Intel 1.8ghz C

  • Fire Vault Issues

    Hello one and all, I recently bought and installed a new HDD into my late 2009 MBP am trying to transfer everything over. I have it all backed up to an external disk. When I go into migration assistant, I can't swap my profile over because my profile

  • Automatic deletion of SMSs

    Hi, My SMSs are deleted automatically from my iPhone4S. I started experiencing this from 1st Oct 2012. I have lost most of my important SMSs from my bankers and other important institutions. I can see a particular SMS on the main message screen, but