Invoke-WebRequest with JSP forms

Hi everyone,
I am a newbie with PowerShell struggling to write a script that posts information to a JSP Web application.
My script should be divided in two parts : 
########### The first should authenticate to the admin page (the form bellow)
<form name="loginoath" id="loginoath" action="../servlet/UserRequestServlet" method="post" autocomplete="off">
<input type="hidden" name="action"
    value="auth">
<input type="hidden" name="authtype" id="authtype"
    value="oath">
<input type="hidden" name="authformat"
    value="pwd">
<input type="hidden" name="opensess"
    value="true">
<input type="hidden" name="version"
    value="3.0">
<input type="hidden" name="forwardtype"
    value="relativeurl">
<input type="hidden" name="successurl" value="/adminportal/index.jsp">
<input type="hidden" name="errorurl" value="/adminportal/login_oath.jsp">
    <tr valign="middle" class="display_row" id='authoption'>
        <td class="form_label">
            <span class="help_spot" onMouseOver="loadHelp('Select\x20\x3Cb\x3EPassword\x3C\x2Fb\x3E\x20to\x20log\x20in\x20with\x20your\x20user\x20ID\x20and\x20password\x20only.\x3Cbr\x3E\x3Cbr\x3ESelect\x20\x3Cb\x3EOTP\x3C\x2Fb\x3E\x20to\x20log\x20in\x20with\x20your\x20user\x20ID,\x20password,\x20and\x20a\x20one\x2Dtime\x20password\x20\x28OTP\x29\x20generated\x20from\x20your\x20device.')">
                Authenticate by:
            </span>
        </td>
        <td class="form_field_cell">
            <input type="radio" name="authByOTP" id="authByOTP" value="yes" checked onclick="onChangeAuth()"> OTP&nbsp;
            <input type="radio" name="authByOTP" id="authByOTP" value="no"  onclick="onChangeAuth()" > Password&nbsp;
        </td>
    </tr>
    <tr valign="middle">
        <td class="form_label">
        <span class="help_spot" onMouseOver="loadHelp('Enter\x20the\x20user\x20ID\x20that\x20you\x20want\x20to\x20log\x20in\x20with.\x3Cbr\x3E\x3Cbr\x3EThe\x20user\x20ID\x20is\x20a\x20unique\x20alphanumeric\x20string\x20that\x20identifies\x20a\x20user.\x20It\x20is\x20assigned\x20when\x20the\x20user\x20record\x20is\x20created.')">
        User ID:</span>
        </td>
        <td>
            <input type="text" name="j_username" id="j_username" size="20" maxlength="50" tabindex="1" class="form_field">
        </td>
    </tr>
    <tr valign="middle">
        <td class="form_label">
        <span class="help_spot" onMouseOver="loadHelp('Enter\x20the\x20password\x20for\x20your\x20login\x20user\x20ID.\x3Cbr\x3E\x3Cbr\x3EThe\x20password\x20is\x20a\x20private\x20character\x20string\x20that\x20verifies\x20the\x20user\x20ID.\x20After\x20login,\x20this\x20password\x20can\x20be\x20changed.')">
        Password:</span>
        </td>
        <td>
            <input type="password" name="j_pin" id="j_pin" size="20" maxlength="50" tabindex="2" class="form_field">
        </td>
    </tr>
    <tr valign="middle" id="otp_section">
        <td class="form_label">
        <span class="help_spot" onMouseOver="loadHelp('Generate\x20a\x20one\x2Dtime\x20password\x20\x28OTP\x29\x20with\x20the\x20device\x20you\x20are\x20using\x20for\x20login,\x20and\x20enter\x20the\x20value\x20in\x20the\x20field.\x20Connected\x20devices\x20generate\x20and\x20enter\x20the\x20OTP\x20value\x20automatically\x20when\x20you\x20click\x20\x3Cb\x3EGet\x20OTP\x3C\x2Fb\x3E.\x3Cbr\x3E\x3Cbr\x3EConsult\x20your\x20device\x20documentation\x20for\x20instructions\x20on\x20how\x20to\x20generate\x20an\x20OTP.')">
        OTP:</span>
        </td>
        <td>
            <input type="text" name="j_password" id="j_password" size="20" maxlength="50" tabindex="3" class="form_field">
            <a href="javascript:gemalto.otpplugin.getOTPsAndPANForCustomButton();" class="form_button" onMouseOver="loadHelp('Click\x20this\x20button\x20to\x20generate\x20and\x20enter\x20the\x20one\x2Dtime\x20password\x20\x28OTP\x29\x20value\x20automatically\x20with\x20your\x20connected\x20device.\x3Cbr\x3E\x3Cbr\x3EBe\x20sure\x20that\x20your\x20device\x20is\x20plugged\x20in\x20and\x20connected\x20to\x20your\x20computer\x20before\x20trying\x20to\x20generate\x20the\x20OTP.')"/>Get
OTP</a>
        </td>
    </tr>
    <tr>
        <td colspan="2">
            <div class="form_separator"><img src="../img/spacer.gif"
            width="1" height="1"></div>
        </td>
    </tr>
    <tr valign="middle">
        <td colspan="2" align="center">
        <input type="submit" tabindex="4" id="login_button" name="submit" value="LOGIN" class="form_button" onMouseOver="loadHelp('When\x20you\x20have\x20entered\x20information\x20in\x20all\x20fields,\x20click\x20this\x20button\x20to\x20authenticate\x20your\x20user\x20ID\x20and\x20log\x20in\x20to\x20the\x20Customer\x20Care\x20Portal.')"
onClick="return checkFields();">
        </td>
    </tr>
  </form>
