Save option for jsp page

hi all,
In my project am including a html page in jsp.Now i want to save the html page only.Please any body help me to how to give save option for jsp page.
Thanks in advance.
mohan :)

you can save it in with browser "save as"

Similar Messages

  • Search Option in JSP page

    Hi all,
    Any one can help me to do the search option in JSP pages.
    regards,
    Bala

    You need to index the page contents and store it somewhere (database, textfile, binaryfile, etc) and write code to crawl in the index. You can write it all youself, but as I guess that you're not very skilled to do that, it might be worth to take a look for several 3rd party Java Search Engine API's:
    http://www.google.com/search?q=java+search+engine+api

  • What happened to the add to home page option for web pages. Can't find it.

    What happened to the add to home page option for web pages. Can't find it.

    Try stopping Safari followed by resetting your phone: double-tap the home button, locate Safari at the bottom (swiping if necessary), tap and hold until it wiggles, tap the minus sign.  Now reset: hold the on/off and home buttons until you see the Apple logo (ignore the off slider that appers first), then release.  If it still is missing you may need to restore your phone, which will put a fresh copy of the iOS on your phone (see http://support.apple.com/kb/HT1414).

  • Documentation for JSP pages

    hi,
    i am trying to do documetation for jsp pages, but i not successed.
    can someone clear this up for me? thanks!

    Try the Java developer section of the forums. You're not too likely to get an appropriate response in the SRSS area :-)

  • How to atomate caching options for all pages?

    Hi,
    Customer request:
    Does there exist a means of automating caching option for all the pages of a page group or a portal?
    Thanks a lot for your kind help.
    Best regards.
    Jean-Francois

    Depends on the view technology you´re using for JSF.
    If you're using JSP, use jsp:include.
    If you're using Facelets, use ui:include.
    Consult the documentation of the view technology used for details.

  • Is any free tool bar for jsp page?

    hi,
    I am having web pages.
    so I am entering some data in text area.
    how to select the font ,size,colors in jsp page.
    i want features like word in jsp page.
    is it any free software available to change font,color of text.
    Thanks
    siva

    and here is the js script for textEditorContent.js ...
    function boldThis(from)
        strSelection = document.selection.createRange().text
        if (strSelection == "")
            document.form1.text.focus()
            if (from == 2) document.form1.text.select()
                strSelection = document.selection.createRange().text
            document.selection.createRange().text = strSelection + "<b></b>"
        else
            document.selection.createRange().text = "<b>" + strSelection + "</b>"
        return;
    function underlineThis(from)
        strSelection = document.selection.createRange().text
        if (strSelection == "")
            document.form1.text.focus()
            if (from == 2) document.form1.text.select()
                strSelection = document.selection.createRange().text
            document.selection.createRange().text = strSelection + "<u></u>"
        else
            document.selection.createRange().text = "<u>" + strSelection + "</u>"
        return;
    function italicThis(from)
        strSelection = document.selection.createRange().text
        if (strSelection == "")
            document.form1.text.focus()
            if (from == 2) document.form1.text.select()
                strSelection = document.selection.createRange().text
            document.selection.createRange().text = strSelection + "<i></i>"
        else
            document.selection.createRange().text = "<i>" + strSelection + "</i>"
        return;
    function fontThis(from)
        var ind=document.form1.fontnames.selectedIndex;
        newfont=document.form1.fontnames[ind].value;
        strSelection = document.selection.createRange().text
        if (strSelection == "")
            document.form1.text.focus()
            if (from == 2) document.form1.text.select()
                strSelection = document.selection.createRange().text
            document.selection.createRange().text = strSelection + "<font face='"+newfont+"'></font>"
        else
            document.selection.createRange().text = "<font face='"+newfont+"'>" + strSelection + "</font>"
        return;
    function sizeThis(from)
        var ind=document.form1.fontsizes.selectedIndex;
        newsize=document.form1.fontsizes[ind].value;
        strSelection = document.selection.createRange().text
        if (strSelection == "")
            document.form1.text.focus()
            if (from == 2) document.form1.text.select()
                strSelection = document.selection.createRange().text
            document.selection.createRange().text = strSelection + "<font size='"+newsize+"'></font>"
        else
            document.selection.createRange().text = "<font size='"+newsize+"'>" + strSelection + "</font>"
        return;
    function colorThis(from)
        var ind=document.form1.colors.selectedIndex;
        newcolor=document.form1.colors[ind].value;
        strSelection = document.selection.createRange().text
        if (strSelection == "")
            document.form1.text.focus()
            if (from == 2) document.form1.text.select()
                strSelection = document.selection.createRange().text
            document.selection.createRange().text = strSelection + "<font color='"+newcolor+"'></font>"
        else
            document.selection.createRange().text = "<font color='"+newcolor+"'>" + strSelection + "</font>"
        return;
    function newlineThis()
        strSelection = document.selection.createRange().text
        if (strSelection == "")
            document.form1.text.focus()
        document.selection.createRange().text = strSelection + "<br>";
        return;
    function insertPic()
        var ind=document.form1.pictures.selectedIndex;
        if(ind==0)
            alert(msg15)
            return false;
        newpic=document.form1.pictures[ind].value;
        strSelection = document.selection.createRange().text
        if (strSelection == "")
            document.form1.text.focus();
        document.selection.createRange().text = strSelection +"<img border=0 src='"+newpic+"'>";
        return;
    function ahrefThis()
        strSelection = document.selection.createRange().text
        if (strSelection == "")
            document.form1.text.focus()
        document.selection.createRange().text = "<a href='" + document.form1.hyperlinknm.value + "' target='_blank'>" + strSelection + "</a>"
        return;
    function textview()
        popupWindow5=open("EDETAIL_Text_View.jsp",'Windown','scrollbars=YES,resizable=YES,left=10,top=20,toolbar=no,width=1000,height=600');
        if (popupWindow5.opener == null)
            popupWindow5.opener = self;
        popupWindow5.focus();
    function callSave(size, module, msg)
        if(!checkMaxLength(document.form1.text,size,msg))
            return;
        if(isBlank(document.form1.text.value))
            alert(module+" "+msg11);
            document.form1.text.focus();
            document.form1.text.select();
            return false;
        if(module=='Question')
            var tempstr ="";
            var count = document.form1.rowCount.value;
            var ind = document.form1.anstype.selectedIndex;
            for (i=0; i<count; i++)
                if(count==1)
                    if(ind>0)  // RADIO or CHECKBOX or DROPDOWN
                        tempstr = document.form1.answerDesc.value;
                    if(ind==1) // RADIO BUTTON
                        if(!checkMaxLength(document.form1.answerDesc,500,"Answer Option"))
                            return;
                        if(!checkMaxLength(document.form1.feedbackDesc,500,"Answer Option"))
                            return;
                else
                    if(ind>0)  // RADIO or CHECKBOX or DROPDOWN
                        tempstr = document.form1.answerDesc.value;
    if(ind==1) // RADIO BUTTON
    if(!checkMaxLength(document.form1.answerDesc[i],500,"Answer Option"))
    return;
    if(!checkMaxLength(document.form1.feedbackDesc[i],500,"Answer Option"))
    return;
    if(ind>0)
    if(isBlank(tempstr) )
    alert(msg12);
    if(count==1)
    document.form1.answerDesc.focus();
    document.form1.answerDesc.select();
    else
    document.form1.answerDesc[i].focus();
    document.form1.answerDesc[i].select();
    return false;
    for (j=i+1; j<count; j++)
    if(document.form1.answerDesc[i].value==document.form1.answerDesc[j].value)
    alert(msg13);
    document.form1.answerDesc[j].focus();
    document.form1.answerDesc[j].select();
    return false;
    document.form1.submit();
    This function is used to go back to previous screen
    function goBack()
    if(window.confirm(msg14))
    if(document.form1.From.value=="Page")
    document.form1.action="EDETAIL_Add_Page_Content.jsp";
    else
    document.form1.action="EDETAIL_Upload_Text_Editor.jsp";
    document.form1.submit();
    By the way didnt this forum itself give you a big hint on Bold, Itallic & underline ?

  • How to save data in html format while user click a save button in jsp page

    Hi All,
    I have the following requirement
    If user click on the Save Button it should display a window which allows the user to select the directory and the data is stored in the Internet Explorer Format.
    Could please anybody suggest me how to impletment the above requirment in jsp page.
    It's very urgent. Please replay ASAP.
    Thanks
    Rajeshwari

    Analyzing ur ques ...
    If user click on the Save Button it should display a window which allows the user to select the directory and the data is stored in the Internet Explorer Format.hmmm..
    There is no html object type which supports directory selection for download. There is only an input type="file" which however is related to an upload scenario.
    By downloading the file using output stream u can achieve what you want.
    You simply need to do the following things ..
    a) Write to an output stream
    b) Set the content type to "text/html" for your response
    Example ....
    response.setContentType("text/html");
    response.setHeader("Content-disposition",
    "attachment; filename" +
    "Example.html" );
    javax.servlet.ServletOutputStream stream = res.getOutputStream();
    StringBuffer text = new StringBuffer(1024);
    text.append("some text . . . ");
    text.append("more text . . . ");
    stream.write(data);
    stream.close();

  • Default Values option for entire page

    Is there a way to set the entire page to use the default values for the entire page. I know you can set it per variable, and I have quite a rythyme so I can do it fairly quickly but with multiple pages with 100 or so values it gets tiring. I have tried setting it under the Page Settings Manager by setting "usedefaultValueParameters" to True for the page. It seems to ignore this though, it is still sending the parameters.
    I couldn't find any other option, and I do need to still send them on some of the pages within the script, I just don't want to overwrite the same page when I pull it up in future pages after filling it with a databank file.
    Just wondering if there is a better solution or if I need to get back to my F4-Tab-Tab-Tab-Space-Enter-Down-Repeat.

    Thanks for the reply, the only navigation I have done on those pages was clicking cancel on the bottom to go back to the search screen, but it is not working. I guess it is back to setting each field up to use defaults. Unfortunate.
    Does it have to be recorded with that setting?
    Message was edited by: jmelling

  • How to implement content caching for jsp page ?

    Hello everyone,
    I am reading an article <Servlets and Jsp Best Practice>,at
    http://developer.java.sun.com/developer/technicalArticles/javaserverpages/servlets_jsp/#author, on one section it is saying :
    "Cache content: You should never dynamically regenerate content that doesn't
    change between requests. You can cache content on the client-side, proxy-
    side,or server-side. "
    Now I am working on a project. For every user, some of the content servlet generated will be the same for at least a week . I am thinking if I implement caching for these jsp pages, that would increase performace a lot.
    But I have no idea how to implement it either client-side or server-side, can someone give me a hint ?
    Thanks,
    Rachel

    You mean actually you are caching the response stream
    and the key to distinguish between different response
    streams are made of user's different request
    parameters. And the filter's function is to intercept
    the request to see if this request parameter's
    combination already exists in the Hashmap,then either
    use the cached response or forward to
    servlet.....really interesting...Do I get it right ?Yes that's it in a nutshell.
    >
    Then how do you build those response streams in
    advance ? You did it manually or have some mechanism
    to build it automatically ?
    The data gets cached the first time somebody visits the page.
    Find some examples on Filters, and take a look at the HttpServletResponseWrapper class. You need to cache response headers as well as the body. Another pitfall that you might run into is handling an If-modified-since header on the request. Don't cache the results of those requests.
    -Jonathan
    >
    Thanks again !
    Rachel

  • Print version for JSP pages

    Hi,
    I have the following requirement. I have a site consisting of JSP pages. I need to provide a print version for every page.
    The problem is, while printing, if a webpage spans for multiple printing pages, I need to put a footer on each of these pages. But, this footer must appear only once (at the bottom of the page).
    How do I achieve this? any help will be greatly appreciated.

    there is one work around for doing this... in order to print the header and footer...generate a dummy page with the exact format...
    Header
    20-25 Lines Text
    Footer
    Header
    20-25 Lines Text
    Footer
    and so on...
    so when this is flushed to the printer....u would get every page formatted with Header and Footer as this is going to happen in the background...there willl be no pblm to users...
    hope this helps u...

  • How to Deactivate or remove "Remove from Page"option for iview/page tray

    Hi,
    I would like to deactivate the "remove from page" option in the iview tray for ESS screens(WD iviews). I have made Show tray to NO and it hided the whole tray also tried Show remove to NO but no effect. But instead i would like this option (Remove from page) alone to be deactivated or removed.
    regards
    Bharat.

    Remove from page is the correct setting you need to change. If it doesn't seem to be working, this is normally because a content administrator has done something wrong with the delta links. For example, if an iView is included in a page as a copy (not as a delta link) changing the iView won't change the behaviour in the page. Instead you need to change the iView in the page. This is worst practice.
    You need to do some delta link tracing

  • Slow response time for JSP pages under iAS 6.0 SP4

    Hi,
    I got an application deployed on iplanet app server 6.0 SP4 on solaris
    2.8. Using a single kjs engine and lite sessions. kjs memory size is
    min 256 and max 256 megs. but verbose:gc shows memory is 98% free.
    when i restart the app server, all JSP pages are really rendered fast.
    After a while (1 or 2 days), the time to service the same request to
    JSP pages is getting much longer (even with JSP pages having only
    static content in them). CPU is idle ... It just takes time. KXS log
    shows requet is taking like 2-4 seconds instead of about 150 milli
    secs when the engine is just restarted.
    Now if i call a servlet (which do not dispath to a JSP), the response
    time is ok! Memory is ok. It looks like its related to JSP pages
    only.
    Anyone having an idea what the problem could be? One conig param is
    the JSP page cache in iASAT. Default value is 10. What is a correct
    setting for production? I have 4 different web app deployed in the
    same server instance.
    Tanks a lot for your input
    Andre Paradis

    Andre,
    I have found the answer to my problem and perhaps yours. It seems that I18N (internationalization) in SP4 may have a performance bug in it.
    My soak tests show that with i18N checked in the iAS Admin Tool, testing the fortune cookie sample application with light load (1 request / sec) resulted in a kxs response time initially of 15ms, however this response time increased by roughly 1% per request (i.e after 100 requests the response time had more than doubled).
    Switching I18N off yielded a steady 7ms kxs response time from the fortune cookie application.
    I would add that I turned I18N on AFTER the installation procedure.
    Is this a known issue in SP4? Is there a patch?
    regards,
    Owen

  • Enable the Print,Save button for dashboard page in obiee11g

    Hi All,
    How To Enable print and save button for hole dashboard page.I found in 10g but i can't found in the 11g.

    All the best... if you get solution share it.
    thanks
    @User
    I'm not guru! I'm just (top) learner
    Edited by: Srini VEERAVALLI on Apr 5, 2013 6:17 AM

  • Need help in countdowntimer in java bean for jsp page

    hi..im student..i need help with countdowntimer in jsp page..with java bean component..im use XHTML MP for my jsp page so i can use it in cellular phone with WAP 1..can anybody help me with this problem..thx

    hi..im student..i need help with countdowntimer in jsp page..with java bean component..im use XHTML MP for my jsp page so i can use it in cellular phone with WAP 1..can anybody help me with this problem..thx

  • Can't find Design View for JSP page on Unix

    I'm using weblogic workshop to develop page flow on Solaris, and I can't find the Design View tab to build
    JSP page. I searched all menus and can't find one to enable this function. Is this function supported on Unix?
    Thanks
    Zhong

    Zhong--
    Unfortunately, no; Workshop 8.x does not support design view on UNIX.
    Eddie

