I want my web page to be secure

Hi Guys,
Someone can help me? i am new in jsp, here is the scenario I have admin.jsp page and I want that page to be secure. What i want is you cant access that page by typing the file name "admin.jsp"you have to login first before you cant access that secure page "admin.jsp".
Thanks,
Stowell

ok if you set for exmaple a session variable named username like this:
session.setAttribute("username","username");you must retrieve it like this:
String username = session.getAttribute("username")!=null?(String)session.getAttribute("username"):"";
if(username.equals("")){
response.sendRedirect("login.jsp");
}

Similar Messages

  • Contribute will not edit web page after installing Security Update 2007-004

    I have been unable to edit my web site with Contribute 3.11 after I installed the 2007-004 Security update. When I select the web page to edit the spinning beach ball appears and if I look in top it shows Contribute using 100% of the system. I have to do a force quit on it to be able to do anything.
    Has anyone else noticed a problem with this or have a possible solution? Thank you.
    Intel 20 in iMac   Mac OS X (10.4.9)   Powerbook 15in 1.67

    You might want to ask in the forums where Contribute users and Adobe hang out, if you haven't already:
    http://www.adobe.com/support/forums/

  • When my PC starts up, I want a web page to be automatically opened and my remembered ID is logged in

    I use a internet service which needs to be loggined before I can use the internet. I want this task to be completed automatically when my PC starts up. any suggesstions would be thankfully accepted.

    You can set Firefox to open with the internet log-in page, and have
    another page as your home page. The password manager will take
    care of the rest.
    Press the '''<Alt>''' or '''<F10>''' key to bring up the tool bar.
    Followed by;
    Windows; '''Tools > Options'''
    Linux; '''Edit > Preferences'''
    Mac; ''application name'' '''> Preferences'''
    Then '''General.'''
    There are two settings;
    * '''When Firefox Starts'''
    When the browser is started, what page do you want to
    display. Many of us choose '''Show My Home Page.'''
    * '''Home Page'''
    When a new page is opened, what do you want displayed.
    # '''Use Current Page'''. Use what ever page(s) are open at that time.
    # '''Use Bookmark'''
    # '''Restore To Default.''' about:home shows a Mozilla page with tools.
    You can use any of these that you wish;
    '''about:home''' (Firefox default home page),
    '''about:newtab''' (shows the sites most visited),
    '''about:blank''' (a blank page),
    or you can enter any '''web page''' or '''about: ''page''''' you want.

  • My screen view is too wide, causing me to slide view bar constantly. I want the web page to fit correctly and keep my upper tool bars.

    How do I set Firefox so that when I am viewing web pages, I do not constantly need to re-zoom the new page, or, use my bottom slide bar from side to side just so I can read the information I am looking for?
    My preference would by the page to "JUST FIT"my screen. And of course, keep my work bars where they are at top and bottom.
    I am running Windows XP, I am using a "ASUS wide screen monitor. (A VS197 LCD)

    There are add-ons like [https://addons.mozilla.org/en-us/firefox/addon/readability/ Readability] which reformat a page more thoroughly, but I don't know whether there is one which changes the page's width settings to fit within your window.
    If most pages look right at a certain reduced zoom level, you can use an extension to set that as your standard zoom level.
    For example:
    * [https://addons.mozilla.org/firefox/addon/default-fullzoom-level/ Default FullZoom Level]
    * [https://addons.mozilla.org/firefox/addon/nosquint/ NoSquint]

  • Want better web pages - will Aperture work with iWeb?

    Slightly disappointed in the dearth of good web page creating options in Aperture (you'd think they'd be better, no?). Can I get iWeb and create web pages using my Aperture photos?
    -Josh

    Slightly disappointed in the dearth of good web page
    creating options in Aperture (you'd think they'd be
    better, no?). Can I get iWeb and create web pages
    using my Aperture photos?
    Yes, iWeb can access your Aperture images if you've enabled previous. I tried this and found iWeb's web galleries quite horrid. After experimenting with a variety of options, I settled on customizing Aperture's web galleries and grafting together pages created by the two programs. iWeb works fine for throwing together some top level pages, and you can then hang Aperture web galleries off them as external links. Several folks have posted instructions on how to do this, and one fellow assembled a nice PDF.
    Cheers,
    Andreas

  • Is there a way to submit a pdf form without redirecting my web page?

    I have a fillable pdf form inside of a web page.  When a user clicks on a submit button I have the pdf calling the submitform method.  This redirects the web page to the url I specified inside of my pdf document.  I don't want the web page to be redirected.  I would like to have the pdf submitted to the server and know when I have handled the submission.  Is there a way to do this? 

    Normally you'd return an (X)FDF in this situation. It can contain content that causes an informative popup dialog to be displayed to the user, fill in form fields, and some other things. Are you able to reprogram the server to return an FDF instead of HTML?

  • 2 Desired Improvements for the Flash Player 'about' web page

    Hi all ...   I'm finally writing to request two improvements to this web page:
         http://www.adobe.com/software/flash/about/
    As a geek, I have long been annoyed that this web page does not keep its Flash object and does not show the Flash Player plugin version number in the same format as used in the detailed list of latest Flash Player versions for various web browers and operating systems.
    This web page is mainly a tool for techs.  It can be improved greatly with these two changes (which I'm requesting on May 29, 2013):
    1)  Near the top of the page, KEEP the flash animation object --
    do NOT replace it with an advertisement in a few seconds.
         Keeping the Flash object there allows a knowledgeable user
    to right-click on the object to see the Flash plugin version, which
    is a way to confirm that the web page's displayed Flash Player
    version is correct.
        Currently, the Flash object is replaced within a few seconds
    with an advertisement for some other Adobe product.  This is
    MOST ANNOYING.  As a tech, I'm specifically going to this web
    page to (a) see that the Flash Player plugin I just installed is
    working and/or (b) see what exact version it is.
        Again:   Keep the Flash object in place -- drop the code that
    replaces that object with an advertisement.
    2)  The displayed Flash Player version is formatted with commas,
    as in   
                    You have version
                    11,7,700,202 installed
    while ALL of the versions in the table below are formatted
    (properly) with dots, as in 
                    Player version
                    11.7.700.202
        Make it easier for us mere humans to compare these version
    numbers ... rework the HTML code to replace the commas with
    dots.  (It's not rocket science.)
    Thank you. 
        -- A geek and former software build & release
            engineer in Tacoma WA

    Thanks, Chris.    That other web page does serve my needs better.  I've created a web link to it on my flash drive where I keep the latest Flash plugins for IE and non-IE web browsers.
    I still feel that the "About" web page needs the two changes I suggested. 
    Thanks also for pointing out that the box displaying the version of the installed Flash plugin is actually a Flash .SWF object .... since it is currently static (meaning, it has no animation whatsoever), I had no clue it was a Flash object.
    So, I add a 3rd request:   have that version-display SWF object redone, to have a simple animation added and to have its code to display version revised to use periods (dots) in the version numbers.  If that object currently is intended and used in some other Adobe (European?) we page, create a new object for the English "About" page.   Or to re-use code, use the version-display object from the page at
          http://helpx.adobe.com/flash-player/kb/find-version-flash-player.html
    on the "About" page as well.
    Again, as a techie pressed for time, I want a web page where I see the current version of the installed plugins and the versions of the latest releases, in the same formatting,
    along with an animated flash object to prove that the Flash plugin in that web browser is working. 
    I do not accept that the mostly-technical Flash "About" page needs to have marketing materials (an ad).   People go to the About page specifically to see the Flash version info and to prove that Flash is working.
    Thanks again ....  - Ray

  • How can i set up multiple default web pages in one window

    I want multiple web pages in one window i.e for example google.com and yahoo.com should open in one window,showing their respective home pages in one window in a rectangular box(in my words).

    I presume this is to open multiple home pages, when FireFox launches. This will open one tab per URL, on one browser. To do so...
    Go to 'tools' > 'options' > type your URL as such: http://www.google.com|https://www.yahoo.com.
    There should be a vertical bar (shift backslash key), between each URL typed.
    Source: http://www.davidgumpper.com/applications/open-multiple-tabs-as-a-browser-default-home-pages

  • InDesign form to web page

    I did a simple form in InD and put the PDF in a Freeway web page... Freeway converts the PDF image to a 72dpi jpeg.
    Is it possible to get a very high quality representation of the form on the web using any InD (or Ily) export tools from this form? It's got some relatively small typesizes (9pt) on it that aren't reproducing well at all on the web page. I've included a link to the actual PDF on the web page, but I just wanted the web page image to be more legible.
    Thanks.

    Granted that it doesn't have all the bells and whistles, it works for me. I tried some of the others (Dreamweaver, SiteGrinder) and keep coming back because of it's simplicity and ease of creating boilerplate sites.
    The customers that I have and the websites I've done require functionality more than eye candy as well as cost effectiveness.

  • I want firefox to remember my ID and password on certain web pages. There is no "Option" tab in the Help section (like on my PC) where I could go to Security and checkmark the Remember Password box.

    I would like a window to appear when I log in on a web page to ask me if I want to save my password.
    Also, why is there no "Option" tab on the Help menu in the Mac like it is on my PC?

    After first closing the site's browser window, I cleared the cookies with no problem.
    Next, I opened up the page that is causing my problem. The Microsoft Security window opened up as it should and it was blank.
    The option of whether I was using a public or a private
    computer was blinking on 'public' as it should and I changed that to 'private'.
    The lines for 'Domain/Username' and 'Password" were blank, as they should be at this time.
    I entered whatever I had to on these two lines, then clicked on "log In". At no time, however, did the Firefox toolbar at top of screen (picture file attached) appear and ask whether to remember that password. Yes, the page now opened - and we are back to Square One.
    I am aware that when entering the URL in the address box, a dropdown box opens and contains quite a few URLs identical to the one I am entering just now, or at least connected to pages of the same site.
    I am wondering whether that is what's messing me up? But how can I clear these entries of "websites visited in the past from Firefox's memory?
    In case you would want to see exactly what it is I am talking about, you might go to https://support.ataretail.com

  • A tab popped up wich said Mozzilla Security, the web page seemed to scan my computer, stated it was infested with several viruses, and that I should download protection immediatly. Is this legit?

    A new tab opened up on my tool bar labeled Mozilla Security. The website looks like your security warning. But the security button is gray, McAfee doesn't recognize the site, and the web address does not contain Mozilla.com. The web address of this pop up page is: http://update89.modyett.co.be/index.php?Q57hGtS5bW5G7Hr+M0lEZy4rE7T40TcfocDyRAcjpCPVLS/PhAEpv1Hgq9vgx1qxsLunLyiXHnwwL5T3qX/CE0Q/ZRXJp+2mKYsC+kRq
    Do I have a virus, as it states, or is this uninvited web page trying to install a virus? What should I do?

    Just because it said Mozilla Security in the title bar does not mean it is from Mozilla as Mozilla nor the Firefox browser has ever done such a thing.
    This sounds like one of those fake animated scanners which claims it is scanning your computer and then says you are infected with such and such. It then suggests to download something that will be what really infects your computer if using Windows. As long as you did not download and install this whatever.exe then you should be safe. Though you may want to scan your computer with whatever antivirus software you have with updated definitions just to be safer.
    This sort of thing is even more obvious on being fake when Linux and Mac users can encounter these pages.

  • When using installed 3.6.10 version, web pages take a long time to load. No add-ons or plug-ins are used. I have to use version 3.6 if I want to browse with Firefox, Or web pages take FOREVER to load.

    OS: Windows 7 pro, updated daily as needed. This is a self built HIGH END computer, with a Quad processor, we'll leave it at that. I have a Cable connection: download speeds 1.5MBs. When I load Firefox 3.6.8 or 3.6.10 version, web pages take several minuets to load if at all. When I reinstall the basic Firefox 3.6 version over the 3.6.10 version, ALL web pages load instantly! I want the increased security of version 3.6.10 Firefox, but it will just NOT RUN on my computer!!

    same problem here for the past two days till this morning when I created a new profile and removed ALL addons from the default profile. With the new profile with NO addons, I got to the sites with video that I had problem with and flash player did work.
    Now, I only have three addons that have not created the problem; adblock, flashgot, and flashblock.
    Create a new profile and check it out.

  • Providing security to pdf web page.

    How would I provide security to a web page that is a pdf file? Basically I want the user to be able to access the file only if they are logged in. I do not want them to be able to put the .pdf webpage in their favorites and access it without logging in.
    Thanks

    Password protect the pdf?

  • Safari can not access any secure (HTTPS) web pages

    Does anyone have an idea why a good frined of mine using Safari 1.3.2 on a Power Book G4 with Mac OS 10.3.9 can not access any secure web pages (those that start with HTTPS)? I can not find any preferences that might control this. She can access the pages with IE but not Safari. What setting on her computer might control this? Any ideas would be appreciated. I even through away (com.apple.Safari.plist) file. Not change. An ideas??

    I have the same problem! However, this is ONLY while running wireless internet. Anytime I want to use an HTTPS site, I have to plug directly into my router, so I'm not wireless anymore, and then it works fine. Every now and then (like maybe 5% of the time), I get lucky and it will work for a short while such as logging into yahoo mail for example (logging into here didn't work at first but after waiting a bit, i was able to log in), but trying to stay on a secure connection such as a bank accnt. is impossible.
    Any help would be GREATLY appreciated! Everyone I've asked says they've never had the problem. I thought I was the only one.
    I checked my proxy settings -- nothing is checked. I've tried deleting preferences and I reset safari often.

  • Every since I upgraded to Version 30, if I go to a web page and type in anything. It opens 3-4 tabs wanting to upgrade or download other software.

    It opens tabs and wants me to upgrade firefox to Version 25.0.1. And when I clicked in this box it opened a tab and wanted me to upgrade computer, it also opened a tab to and 855 number claiming to be Mozilla firefox support help line.

    Go to the '''''[https://addons.mozilla.org/en-US/firefox/ Mozilla Add-ons Web Page]''''' {web link}
    (There’s a lot of good stuff here) and search for a good add blocker.
    =============================================
    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
    * [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
    * [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back to us!

Maybe you are looking for

  • Do not use the Megaphone effect when using external amp and speakers

    Hi guys, I just wanted to let you know that I damaged my Yamaha NS10 speakers while I was testing the effect section on garageband with an external mic through my studio amp and the NS10 studio monitors. When I switched to the Megaphone effect to tes

  • Recover Vista 64-bit OS using only an external monitor

    How can I use HP System Recovery to reinstall the Vista 64-bit OS using only an external monitor?  Unfortunately the display on my HP Pavilion DV5-1000US is broken.

  • How to install a plugin in OBPM 10GR3

    How do we install a plugin in OBPM 10GR3. Any steps that you guys know of? I want to install a plugin which actually needs to be installed for eclipse but since OBPM 10GR3 is built on top of eclipse, I think I can install it in OBPM 10GR3.. Please gu

  • Creative Cloud Desktop Manager not recognizing membership

    All my CC apps are opening as trial versions and when I sign in after clicking "License this software" it still doesn't recognize my subscription and continues to ask for a serial number.

  • Float number rounding

    how can I determine whether the number of digits after decimal point is greater than one? For e.g., the float number of 16.04(or more digits) should be rounded, but the number of 16.1 should not be rounded. Is there any other convenience method excep