########### The second should fill the form with new information and validate them (the form bellow)
<form name="userform" action="user_migrate.jsp" method="POST" autocomplete="off">
    <tr>
        <td colspan="2" class="form_text" align="left">
            Fields marked with an asterisk <font color='red'><big>*</big></font> are required.
        </td>
    </tr>
    <tr valign="middle">
        <td class="form_label"><font color="red"><big>*</big></font>
        <span class="help_spot" onMouseOver="loadHelp('User\x20ID\x20field.\x20The\x20User\x20ID\x20is\x20a\x20unique\x20alphanumeric\x20string\x20chosen\x20to\x20identify\x20a\x20user.')">
        User ID:</span>
        </td>
        <td>
            <input type="text" name="userid" value="" size="26" class="form_field">
        </td>
    </tr>
       <tr id="pwdguideline">
            <td class="form_label"> &nbsp;</td>
        <td class="form_text" align="left">
            A valid password is case-sensitive and must: <br>&nbsp;-&nbsp; consists of 6 characters or more<br>&nbsp;-&nbsp; include at least 1 alphabetic character<br>&nbsp;-&nbsp;
include at least 1 numeric character<br>&nbsp;-&nbsp; not include white space<br>
        </td>
    </tr>
        <input type="hidden" name="password" value=""/>
    <tr>
        <td class="form_label"><font color="red"><big>*</big></font>
        <span class="help_spot" onMouseOver="loadHelp('First\x20security\x20answer\x20field.\x20The\x20security\x20answers\x20are\x20answers\x20to\x20personal\x20questions\x20used\x20to\x20validate\x20a\x20user\x5C\x27s\x20identity\x20in\x20case\x20the\x20user\x20loses\x20his\x20or\x20her\x20password.')">
        What is your mother's maiden name?:</span>
        </td>
         <td>
            <input type="text" name="answer1" value="" size="26" class="form_field">
        </td>        
    </tr>
    <tr>
    <td class="form_label"><font color="red"><big>*</big></font>
        <span class="help_spot" onMouseOver="loadHelp('Second\x20security\x20answer\x20field.\x20The\x20security\x20answers\x20are\x20answers\x20to\x20personal\x20questions\x20used\x20to\x20validate\x20a\x20user\x5C\x27s\x20identity\x20in\x20case\x20the\x20user\x20loses\x20his\x20or\x20her\x20password.')">
        What is your date of birth?:<br>(yyyy-mm-dd)</span>
        </td>
         <td>
            <input type="text" name="answer2" value="" size="26" class="form_field">
        </td>  
    </tr>   
    <tr>
    <td class="form_label"><font color="red"><big>*</big></font>
        <span class="help_spot" onMouseOver="loadHelp('Role\x20field.\x20Refers\x20to\x20the\x20role\x20associated\x20with\x20the\x20user.\x20A\x20role\x20is\x20identified\x20by\x20its\x20unique\x20role\x20name\x20and\x20defines\x20what\x20functions\x20are\x20available\x20to\x20its\x20associated\x20users.')">
        Role:</span>
        </td>
          <td class="form_text">
            <select name="rolename" class="form_select" single>
               <option value="Admin" >Admin</option>
               <option value="Agent" >Agent</option>
               <option value="Default" selected>Default</option>
               <option value="Support" >Support</option>
             </select>
            </td>
         </tr>
    <tr>
        <td class="form_label">
        <span class="help_spot"
              onMouseOver="loadHelp('Sends\x20the\x20user\x20an\x20email\x20with\x20a\x20link\x20to\x20download\x20the\x20selected\x20application.\x20Email\x20must\x20be\x20filled\x20and\x20a\x20separate\x20mail\x20will\x20be\x20sent\x20per\x20application\x20selected.')">
        Initiate Token registration:</span>
        </td>
        <td class="form_field_cell">
            &nbsp;&nbsp;
            <input type="checkbox" name="initMobileapptokenReg" value="true" class="form_field_cell" >
            IDProve 300 Mobile
            &nbsp;&nbsp;
        </td>
    </tr>
    <tr>
        <td colspan="2">
            <div class="form_separator"><img src="../img/spacer.gif"
            width="1" height="1"></div>
        </td>
    </tr>
    <tr valign="middle">
        <td colspan="2" align="center">
        <input type="submit" name="submituserform" value="MIGRATE" class="form_button" onMouseOver="loadHelp('Create\x20a\x20new\x20record.')" onClick="return validateForm()"
>
        <input type="Reset" name="resetuserform" value="START OVER" class="form_button" onMouseOver="loadHelp('Reset\x20the\x20form.')">   
        </td>
    </tr>
    <input type="hidden" name="posting" value="true">