Maybe you are looking for

  • Mac won't open my external HD

    Hi,      I have an external Hard-Drive and I have always used it in my macbook. The HD has 2 partitions (Fat and exFat). When I open Disk Utility appears the name of the partitions but in grey letters. What should I do? PS.: I`m using OS X Yosemite

  • What are the Synchronisation settings for pc suite...

    i've got the below message appeared on the pc and just wondered what the correct settings should be? cheers Rich Please check your Synchronisation settings and ensure your phone is in the Idle state, then restart the Synchronisation. Nexu 5

  • Arithmatic conversion error in query

    I have a stored procedure for a report . The underlying table has a decimal(18,2) column. In the Stored Procedure code, the conversion to decimal (12,2) gives an error as one of the records has a value that exceeds (12,2). I am running this report fo

  • S6000 HDMI Issue

    Back in January I bought an S6000 tablet from Best Buy, and I've been extremely pleased with it. However, when I try to plug it into the TV using micro HDMI, the HDMI notification repeatedly pops up and disappears on the tablet, but nothing shows up

  • How to main the message type is I for the exceptions when we create the FM

    HI , I have created one FM.in that i need to maintain the exceptions. for handling the exceptions message type is I. where can i maintain the exceptions message type I.is it at the creation of FM or calling of FM? tell me in details. for handling exc