Please help me very very urgent i am unable to do it from last two months

i am getting 404 error
the requested resource is not available
http://ustca130/Loginportal
// my web.xml ///
<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
<display-name>Name for Loginportal</display-name>
<description>
     This is a simple web application with a source code organization
     based on the recommendations of the Application Developer's Guide.
</description>
<servlet>
<servlet-name>Loginportal</servlet-name>
<servlet-class>com.hp.ifc.install.verify.Loginportal</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Loginportal</servlet-name>
<url-pattern>Loginportal</url-pattern>
</servlet-mapping>
</web-app>
//Loginportal//
package com.hp.ifc.install.verify;
import javax.servlet.http.HttpServlet;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.RequestDispatcher;
import com.hp.ifc.install.database.Loginportalbean;
* Servlet Class
* @web.servlet name="Loginportal"
* display-name="Name for Loginportal"
* description="Description for Loginportal"
* @web.servlet-mapping url-pattern="/Loginportal"
* @web.servlet-init-param name="A parameter"
* value="A value"
public class Loginportal extends HttpServlet {
     protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException,IOException
          // TODO Auto-generated method stub
          RequestDispatcher rd;
          String username=req.getParameter("J_USERNAME");
          String password=req.getParameter("J_PASSWORD");
          Loginportalbean lb = new Loginportalbean();
          if(lb.isUservalid(username,password))
               rd=req.getRequestDispatcher("success.html");
          else
               rd=req.getRequestDispatcher("fail.html");
}

Shouldn't that URL include the name of your web application? Sort of like this:
http://ustca130/AppName/Loginportal