</form>
############ Here is my Powershell Script
[System.Net.ServicePointManager]::CheckCertificateRevocationList = $false;
[System.Net.ServicePointManager]::ServerCertificateValidationCallback = { $true; };
Add-Type @"
  using System.Net;
  using System.Security.Cryptography.X509Certificates;
  public class TrustAllCertsPolicy : ICertificatePolicy {
     public bool CheckValidationResult(
      ServicePoint srvPoint, X509Certificate certificate,
      WebRequest request, int certificateProblem) {
      return true;
[System.Net.ServicePointManager]::CertificatePolicy = New-Object TrustAllCertsPolicy
[System.Net.ServicePointManager]::CheckCertificateRevocationList = $false;
[System.Net.ServicePointManager]::ServerCertificateValidationCallback = { $true; };
# Authentication
$url1 = 'https://localhost/login.jsp'
$param1 = @{ authByOTP='no'; j_username='test'; j_pin='test' }
Invoke-WebRequest -Uri $url1 -SessionVariable CurrentSession -Method Post -Body $param1 -ContentType "text/xml"
# Registration
$AccountName ="test2"
$Reponse1 ="replyOne"
$Reponse2 = "replyTwo"
$Role ="Default"
$IDProve ="False"
$Post = "MIGRATE"
$url2 = 'https://localhost/registration.jsp'
$parametre2 = @{ userid=$AccountName; answer1=$Reponse1; answer2=$Reponse2; rolename=$Role;               'initMobileapptokenReg'=$IDProve; submituserform=$Post; }
Invoke-WebRequest -Uri $url2 -SessionVariable CurrentSession -Method Post -Body $parametre2 -ContentType "text/xml"
When I run it, I get this status
StatusCode        : 200
StatusDescription : OK
Content           :
But nothing happens when I check the result.
I will be grateful if someone can help. Thanks in advance.
Regards,
Louban.

Hi Louban,
To run the cmdlet "Invoke-WebRequest" with .jsp file, the script is for your reference:
# variables for the script
$YellowLevel = 14
$RedLevel = 7
$SleepHours = 1
# change window title
$Host.UI.RawUI.WindowTitle = "QAS DB Expiry Checker"
# loop indefinitely
while($true){
#get web page
$Page = (Invoke-WebRequest "http://qaswebserver.rcmtech.co.uk:8080/proweb/test.jsp").Content # look for text on web page using regular expression
if($Page -match "[0-9]+ days"){
# get matching text string from full web page text
$FullText = (Select-String -InputObject $Page -Pattern "[0-9]+ days").Matches.Value
Write-Host (get-date),"QAS remaining: $FullText - " -NoNewline
# get just the number of days
$DaysString = (Select-String -InputObject $FullText -Pattern "[0-9]+").Matches.Value
# convert number of days to integer to allow numeric matching operations, e.g. "greater than"
$DaysInteger = [convert]::ToInt16($DaysString)
# interrogate the number of days and set status based on what its value is
switch($DaysInteger){
{$_ -gt $YellowLevel} {
Write-Host "Green" -ForegroundColor Green
{($_ -le $YellowLevel) -and ($_ -gt $RedLevel)} {
Write-Host "Yellow" -ForegroundColor Yellow
{$_ -le $RedLevel} {
Write-Host "Red" -ForegroundColor Red
} else {
# page did not contain expected text
Write-Host "Error with page" -ForegroundColor Yellow
# wait for specified time
Start-Sleep -Seconds ($SleepHours * 60 * 60)
Refer to:
PowerShell: QuickAddress Pro data expiry checker
If there is anything else regarding this matter, please feel free to post back.
Best Regards,
Anna Wang

Similar Messages

  • Hide Ajax enabled portlet with jsp form  loading

    Hi All,
    I seriously struck with this problem and any help is appreciated.
    Functionality:-
    I have 2 portlet in a page portletA(non ajax) and PortalB(ajax enabled and it will just handle the portletA events). For checkbox event on portletA i am submitting PortletB JSP Form through PortletA JavaScript.
    PortletB jsp Form consists of only hidden variables, which will be set by PortletA JavaScript. All this is working fine.
    Problem:-
    My problem is I have to hide PortletB.For this i am using BackingFile preRender method. If I hide portletB then JSP Form is not loading and from PortletA iam unable to get the Form object of portletB to submit.
    Even setVisible is not working.
    Here is my PortletB jsp Form
    <netui:form tagId="ajaxEnabledForm" action="deleteRSAandCMFProfile">
    <netui:hidden dataSource="actionForm.userName" tagId="userName"></netui:hidden>
    </netui:form>
    How to make PortletB invisible with jsp form loading?
    Thanks in advance.

    hi, i don't have the exact solution to your problem, but can suggest you work around.
    in portlet b jsp, add <div> tag at the top, and use its style properties to hidden/visible as per your need. from the backing file you can set a request attribute which determines the hiding and showing in the div tag.
    you may not be able to control the visibility of title bar. for this, there are two options.
    1. you can try to use portlet backing context tile bar and hide title bar from backing file.
    2. if this does not work, then define id attribute to div tag in title bar skeleton jsp, and access that div by using id from the portlet jsp and then hide that div tag.
    thanks
    sampath

  • Prolem with jsp forms

    I cannot changed the size of the text area.How do i change the size of the text area when i have created a few forms using the jsp wizard in j developer i need a answer soon

    Hi Reuben Wee,
    You can do this if you change attribute size in input tag in your form (e.g. <input type="text" size="11" maxlength="255">). In addition, you can insert an style in input tag for settings several attributes (e.g <input type="text" size="11" maxlength="255" style="width:90px;height:18px;font-size:12px">).
    Hope this help.
    Veso
    null

  • Unable to submit form on web page using Invoke-WebRequest

    Looking to automate the Web search on HP's website by serial number to get the warranty data.  I am able to successfully get back the web page, and I can populate the fields in the form. However, when I submit the POST, I don't seem to get back any
    data.
    Please look at the below script and tell me what I'm doing wrong. I am following the FACEBOOK "Example 2" from the Get-Help in PowerShell 3.0.
    $Serial = "CND1076GST"
    $Url = "http://h20566.www2.hp.com/portal/site/hpsc/public/wc/home/"
    $r = Invoke-WebRequest -Uri $Url -SessionVariable HP
    If ($r.StatusDescription -eq "OK" ) {
    Write-Host $r.StatusDescription
    $HP
    $form = $r.Forms.Item("wcFormDataItem")
    $form.Fields["serialNumber0"] = $Serial
    $r2 = Invoke-WebRequest -Uri ($Url + $form.Action) -WebSession $HP -Method POST -Body $form.Fields
    $r2.Content | Out-File c:\temp\test.htm -Force
    Write-Host $r2.StatusDescription
    } Else {
    Write-Host $r.StatusDescription
    Levi Stevens | Technical Consultant Dell Services

    This is how easy it is to lookup the same data from Dell.
    $GUID = "cac8daa8-6699-466b-a3d3-f07e571fba1f"
    $AppName = "Dell Warranty"
    $ServiceTag = "5LCQSY1"
    $WebProxy=New-WebServiceProxy -Uri http://xserv.dell.com/services/assetservice.asmx
    $WarrantyInformation=$WebProxy.GetAssetInformation($GUID,"Dell Warranty",$ServiceTag)
    $WarrantyInformation | Select-Object -ExpandProperty Entitlements
    Levi Stevens | Technical Consultant Dell Services

  • Invoke-webrequest doesn't comeout when posting data on server with -InFile flag and file size is more than 820 MB

    I am using invoke-webrequest command to load a file on server with POST command, and the file does get loaded. However the command hangs in console until I hit enter.
    Here's what I m executing: 
    Invoke-RestMethod -Uri $url -Method POST -ContentType $ContentType -Headers $headerHash -InFile $filePath  -TimeoutSec $timeOut
    I am running powershell 3.0 on win2k12.
    I ran the command with Verbose on, and it ask for confirmation to run the command as below. However when I provided -confirm:$true, invoke-webrequest suggests that there's no confirm command. I am not sure how to proceed.
    Confirm
    Continue with this operation?
    [Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):

    Hi Varun,
    Is there any update ?
    Best Regards,
    Elton Ji
    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] .

  • Working with multiple buttons on a jsp form....!

    Hi guys...!
    I have a jsp form, which has 3 buttons (submit, update, cancel), and I also have a java Servlet that processes that form.
    In my java Servlet, i have a method called submitData(). I also want to have a method called updateData(), which will be called when the user clicks on the update button.
    These are the codes in my jsp form:
    <SCRIPT language="JavaScript" type="text/javascript">
                   function submitFunction (i) {
                        if (i==1) {
                             document.theForm.action="/MyWebApp/FormServlet";
                        if (i==2) {
                             document.theForm.action="/MyBugWebApp/FormServlet";
                        if (i==3) {
                             document.theForm.action="/MyWebApp/DisplayForm.jsp";
                        document.theForm.submit()
              </SCRIPT>
    <form name="theForm">
    <input type="button" value="Submit" onClick="submitFunction(1)"></input>
    <input type="reset" value="Reset"></input>
    <input type="button" value="Cancel" onClick="submitFunction(3)"></input>
    <input type="button" value="Update" onClick="sumbitFunction(2)"></input>
    </form>
    As u can see, both the submit and the update button use the same java servlet file. But inside that java servlet file, I want to have methods that will be called inside my doPost() method when the user clicks on update or submit.
    I've tried to pass a value through the httpRequest but it doesn't work... This is what I did.
    In my javaScript, I added this value in the action attribute:
    document.theForm.action="/MyWebApp/FormServlet?id=submit";
    document.theForm.action="/MyWebApp/FormServlet?id=update";
    I did that because I wanted to be able to retrieve the value of the "id" in my servlet and check which type of action was sent and then call the appropriate function in my servlet.
    But, it doesn't work. It returns "null" as the value for "id"
    Does anyone know how to do this task??...or what am I doing wrong in my code???
    Thanks...

    So there are really two solutions to this:
    1) Use <input type="submit" instead of buttons. Give all three buttons the same name but different values. Then the button used to submit will be added to the list of parameters.
    2) Add a hidden input to the form, and when the form determines which button was pushed, set a different value for the hidden input field. For example of both, take a look at this code:
    <html>
      <head>
        <script type="text/javascript">
          function formSubmit(i)
            var toSubmit = document.getElementById("myForm")
            if (i == 1) toSubmit.doThis.value="one"
            if (i == 2) toSubmit.doThis.value="two"
            if (i == 3) toSubmit.doThis.value="three"
            toSubmit.submit()
        </script>
      </head>
      <body>
        <form id="myForm" action="" method="get">
          <input type="hidden" name="doThis" /><br />
          <input type="submit" name="whatToDo" onclick="formSubmit(1)" value="Submit" />
          <input type="submit" name="whatToDo" onclick="formSubmit(2)" value="Cancel" />
          <input type="submit" name="whatToDo" onclick="formSubmit(3)" value="Update" />
        </form>
      </body>
    </html>For method one, if the servlet did:
    String whatToDo = request.getParameter("whatToDo");
    if ("Submit".equals(whatToDo)) {
      //doSubmit();
    } else if ("Update".equals(whatToDo)) {
      //doUpdate();
    } else if ("Cancel".equals(whatToDo)) {
      //doCancel();
    } else if ("Reset".equals(whatToDo)) {
      /doReset();
    } else {
      //error situation
    }Or you could instead look at the hidden value:
    String doThis = request.getParameter("doThis");
    if ("1".equals(doThis)) { ... }I personally like the submit button with the same names and different values, since the second method breaks if the user has javascript disabled.

  • JSP Form with Formatted Confirmation Page

    I have a basic form, and I would like to have a confirmation page pop-up when the user clicks that they are done. The confirmation page needs to have considerable formatting on it, and include the data the user inputted on the form. It also needs to have a "Continue", "Go Back" and "Print" buttons. Continue will tell the form to proceed with submitting the form to the servlet, Go Back will put the user back on the form, Print will bring up another JSP with the form data in printable format with print/email options. Upon exit from the print page they will be back on the Confirmation Page.
    The code below will allow for an OK, and Cancel button in the standard Message box, but this won't work.
    I am assuming I need to create another jsp for the confirmation page. But i am stuck on two issues. How can i ...
    1) Get the data onto the confirmation page from the form?
    2) How can I pass back to the initial form the value of what the user selected (Continue or Go Back) so i know whether to proceed with submitting the form, or staying put.
    Thanks for any help! I am very new to jsp programming.
    <FORM
    ACTION="http://www.mcfedries.com/scripts/formtest.asp"
    METHOD="POST"
    NAME="Monikers"
    onSubmit="return validate(Monikers)">
    Here's the JavaScript for this function:
    <SCRIPT LANGUAGE="JavaScript">
    <!--
    function validate(frm) {
    // Build the form data
    var formData
    formData = "First Name: " + frm.First.value + "\n"
    formData = formData + "Last Name: " + frm.Last.value + "\n"
    formData = formData + "Nickname: " + frm.Nick.value + "\n"
    formData = formData + "Stage Name: " + frm.Stage.value + "\n"
    // Show the data to the user
    return confirm("Here is the form data you entered:" + "\n\n"
    + formData + "\n"
    + "Do you want to submit this data?")
    //-->
    </SCRIPT>

    Does the problem persist if you upload All Files (and not just modified). Do you continue to receive the message even if you choose "After Sending: Stay on Current Page" option? If yes, a site URL would help in identifying the issue.
    Also try inserting a fresh form on a page/new Muse site and see if you're able to replicate the behaviour on different browsers.
    Thanks,
    Vinayak

  • Jsp form help

    Hello everyone out there'
    I am a computer science teacher in a private high school in Nigeria and have some experience in java programming language and also new to the JSP tech .I want to introduce the school into using web applications in managing their infomation like registration,staff info,accounts e.t.c .They have asked me to make a presentation in two days time on web appllications ,i have decided to use JSP tech to demonstrate a web application .I have also downloaded the TOMCAT server install and configured it ,set the enviroment varible and is working well when itried invoking a html form.I have even install the j2sdk 1.5.
    The problem now is on my JSP form i want to link to an Access database the code is provided below:
    <%@page contentType="text/html" import="java.sql.*" %>
    <%@page pageEncoding="UTF-8"%>
    <html>
    <head><title>JSP Page</title></head>
    <body bgcolor='palegoldenrod'>
    <img src ='Apps/Japp/logo.jpg ' height="100" width="100"/><hr/>
    <center ><form method="POST" action="/Apps/Japp/TEST.jsp" >
    <table bgcolor='navyblue'>
    <tr><td><font Color="yellow" size="5"><b>Student Number :</b> </font></td>
    <td><input Type ="text" name= "number" size="30"/></td></tr>
    <tr><td><font Color="yellow" size="5"><b>First Name :</b> </font></td>
    <td><input Type ="text" name= "fname" size="30"/></td></tr>
    <tr><td><font Color="yellow" size="5"><b>Middle Name :</b> </font></td>
    <td><input Type ="text" name= "mname" size="30"/></td></tr>
    <tr><td><font Color="yellow" size="5"><b>Last Name :</b> </font></td>
    <td><input Type ="text" name= "lname" size="30"/></td></tr>
    <tr><td><font Color="yellow" size="5"><b>Subject :</b> </font></td>
    <td><input Type ="text" name= "sub" size="30"/></td></tr>
    <tr><td><font Color="yellow" size="5"><b>Grade :</b> </font></td>
    <td><input Type ="text" name= "grade" size="30"/></td></tr>
    <tr><td><font Color="yellow" size="5"><b>Exam Type :</b> </font></td>
    <td><input Type ="text" name= "etype" size="30"/></td></tr>
    <tr><td><font Color="yellow" size="5"><b>Number In Group:</b> </font></td>
    <td><input Type ="text" name= "ngroup" size="30"/></td></tr>
    </table>
    <font Color="yellow" size="5"><b>Teachers Comments </b> </font>
    <textarea name= "comment" rows="8" cols=50/></textarea>>
    <input type="submit" value="Submit your Entries" />
    <input type="reset" value="Clear Entries" /></form>
    </center >
    <hr/>
    <%
    Connection conn;
    Statement stat;
    String studentNumber = request.getParameter( "num");
    String firstName= request.getParameter(" fname");
    String middleName= request.getParameter("mname" );
    String lastName = request.getParameter( "lname") ;
    String subject= request.getParameter( "sub") ;
    String grade= request.getParameter("grade") ;
    String numInGroup= request.getParameter("ngroup") ;
    String coment = request.getParameter("comment" ) ;
    String examType= request.getParameter("etype" ) ;
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    conn = DriverManager.getConnection("jdbc:odbc:Tester","bart","college");
    stat = conn.createStatement();
    stat.executeUpdate( "INSERT INTO REPORT " +
    "VALUES (studentNumber,firstName , middleName,lastName ," +
    "subject,grade,numInGroup,coment,examType" );
    stat.close();
    conn.close();
    catch (Exception e)
    e.printStackTrace();
    %>
    </body>
    </html>
    i am recieving the error message below when I sumit my entry from the form.Can anyone tell me what to do tosolve this problem and do ineed to configure an xml file i n the web module for this iam using NETBEANS IDE
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: /Japp/TEST.jsp(6,1) Illegal value of scope attribute: PAGE (must be one of "page", "request", "session", or "application")
         org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:83)
         org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:402)
         org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:186)
         org.apache.jasper.compiler.JspUtil.checkScope(JspUtil.java:252)
         org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:536)
         org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1133)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2180)
         org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2230)
         org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2236)
         org.apache.jasper.compiler.Node$Root.accept(Node.java:485)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2180)
         org.apache.jasper.compiler.Validator.validate(Validator.java:1518)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:247)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:456)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:553)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:305)
    note The full stack trace of the root cause is available in the Tomcat logs.
    Apache Tomcat/5.0.19

    org.apache.jasper.JasperException: /Japp/TEST.jsp(6,1)
        "Illegal value of scope attribute": "PAGE" (must be one of "page", "request", "session", or "application")The error says it all. In your TEST.jsp you have a JSP tag that uses the scope attribute. You have it written as: scope="PAGE".
    Keep in mind that JSP is Java, and Java is case sensitive. Re-read the error message and see if you can't locate and fix the problem.
    PS: This occurs because you are writing code without following any sort of coding standards. It makes for errors in JSPs, but also real hard to read HTML. Create a set of rules for yourself and follow them. It will make it a lot easier to manage later on. Some example rules:
    1) Name all pages with capital letters to start the name, and to deliminate words. Use lower case letters the rest of the time. Example:
    "Test.jsp" "StudentMailAddressForm.html" ...
    2) Use only lower case letters for tags except when required not to:
    <td ...> <body ...> <jsp:useBean...>
    3) All tag attribute names should be lower case except when required not to:
    < ... color="..." > <... name="... >
    4) Put all tag attributes in double quotes.
    <... name="address" ...> < ... size="15" ... > <... src="images/ThePic.jpg" ...>
    5) Allattribute values should be lower case except:
    a. To distinquish words <... name="hamSandwich" ...>
    b. The value will be displayed to the user <... value="Submit Form" ...>
    c. The value is a proper noun <... user="Steve Luke" ... >
    d. When required to be case sensitive like looking up info in a DB...
    These are just examples, but if you think about the rules when you make them you will be writing good XHTML code in no-time, and the transition to JSP, with its case-sensitivity will be easy.

  • A problem in RMI with JSP..pls help

    RMI with Java is working fine,but...
    1. I am facing a problem when i use RMI with JSP..its throwing an exception during "Naming.lookup"..here is my code snippet:
    // i have stored the ServerInf and other classes in a package and i have imported it in the jsp code....object ref is getting created but lookup is throwing an exception...thoguh RMI registry is working(started)
    <%
    try {
    ServerInf ref = (ServerInf)Naming.lookup("rmi://localhost:1098/Server_bind");
    catch (Exception ex) {
    ex.printStackTrace();
    %>
    Pls tel me the cause.
    2. If i try to use RMI with Servlet and JSP, then wen the JSP runs then, it simply calls the servlet file and displayes a lonk to it instead of executing the servlet class. pls help me with this too...below is the invoking statement:
    <form method=post action='http://localhost:8080/servlet/MyRMIservlet'>
    hello <input type=submit value=submit>

    And the exception and error message is.....

  • Enter into web page recursively using invoke-webrequest

    This is how I authorize to web page using Invoke-WebRequest command right now:
    $web = Invoke-WebRequest https://mypage/ -SessionVariable gos
    $forms = $web.Forms[0]
    $forms.Fields["username"] = "[email protected]"
    $forms.Fields["password"] = "pass"
    $web_invoke = Invoke-WebRequest -Uri ("https://mypage" + $forms.Action) -WebSession $matt -Method Post -Body 
    $web_invoke.StatusDescription
    Thing is that I have to login once again when I logged into first webpage to reach another service.
    I have traced logid_ID and passsword_ID as well as button that will transfer me to the needed page.
    How can I combine these two logins in one script?

    Hi Kirillpashkov,
    If you want to sign in web service, the example below is for your reference, which could sign in to the Facebook web service:
    # Sends a sign-in request by running the Invoke-WebRequest cmdlet. The command specifies a value of "fb" for the SessionVariable parameter, and saves the results in the $r variable.
    $r=Invoke-WebRequest http://www.facebook.com/login.php -SessionVariable fb
    # Use the session variable that you created in Example 1. Output displays values for Headers, Cookies, Credentials, etc.
    $fb
    # Gets the first form in the Forms property of the HTTP response object in the $r variable, and saves it in the $form variable.
    $form = $r.Forms[0]
    # Pipes the form properties that are stored in the $forms variable into the Format-List cmdlet, to display those properties in a list.
    $form | Format-List
    # Displays the keys and values in the hash table (dictionary) object in the Fields property of the form.
    $form.fields
    # The next two commands populate the values of the "email" and "pass" keys of the hash table in the Fields property of the form. Of course, you can replace the email and password with values that you want to use.
    $form.Fields["email"] = "[email protected]"
    $form.Fields["pass"] = "P@ssw0rd"
    # The final command uses the Invoke-WebRequest cmdlet to sign in to the Facebook web service.
    $r=Invoke-WebRequest -Uri ("https://www.facebook.com" + $form.Action) -WebSession $fb -Method POST -Body $form.Fields
    Refer to:
    accept a cookie while using Invoke-WebRequest
    If there is anything else regarding this issue, please feel free to post back.
    Best Regards,
    Anna Wang

  • Invoke-WebRequest loginform

    Hi everybody.
    I know it's a bit out of scope, but i thought that maybe someone had an idea anyway :)
    I have an Ruckus 7341 AP. I would like through powershell to login and pull some information about connected clients. Then I thought i could use Invoke-Webrequest for that the same way i have done with many other things. But when i try it keeps getting
    me the login page. Here's what i tried:
    $result = Invoke-WebRequest -Uri "http://192.168.1.2"
    $result.Forms[0].Fields.'login-username' = "super"
    $result.Forms[0].Fields.password = "*******"
    Invoke-WebRequest "http://192.168.1.2/forms/doLogin" -SessionVariable th -Body $result.Forms[0] -Method Post
    $data = Invoke-WebRequest -Uri "https://192.168.1.2/index.asp" -WebSession $th
    Any thoghts?

    Hi,
    Please try below code to signin a wen page, we should modify the name the elements according to the wenpage you use:
    $url = "http://192.168.1.2" 
    $username="Your_username" 
    $password="Your_password" 
    $ie = New-Object -com internetexplorer.application; 
    $ie.visible = $true; 
    $ie.navigate($url); 
    while ($ie.Busy -eq $true) 
        Start-Sleep -Milliseconds 1000; 
    $ie.Document.getElementById("User").value = $username 
    $ie.Document.getElementByID("Passwd").value=$password 
    $ie.Document.getElementById("signin").Click();
    Regards,
    Yan Li
    Regards, Yan Li
    Thanks for the reply Yan.
    I get an error:
    Property 'Value' cannot be found on this object; make sure it exists and is settable.
    At line:1 char:1
    + $ie.Document.getElementById("user").Value = 'super'
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
        + FullyQualifiedErrorId : PropertyNotFound

  • Two jsp forms - same action class

    Hi, I'm new to Struts/JSP so please help:
    1. I have 2 JSP forms, can they share the same action class?
    In JSP form 1, I've specified the form action class
    <html:form action="groups" >
    In JSP form 2, it's
    <html:form action="groupusers">
    In my Struts-Config.xml, I've specified for form1
    <form-bean name="GroupForm" type="org.apache.struts.validator.DynaValidatorForm">
    <action path="/groups" type="...groups.action.GroupsAction" name="GroupForm" scope="request" validate="false" parameter="methodToCall" input="/groupsframe.jsp">
    and for form2
    <form-bean name="GroupUsersForm" type="org.apache.struts.validator.DynaValidatorForm">
    <action path="/groupusers" type="...groups.action.GroupsAction" name="GroupUsersForm" scope="request" validate="false" parameter="methodToCall" input="/addGroupUsers.jsp">
    Form 1 was invoked as a child window and "getGroup" action in GroupsAction class is called.
    When a button on Form 1 is clicked, I've used javascript to invoke Form2 as a child window and call "getGroupUsers" action in GroupsAction class. Form 2 is displayed, but the "getGroupUsers" action in GroupsAction class was never called.
    Is it possible to have 2 JSP forms sharing the same action class? If so, what am I doing wrong here?
    thanks in advance for your help.

    Hi All,
    I need some clarity on the page attribute in struts validations.
    I have a page with 3 buttons. First 3 input fields and one button (first button)will be displayed in the jsp page,if i click the first button then another 3 fields and one button(second button) will be added to that jsp page , again i click the second button another 3 buttons and one butoon (third button) will be added to the jsp page.now my Problem is : can i witre all fields validation in validation.xml.if i can write all field validations , it will check the first 3 fields only, pls solve my problem

  • Problem with Adobe Forms

    I am getting error with ADS Forms. Please find the logs.
    Date , Time , Message , Severity , Category , Location , Application , User10/28/2009 , 13:00:29:567 , 
    [EXCEPTION]
    com.sap.engine.services.ejb.exceptions.BaseEJBException: Transaction system failure in method rpData.     at
    com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.java:177)     at sun.reflect.GeneratedMethodAccessor541.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)     at java.lang.reflect.Method.invoke(Method.java:324)     at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)     at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)     at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)     at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)     at SoapServlet.doPost(SoapServlet.java:51)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)     at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)     at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)     at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)     at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)     at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)     at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)     at java.security.AccessController.doPrivileged(Native Method)     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)Caused by: com.sap.engine.services.ts.exceptions.BaseRollbackException: Transaction ( SAP J2EE Engine JTA Transaction : [11effffff96ffffff9a0019ffffffef] ) is or is being rolled back.     at com.sap.engine.services.ts.jta.impl.TransactionImpl.commit(TransactionImpl.java:305)     at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.java:174)     ... 24 moreCaused by: javax.transaction.xa.XAException     at com.adobe.service.J2EEResourcePeerImpl.prepare(J2EEResourcePeerImpl.java:162)     at com.sap.engine.services.ts.jta.impl.ResourceList.prepare(ResourceList.java:99)     at com.sap.engine.services.ts.jta.impl.TransactionImpl.commit(TransactionImpl.java:277)     ... 25 morecom.sap.engine.services.ts.exceptions.BaseRollbackException: Transaction ( SAP J2EE Engine JTA Transaction : [11effffff96ffffff9a0019ffffffef] ) is or is being rolled back.     at com.sap.engine.services.ts.jta.impl.TransactionImpl.commit(TransactionImpl.java:305)     at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.java:174)     at sun.reflect.GeneratedMethodAccessor541.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)     at java.lang.reflect.Method.invoke(Method.java:324)     at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)     at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)     at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)     at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)     at SoapServlet.doPost(SoapServlet.java:51)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)     at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)     at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)     at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)     at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)     at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)     at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)     at java.security.AccessController.doPrivileged(Native Method)     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)Caused by: javax.transaction.xa.XAException     at com.adobe.service.J2EEResourcePeerImpl.prepare(J2EEResourcePeerImpl.java:162)     at com.sap.engine.services.ts.jta.impl.ResourceList.prepare(ResourceList.java:99)     at com.sap.engine.services.ts.jta.impl.TransactionImpl.commit(TransactionImpl.java:277)     ... 25 more , Error ,  , com.sap.engine.services.ejb , com.adobe/AdobeDocumentServices , Guest

    hi anil,
    well my error is following:
    java.lang.NullPointerException
         at com.sap.adobe.comp.AdobeComponentView.wdDoInit(AdobeComponentView.java:100)
         at com.sap.adobe.comp.wdp.InternalAdobeComponentView.wdDoInit(InternalAdobeComponentView.java:142)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:274)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:540)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:422)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:130)....
    can u tell me what is wrong in it?
    thanks in advance
    Srikant

  • How to override the create method invoked by a create form?

    Hello everyone, I'm using ADF Faces and have the next question:
    How can I override the create method which is invoked by a create form to preset an attribute in the new row (the preset value is not fixed, I have to send it to the method as a parameter as it is obtained using an EL expression)?
    In the ADF guide I read how to override a declarative method (Section 17.5.1 How to override a declarative method), but this explains how to do it with a method that is called by a button. I don't know how to do the same with a method which is called automatically when the page is loaded.
    I also tried overriding the view object's createRow() method to receive a parameter with the preset values but it didn't work, I believe that was because the declarative create method is not the same as the view object's createRow. This caused the form to display another row from the viewobject and not the newly created one (I also set the new row into STATUS_INITIALIZED after setting the attribute).
    Well, I hope my problem is clear enough for somebody to help me.
    Thank you!

    Hello,
    I'm not sure you can do it with standard generated Create Form.
    In your view object you'll need to create your own create method with parameters, publish it to client interface and invoke instead of standard generated create action in page definition.
    Rado

  • Multiple submit buttons in a jsp form?

    I've been doing some research and found out that multiple buttons in a JSP form are possible by two ways:
    - We can obtain the value of the submit button to know which one was clicked in the parameters of the request using the name of the buttons (which should be the same for all the submit buttons).
    - We can change the submit destination using Javascript (Horrible solution since I want my web site to be safe to be used even if Javascript isn't active in clients browsers. I will use it of course since we can do amazing things with it but I want my website to be able to work without it also)
    WHAT annoys me is the fact that the value of a submit button is also his text, so if I change the text of the submit button, I will always have to check the servlet to do the corresponding change.
    Is there a third choice to be able to use multiple buttons?
    Olivier Voutat

    It seem rather convoluted at first but it's really good. I've not worked with JSF so I've no idea how that compares but from what I know, Craig McClanahan, who came up with Struts, worked on JSF also, so I guess it could only improve on Struts.
    EDIT: Here's a search result on Google'ing his name: http://www.theserverside.com/news/thread.tss?thread_id=29068
    But like I said, you don't have to use Struts ( which only uses standard JSP/ Servlets stuff anyway ), you simply use one of the ideas from it.
    For example; you have a properties file, say "/WEB-INF/properties/myProps.properties" with these entries:
    #USERS MODULE
    users.button.save=Save User
    users.button.search=Search User By Name
    users.button.delete=Delete UserThis would be a key: users.button.save to the value Save User
    Now, in your JSP, you use JSTL <fmt> tags:
    <fmt:setBundle basename="properties.myProps"/>
    //set the resource bundle you want to use
    //and create buttons with the proper values
    <input name="myButton" type="submit"><fmt:message key="users.button.save"/></input>
    <input name="myButton" type="submit"><fmt:message key="users.button.search"/></input>This would create buttons with text "Save User" and "Search User By Name" respectively
    Now, finally, in your servlet:
    //create a map of the properties,
    //possibly on app startup using a ServletContextListener
    //and put it in the servlet context for access everywhere
    HashMap myProps = (HashMap)getServletContext.getAttribute("myPropertiesMap");
    String buttonClicked = request.getParameter("myButton");
    if ( buttonClicked.equals((String)myProps.get("users.button.save")) )
    //perform save action
    else if ( buttonClicked.equals((String)myProps.get("users.button.search")) )
    //perform search action
    //etcYou'll obviously want to optimize this. Perhaps make a method that handles the comparison so you can have neater if conditions. But you get the idea, right?
    Edited by: nogoodatcoding on Oct 4, 2007 8:12 PM

Maybe you are looking for

  • HP LaserJet P1102w will only print wirelessly if I turn the printer off and on again

    I have 2 Laserjet P1102w that work fine printing through USB.  However, I was hoping this printer could become the standard wireless printer for individual users in the office.  I have setup 2 different printers wirelessly with their own static, rese

  • Drive does not appear in ISCSi volumes

    Hi, I have configured a windows server 2012 r2 OS with 2 disks/ The server is a VM. Both disks are SCSI. Hoerver, the data disk does not show in ISCSI setup Screenshot of the part in question is here: https://weikingteh.files.wordpress.com/2012/12/im

  • Restored my iMac from Time Machine now Hard Drive has doubled! Need Space!

    I Restored my new (refurbished) iMac 2010 (Snow Leopard 10.6.4) from Time Machine now the Hard Drive has doubled 450GB to 900GB. I want to recover the space on my hard drive, What do I do? Side Note: My previous iMac (2007) died so I went and bought

  • MRM_QUANTITY_CHECK for invoices parked as complete

    Hi, is it possible to call fm MRM_QUANTITY_CHECK for invoices parked as complete (RBKP-RBSTAT = 'B' and sy-ucomm = 'COMP')? is it possible to have routine MENGE_PRUEFEN(SAPLMR1M) for invoices parked as complete? These checks get triggered when postin

  • Duplicate Playlists when syncing with Media Go

    Having a minor, albeit annoying, issue with Media Go. Pretty much every time I sync it with my phone, instead of just updating the playlists it created duplicates of the playlists so I end up with "R&B" and "R&B(2)" for instance. I have about 25 play