Similar Messages

  • Please help..it's Urgent..How to fetch the value from table row from Page

    Hi,
    I have created a table with 2 LOV's , LOV2 is dependent on LOV2.
    Here I can not use the general Dependent LOV concept, as these values are coming from 2 different LookUps.
    I am not able to fetch the user input for LOV1 (from page) .that is why not able to set the where cluse fro 2nd LOVVO.
    I have used this code:
    if ("ViolationCat".equals(lovInputSourceId)) {
    OAMessageLovInputBean msglov =
    (OAMessageLovInputBean)webBean.findChildRecursive("ViolationCat");
    // String p_violation_category = "'"+(String)msglov.getValue(pageContext)+"'";
    String p_violation_category =
    (String)msglov.getValue(pageContext);
    // System.out.println(" p_violation_category =" +
    // p_violation_category);
    String v_violation_category = "";
    //System.out.println("vcat=" + vCat);
    OAViewObject violationVO =
    (OAViewObject)am.findViewObject("SNI_Violation_DtlsVO2");
    Number vcatViolationIdnum =
    (Number)violationVO.getCurrentRow().getAttribute("ViolationId");
    String vcatViolationId = "" + vcatViolationIdnum;
    pageContext.putTransactionValue("vcatViolationId",
    vcatViolationId);
    pageContext.putTransactionValue("p_violation_category",
    p_violation_category);
    String query =
    " SELECT LOOKUP_CODE, \n" + " MEANING, \n" +
    " LOOKUP_TYPE \n" +
    " FROM apps.fnd_lookup_values \n" +
    " WHERE LOOKUP_TYPE ='SNI_VIOLATION_CATEGORY' AND MEANING=?";
    PreparedStatement ps = txn.createPreparedStatement(query, 1);
    try {
    ps.setString(1, p_violation_category);
    ResultSet rs = ps.executeQuery();
    //System.out.println("before while,");
    // rs.next();
    // v_violation_category = rs.getString("LOOKUP_CODE");
    // System.out.println("v_violation_category="+v_violation_category);
    while (rs.next()) {
    //System.out.println("inside while");
    v_violation_category = rs.getString("LOOKUP_CODE");
    // System.out.println("v_violation_category=" +
    // v_violation_category);
    ps.close();
    } //try ends
    catch (Exception e) {
    e.getMessage();
    //System.out.println("in catch.." + e.getMessage());
    OAViewObject subCatVO =
    (OAViewObject)am.findViewObject("SNI_ViolationSubCategoryVO1");
    //System.out.println("get VO before where clause: subCatVO::"+subCatVO.getQuery());
    subCatVO.setWhereClause("LOOKUP_TYPE like '%SNI_VIOL_SUB_CAT_" +
    v_violation_category + "'");
    System.out.println("after set where clause VO: subCat VO::" +
    subCatVO.getQuery());
    subCatVO.executeQuery();
    // System.out.println("query of subCat VO::" +
    // subCatVO.getQuery());
    //End of sub category Validation
    It is working fine only for the 1st row of teh table.
    I have tried to fetch the value using :
    String violationCategory = (String)violationVO.getCurrentRow().getAttribute("ViolationCategory");
    String violationSubcategory = (String)violationVO.getCurrentRow().getAttribute("ViolationSubcategory");
    But it is fetching null value.
    Please tell me how can I able to fetch the values.

    Hi
    in your scenarion,first u have to identify the particular row of table where the changes is being made ,u have to use this code .when u select the lov ,first it will give the row refernce and then u have to catch the lov event
    OAApplicationModule am =
    (OAApplicationModule)pageContext.getApplicationModule(webBean);
    String event = pageContext.getParameter("event");
    if ("<ItemPPREventName>").equals(event))
    // Get the identifier of the PPR event source row
    String rowReference =
    262
    pageContext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
    Serializable[] parameters = { rowReference };
    // Pass the rowReference to a "handler" method in the application module.
    am.invokeMethod("<handleSomeEvent>", parameters);
    In your application module's "handler" method, add the following code to access the source row:
    OARow row = (OARow)findRowByRef(rowReference);
    if (row != null)
    thanx
    Pratap

  • I M FACING PROBLEM USING MY EMAIL ACCOUNT IN FIRE FOX FROM LAST 2 MONTHS. PLEASE HELP ME WHWT SHOULD I DO SO I CAN ENJOY AS PREVIOUS. HERE I HAVE TO CLEAR THAT I CAN SEE MY MAILS IN IE6 REGULAR TILL NOW BUT NOT IN FIRE FOX.

    SIR, my email account is [email protected] i am using firefox since last one year and enjoying it happily. but from last two month i have trouble in seeing my mails in firefox. but there is no problem in I.E.6. so please tell me what happend. either i had made any disturbance in firefox setting on my laptop or there is any other problem.
    here i have to specify that i tried to open my friends email accounts also. but no email account is opening. i m using firefox version 4.

    forgot to mention my email account is through Cox communications (pop server) if this is important to know.
    Thanks again!

  • Since upgrading to Yosemite on my iMac, My Mail app refuses to open, Safari won't load, and I can't upload pictures from my iPad... Please help, any ideas very welcome. I've had my iMac since 2011, and have never had any issues to deal with before..

    Since upgrading to Yosemite on my iMac: My Mail app refuses to open, Safari won't load, and I can't upload pictures from my iPad...
    Please help, any ideas very welcome. I've had my iMac since 2011, and have never had any issues to deal with before..
    Thanks

    29/11/2014 20:17:01.315 com.apple.xpc.launchd[1]: (jp.buffalo.NASPower)
    Service only ran for 11 seconds. Pushing respawn out by 49 seconds.
    29/11/2014 20:17:37.013 com.apple.backupd[616]: Finished scan
    29/11/2014 20:17:43.108 com.apple.backupd[616]: Saved event cache at
    /Volumes/Time Machine Backups/Backups.backupdb/Geoff Lambrechts’s iMac
    (2)/2014-11-29-200648.inProgress/9B453663-603F-40B8-AC21-24F05C724E15/.6162AD34- 38F8-30AB-98E0-4A22FB9D311F.eventdb
    29/11/2014 20:17:43.207 com.apple.backupd[616]: Not using file event
    preflight for Macintosh HD
    29/11/2014 20:18:01.561 com.apple.xpc.launchd[1]: (jp.buffalo.NASPower)
    Service only ran for 11 seconds. Pushing respawn out by 49 seconds.
    29/11/2014 20:18:16.288 com.apple.xpc.launchd[1]:
    (com.apple.quicklook[715]) Endpoint has been activated through legacy
    launch(3) APIs. Please switch to XPC or bootstrap_check_in():
    com.apple.quicklook
    29/11/2014 20:18:23.705 com.apple.SecurityServer[56]: Session 100013 created
    29/11/2014 20:18:32.046 mdworker[718]: code validation failed in the
    process of getting signing information: Error Domain=NSOSStatusErrorDomain
    Code=-67062 "The operation couldn’t be completed. (OSStatus error -67062.)"
    29/11/2014 20:19:01.662 com.apple.xpc.launchd[1]: (jp.buffalo.NASPower)
    Service only ran for 11 seconds. Pushing respawn out by 49 seconds.
    29/11/2014 20:19:45.458 com.apple.xpc.launchd[1]:
    (com.apple.imfoundation.IMRemoteURLConnectionAgent) The
    _DirtyJetsamMemoryLimit key is not available on this platform.
    29/11/2014 20:19:59.123 com.apple.xpc.launchd[1]:
    (com.apple.PubSub.Agent[725]) Endpoint has been activated through legacy
    launch(3) APIs. Please switch to XPC or bootstrap_check_in():
    com.apple.pubsub.ipc
    29/11/2014 20:19:59.123 com.apple.xpc.launchd[1]:
    (com.apple.PubSub.Agent[725]) Endpoint has been activated through legacy
    launch(3) APIs. Please switch to XPC or bootstrap_check_in():
    com.apple.pubsub.notification
    29/11/2014 20:20:01.138 com.apple.xpc.launchd[1]: (jp.buffalo.NASPower)
    Service only ran for 10 seconds. Pushing respawn out by 50 seconds.
    29/11/2014 20:21:01.484 com.apple.xpc.launchd[1]: (jp.buffalo.NASPower)
    Service only ran for 10 seconds. Pushing respawn out by 50 seconds.
    29/11/2014 20:21:13.430 com.apple.backupd[616]: Found 4529 files (1.1 GB)
    needing backup
    29/11/2014 20:21:18.786 com.apple.backupd[616]: 2.82 GB required (including
    padding), 1.24 TB available
    29/11/2014 20:21:31.775 Console[734]: Failed to connect (_consoleX) outlet
    from (NSApplication) to (ConsoleX): missing setter or instance variable
    29/11/2014 20:21:34.230 WindowServer[162]: disable_update_timeout: UI
    updates were forcibly disabled by application "Console" for over 1.00
    seconds. Server has re-enabled them.
    29/11/2014 20:21:36.898 WindowServer[162]: common_reenable_update: UI
    updates were finally reenabled by application "Console" after 3.67 seconds
    (server forcibly re-enabled them after 1.00 seconds)
    29/11/2014 20:21:36.971 coreservicesd[83]: SFLEntryBase::ListHasChanged
    mach_msg returned 10000004d
    29/11/2014 20:22:01.817 com.apple.xpc.launchd[1]: (jp.buffalo.NASPower)
    Service only ran for 10 seconds. Pushing respawn out by 50 seconds.
    29/11/2014 20:23:02.170 com.apple.xpc.launchd[1]: (jp.buffalo.NASPower)
    Service only ran for 10 seconds. Pushing respawn out by 50 seconds.
    29/11/2014 20:24:02.547 com.apple.xpc.launchd[1]: (jp.buffalo.NASPower)
    Service only ran for 10 seconds. Pushing respawn out by 50 seconds.
    29/11/2014 20:25:02.168 CalendarAgent[218]:
    [Refusing to parse response
    to PROPPATCH because of content-type: .]
    29/11/2014 20:25:02.233 CalendarAgent[218]:
    [Refusing to parse response
    to PROPPATCH because of content-type: .]
    29/11/2014 20:25:02.236 CalendarAgent[218]:
    [Refusing to parse response
    to PROPPATCH because of content-type: .]
    29/11/2014 20:25:02.284 CalendarAgent[218]:
    [Refusing to parse response
    to PROPPATCH because of content-type: .]
    29/11/2014 20:25:03.059 com.apple.xpc.launchd[1]: (jp.buffalo.NASPower)
    Service only ran for 10 seconds. Pushing respawn out by 50 seconds.
    29/11/2014 20:25:12.674 com.apple.xpc.launchd[1]:
    (com.apple.imfoundation.IMRemoteURLConnectionAgent) The
    _DirtyJetsamMemoryLimit key is not available on this platform.
    29/11/2014 20:26:03.464 com.apple.xpc.launchd[1]: (jp.buffalo.NASPower)
    Service only ran for 10 seconds. Pushing respawn out by 50 seconds.
    29/11/2014 20:27:03.841 com.apple.xpc.launchd[1]: (jp.buffalo.NASPower)
    Service only ran for 10 seconds. Pushing respawn out by 50 seconds.
    On 29 November 2014 at 19:29, Apple Support Communities Updates <

  • Blank screen in itunes store-please help im not very technical and when i click on my itunes app the screen is blank how can i fix this please?

    Blank screen in itunes store-please help im not very technical and when i click on my itunes app the screen is blank how can i fix this please?

    See if any of the following fix it.
    Try logging out of your account on your phone by tapping on your id in Settings > iTunes & App Store and tap 'Sign Out' on the popup and then log back in.
    If that doesn't fix it then try closing the iTunes store app via the phone's multitasking bar and see if it works properly when you open the app : double-click the home button to open the taskbar and then swipe or drag iTunes from there up and off the top of the screen to close it, and the click the home button to close the taskbar.
    A third thing to try is a soft-reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the equivalent of a reboot.

  • My iPad mini was working very fine from last 9 months....but suddenly today I found it discharging from 100% to 34% though I didn't use it at all...and also found my mini is slightly heated up at the bottom..any help regarding this would be greatful

    My iPad mini was working very fine from last 9 months....but suddenly today I found it discharging from 100% to 34% though I didn't use it at all...and also found my mini is slightly heated up at the bottom..any help regarding this would be greatful

    Same thing happened to me with my peruvian credit card in the peruvian app store, I want to buy an app, but it says that my credit card is "not supported in the Peruvian app store"

  • Im Using iPhone 4 factory Unlocked device iOS 7, but device was feels slow, so i want to restore to iOS 6.1.3. how can i do this? please help me anyone itz urgent.

    Im Using iPhone 4 factory Unlocked device iOS 7, but device was feels slow, so i want to restore to iOS 6.1.3. how can i do this? please help me anyone itz urgent.

    As has always been the case, you cannot go back.
    Sorry

  • HT1688 Can you please help me. I purchased the new Apple I 4s phone from AT&T. I bought it out right. NO CONTRACT!! I paid almost $1000.00 for it. I then, had it enrolled it in my company's  ATT service plan. They paid the bill for my service. Since, I ha

    Can you please help me. I purchased the new Apple I 4s phone from AT&amp;T. I bought it out right. NO CONTRACT!! I paid almost $1000.00 for it. I then, had it enrolled it in my company's  ATT service plan. They paid the bill for my service. Since, I have left the company. I have retained, and assumed financial responsibility for the phone, and the phone number with AT&amp;T. The same day I assumed ifinancial responsibility, I had the phone number ported to a new service provider. ( Straight Talk ) After doing so, my phone worked fine. (as far as cellular service) NO DATA Service !!!! I have been on the phone with AT&amp;T, Straight Talk, and Apple, FOR HOURS over TWO days!!! Trying  to get this problem resolved. All I need to do, is change my APN settings (access point name ) settings. Its  my phone!!! Why does any body have this APN menu locked from me??? I've been on the phone for two days between, AT&amp;T, Straight Talk, and Apple products technical support teams. Everybody points the finger at the next guy!! What can I do to get the phone, that I paid for, work  for more than just a phone, and a paper weigh?
    PLEASE HELP ME!!!!!
    Jason
    Sent from my iPhone
    <Email Edited by Host>

    Wow... you seriously over paid for an iPhone.
    That probably explains why you have/had no clue you were purchasing a locked device and think it's an Apple problem to get it unlocked.

  • My ipod 7th generation is not recognised by itunes and my computer. I am not able to transfer any songs. Please help me on this regard. I tried all the steps from apple website

    my ipod 7th generation is not recognised by itunes and my computer. I am not able to transfer any songs. Please help me on this regard. I tried all the steps from apple website

    This article should give you the options
    https://discussions.apple.com/docs/DOC-3991

  • Emergency! Please Help. I have an iPhone 4 with all my pictures from the vacation on it and I plugged into my computer and it sync'ed to my ipod.  all of my pictures are gone.  How do I get my pictures back?

    Emergency! Please Help. I have an iPhone 4 with all my pictures from the vacation on it and I plugged into my computer and it sync'ed to my ipod.  all of my pictures are gone.  How do I get my pictures back?

    If all you did was sync your phone, and if you haven't synced again since this happened, you can restore your phone from the backup that was created at the beginning of the sync process (camera roll photos are included in the backup).  If you have synced again since this happened this backup has already been overwritten and your photos are lost.  Also, if you restored your phone from the backup of your iPod, rather than just synced, then your  photos are lost too.
    If you have an intact backup that contains these photos, do the following:
    Without connecting your phone, open iTunes on your computer and go to Preferences.  On the Devices tab check "Prevent...from syncing automatically".
    Connect your phone to your computer, right-click on the name of your phone when it appears in iTunes on the left sidebar and select Restore from Backup, choose your most recent backup to restore from.
    When complete, you can go back to iTunes>Preferences>Devices and re-enable automatic syncing.

  • Please help! My iPhone 4s will not let me slide wifi from off to no"

    Please help! My iPhone 4s will not let me slide wifi from off to no"

    http://support.apple.com/kb/ts1559

  • We lost access to are computers in the last two month and we want to know how to deauthorize two computers from the itunes account can you please help us?

    We lost access to are computers in the last two months and we want to know how to deauthorize two computers from the ituns account can you please help me please?

    If you don't have access to the computers to manually deauthorize them (they were sold, stolen, etc), then you have to log into your account, deauthorize all computers, and then re-authorize the machine(s) that you want to have access. This page explains how.

  • An unknown error occurred (0x80092013) what the **** is going on  from last six month i am unable to access i tune store?pls give me solution which should help me to shortout this problem as soon as possible

    An unknown error occurred (0x80092013) what the **** is going on  from last six month i am unable to access i tune store?pls give me solution which should help me to shortout this problem as soon as possible. i have not expected this from apple

    I have been trying for months to put iTunes on my laptop and kept getting installation errors in Windows 7. I gave up and just installed iTunes on my PC running XP.
    Now I have to install Quicktime on the laptop and once again I get an installation error 0x800736FD.
    All windows updates are fine, none failed.
    I have removed all apple software from my laptop using CCleaner, common files and folders. Tried reinstalling and still the same error.
    Could you offer any advice on how to get both quicktime and then iTunes working??
    Thank you in advance

  • I switched to Apple Mail in the last two months.  When I attempt to print an email message, I get a blank piece of paper.  When I attempt to use the print options suggested in "Mail Help", the program crashes and has to be reopened.  Any ideas?

    I switched to Apple Mail in the last two months.  When I attempt to print an email message, I get a blank piece of paper.  When I attempt to use the print options suggested in "Mail Help", the program crashes and has to be reopened.  Any ideas?

    Which version of Mail are you using as well as which Snow Leopard version you are using? 

  • I updated 6.1.2 to my iphone 4 via itunes. when i finished, i lost all my messages and pictures. how can i restore it? please help. they're very important to me

    i updated my iphone 4 via itunes from 5.1.1 to 6.1.2. when i finished update it, it deleted all my messages and pictures and they're very important to me. please help me to restore it. thanks

    If you did this on the Computer you Usually use... then Sync the content back...
    If not... See Here...
    Download Past Purchases
    http://support.apple.com/kb/HT2519

Maybe you are looking for

  • Error in idoc of basic type artmas05 - status 51 with Message no. MG537

    Hi all,      I tried to upload the material master table through idoc creation of basic type artmas05. But when i'm trying to do that i'm getting status 51 with Message no. MG537. then I analysed the application log which displays the following *The

  • Vacation Rule not working as expected

       In Oracle business process workspace(PS5) the Vacation Rule is not properly working. Even vacation Rule has been activated to delegate the process instances to another user the process instances are being send to that user.  Has anybody able to de

  • I only want one user account to recognize iPod.

    I have searched all over trying to find a solution to this.  My wife has an old iPod Nano that she jogs with.  When not in use it is stored on a dock attached to our iMac.  On that iMac we both have user accounts and maintain seperate iTunes librarie

  • Problem launching BB connect desktop

    Hello all, I have trouble launching the BB connect desktop. When I double click on the icon I just get the message "the account is not correctly set up in the server, please contact your system administrator", and the programs gets closed. I therefor

  • Wired/Wireless access problems

    We have recently moved home and the new ISP's ADSL line (Netgear 632) has gone live and whilst I am wired directly to the Aiport I get a full internet connection. Whilst using the base station wirlessly I get annoying problems,; graphics won't load,