RequestDispatcherObject.include(req,res) causing problem in welogic 9.1

I am migrating my application from web7.1. to 9.1.
In some servlets, i am using the RequestDispatcher.include method to paste a relevant JSP content.
When I access the servlets parameters values only after the requestDispatcherObject.include(req,res), the parameter values are returned as null.
For eg.
consider 2 parameter values , status,mode are present in a servlet, project.java.
I am including project.jsp file inside this servlet.
When I access the parameters only after the include statement, the values are returned as null, but when i access any one parameters before this statement, both the original parameter values are retained.
i.e.
/Project?status=disp&mode=true
Inside doGet method of Project .java:
String mode=HttpServletRequest.getParameter("mode");
RequestDispatcher reqdis=getServletConfig().getServletContext().getRequestDispatcher("/project.jsp");
reqdis.include(req,res);
String status=HttpServletRequest.getParameter("status");
System.out.println("status "+status+"\nmode "+mode);
The above code prints the value
status disp
mode true
However when we change the code as ,
RequestDispatcher reqdis=getServletConfig().getServletContext().getRequestDispatcher("/project.jsp");
reqdis.include(req,res);
String status=HttpServletRequest.getParameter("status");
String mode=HttpServletRequest.getParameter("mode");
System.out.println("status "+status+"\nmode "+mode);
the output is
prints the value
status null
mode null
Thsi problem occurs in weblogic 9.1, and is otherwise working fine in weblogic 7.
Do I have to make code change in all instances where this problem occurs , or is there any common solution.
Kindly help me solve this issue at the earliest

I tried reproducing this, and I don't observe the same behavior. I get the same values (those specified in the URL) regardless of whether I retrieve them before or after the include (or mixed as in your example).
          There is only one way I can think this might happen. If you are using HTTP POST and using getInputStream() or getReader() to read the body of the request, you could affect things. This is mentioned in the servlet spec. This would fit with your behavior. If your servlet reads a parameter, WLS will parse the all the parameters and they stay read-only (you can't set parameters, only attributes). WLS will only parse on demand for performance reasons (no point if one isn't requested). Nothing the included page can do will affect the parameters, so you'd see both be set. If the servlet includes the JSP first and the JSP calls getInputStream() and reads all the data, then when the servlet gets a parameter and WLS attempts to parse the POST body, there is no data left to be read (because the JSP already read it). Thus, everything will be null.
          But, in your example, it appears you are using GET. It shouldn't be possible if the parameters are set as part of the URL. And indeed, I don't see it.
          Perhaps your example is a simplification? What is your include doing?

Similar Messages

  • If I install the update to Adobe Reader 10, will that cause problems with Acrobat Pro 9?

    Firefox (version 15.0.1) is telling me I need to install an update to Adobe Acrobat 9.4 in order to view pdf files in my browser. I use Acrobat Pro 9. The update is actually Adobe Reader 10, and I am wondering if I install this, will it cause problems with my version of Acrobat Pro?
    Because I am not sure if this is so, I have temporarily disabled the plug-in and now pdf files download automatically rather than display in my browser. I would prefer they open in my browser but do not want to upgrade to Acrobat X.
    My OS is Windows Vista. I did not include the "troubleshooting information" file because I'm not sure what specific info is being requested.
    Thanks for any help.

    Hi WMdotcom
    did you try to view pdf with your acrobat pro 9 ?
    see
    [https://support.mozilla.org/en-US/kb/change-firefox-behavior-when-open-file Change what Firefox does when you click on or download a file]
    [https://support.mozilla.org/en-US/kb/set-how-firefox-handles-different-file-types
    Set how Firefox handles different types of files]
    thank you

  • I have an original iPad running 5.1.1.  It has started throwing me out of safari to the point it is now unusable.  Have tried everything including full restore but problem persists?

    I have an original iPad running 5.1.1.  It has started throwing me out of safari to the point it is now unusable.  Have tried everything including full restore but problem persists?

    Try a few things:
    First, try double tapping the home button. You should see a row of apps at the bottom; these are your recenty opened apps. Hold your finger down on any of the icons until they start to shake, and a red minus() appears. Tap the red minus for each app. This will close the app, not delete it. If you have too many apps open, this can cause crashes.
    If it still crashes, try the basic troubleshooting steps here:
    Basic Troubleshooting Steps for iOS
    (Note that I am a representative of the organization for the above link, which is not endorsed by Apple)

  • Is ServletAuthentication.login(userName, password, req, res) transmit data to server after encrypting?

    Hi,
    May I know that the below method is using any encryption before transmitting data to the server end? Need to know whether its passing plain text to the server end as we call the method using plaintext for username and password.
    int rc = weblogic.servlet.security.ServletAuthentication.login(userName, password, req, res);
    Thank you.

    I had a problem once, where the authentication server only allowed internal IP addresses to be authenticated. Do you have any kind of those restrictions?
    Mike

  • TM causes problem on other partition of split drive

    I have a LaCie 320 d2 which is partitioned with 120GB for Time Machine and the rest for general storage. All goes well on the TM side, but the remaining partition has had problems twice now.
    The symptoms are the general area being unable to accept any more data, giving the error that the current file is in use. It doesn't matter what type the file is, or how large. When it reaches its limit, it will clunk a few times and stop with an error message.
    The latest time happened when I was transferring a folder containing 11GB of mixed files from my desktop to the general area. I left it to get on with it, but while I was away TM started to backup, including the 11GB folder on my desktop. This leads me to believe that TM was trying to read the file at the same time as Finder was copying it. Whatever problem it encountered was left on the HD and stops it from writing any more data.
    I can't remember whether there was a similar 'double copy' scenario the first time. The problem can be fixed only by erasing the drive entirely (one partition only doesn't help) then repartitioning and restarting TM.
    I do have other storage, on the network, so if the problem occurs again I will leave the whole drive as TM. I'd rather not, as a FW drive is very handy to have.
    If anyone has had any similar problems or knows how the problem is caused/might be solved, please let me know.
    Many thanks.

    matti-oats wrote:
    I have a LaCie 320 d2 which is partitioned with 120GB for Time Machine and the rest for general storage. All goes well on the TM side, but the remaining partition has had problems twice now.
    The symptoms are the general area being unable to accept any more data, giving the error that the current file is in use. It doesn't matter what type the file is, or how large. When it reaches its limit, it will clunk a few times and stop with an error message.
    The latest time happened when I was transferring a folder containing 11GB of mixed files from my desktop to the general area. I left it to get on with it, but while I was away TM started to backup, including the 11GB folder on my desktop. This leads me to believe that TM was trying to read the file at the same time as Finder was copying it. Whatever problem it encountered was left on the HD and stops it from writing any more data.
    I can't remember whether there was a similar 'double copy' scenario the first time. The problem can be fixed only by erasing the drive entirely (one partition only doesn't help) then repartitioning and restarting TM.
    I do have other storage, on the network, so if the problem occurs again I will leave the whole drive as TM. I'd rather not, as a FW drive is very handy to have.
    If anyone has had any similar problems or knows how the problem is caused/might be solved, please let me know.
    Many thanks.
    Welcome to the Apple boards.
    Do you have TM set to backup the other half of the external drive? That might cause an issue.
    I would suggest doing your copying right after TM ends a backup. While LaCie drives are quite good, you are really asking it to multitask if you are copying a file to it while TM is trying to backup both the original file and the one being copied. You may find that some of your files are locked and marked open which can cause problems.
    Delete any files that were being copied during this process and recopy them, unless you have already deleted the original, in which case you might find it on TM, in which case you can copy the TM backup onto your internal drive and then over to the other partition after removed the bad file.

  • Your current updates are causing problems and will not install correctly how do we stop it

    the security update you currently have causes problems with other software and does not install at all. Current corrections the entire pc has to be set back to a restore date to remove it

    Hi;
    I apologize about your not being able to reply to my response in the Payments sub-forum, thanks for re-posting here.
    I forwarded your issue to a Support team that will take care of it.  If you could send me a good contact phone # via email to [email protected] I will give that to the Support team so they have a few ways to contact you.  Please also include the AdobeID for both accounts so they know what all to look at.
    Thanks,
    Josh

  • Security Update 2008-002 - causes problems??

    After finally downloading and installing my security update I am left wondering if it causes problems! In my Cubase SX 4.1 I have just tried to export an audio mix and keep getting the message "Unknown Error"! I have contacted Steinberg support and having tried everything they are baffled and point the finger towards the Mac. Before installing the security update I had no such problem! This new computer, operating system or the pentium chips seem very buggy to me now. On my previous computer (Power PC) everything worked fine! With deadline's and mixes to complete, does anyone know of issues or how to solve the problem? I have done everything possible with Steinberg including reinstalling the program.
    Thanks in advance...

    Greetings,
    If you are using Time Machine, you can simply go back to a day before the Update and see if that helps.
    Cheers,
    M.

  • Null values from DB2 cause problems

    Hi,
    I have another problem with database link to DB2 using IBM iSeries Access for Linux on 64 bit OEL5 with Oracle Database gateway and unixODBC 2.2.14.
    DB link works. However, null values from DB2 cause problems. Date columns that are null on db2 return a date '30.11.0002', and character columns that are null return an error ORA-28528: Heterogeneous Services datatype conversion error.
    isql returns correct results.
    How can i fix this? Perhaps set some parameters for data conversion on the gateway?
    Thank you.

    If the driver is not fully ODBC level 3 compliant and misses functions, we're lost. But sometimes the drivers are ODBC level 3 compliant but miss the correct 64bit implementation. In those cases we can tell the gateway to use the 32bit ODBC level 3 standard by setting in the gateway init file:
    HS_FDS_SQLLEN_INTERPRETATION=32

  • I want to uninstall ReloadEvery as I think it is causing problems however it is not in my list of Extensions or Plugins yet it is clearly installed, I tried reinstalling FF but it was still there! How can I get rid of it?

    I installed ReloadEvery a while ago and it seemed to be working fine however I am now having problems with FF crashing and weird things like pages not reloading and not being able to use the back button etc
    I have already tried uninstalling and reinstalling FF and upgrading to FF 4.
    When I upgraded to FF 4 I was still having problems even though I didn't have any Extensions installed at all, or so I thought. I noticed that ReloadEvery was still installed. I was rather puzzled as I had done a clean install of FF 4. I want to remove ReloadEvery to see if it will solve my problems.
    I have also tried following the help on the FF Troubleshooting about manually uninstalling Extensions but again ReloadEvery not listed there yet I am still able to use it in FF!
    I want to get rid of it!! I really need some help please.

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    If clearing cookies doesn't work then it is possible that the <i>cookies.sqlite</i> file that stores the cookies is corrupted.
    Rename (or delete) <b>cookies.sqlite</b> (cookies.sqlite.old) and delete other present cookie files like <b>cookies.sqlite-journal</b> in the Firefox Profile Folder in case the file cookies.sqlite got corrupted.
    *http://kb.mozillazine.org/Cookies

  • FF 3.6 AND 5 on same Mac, 1 profile - can I uninstall 5 without causing problems running 3.6 or with the profile?

    I upgraded from 3.6.16 to 5, but don't like how 5 handles tabs (auto reloading 'problem loading' tabs when internet connection is reestablished). So I installed 3.6 in a separate folder, e.g. both versions are on this computer. I went back to using 3.6, and let it upgrade to either 3.6.18 or 19 (don't recall which & it's not open right now). I'm having problems with it using too much CPU & Memory, and not sure if that's a difference between 3.6.16 & 3.6.18/19, or if having 5 on the same computer even if closed could be causing the problem.
    Can I uninstall 5 without causing problems with the 3.6 version and the single profile?

    If you haven't tried this, give it a try. It worked for me, hopefully it will work for you. In your version 3 firefox, disable all extensions, I had two plugins (doubletwist and joost, disable those if you have them). Then install firefox 5 by overwriting your version 3 firefox. It should work fine after that. I tried everything before, I gave that a last ditch shot. Oh yeah, before you install firefox 5, clear your cache of everything just to be sure.
    Hopefully that helps.

  • I have two Iphones with different email addresses sharing one Apple ID. Will that cause problems with using messaging and FaceTime?

    I have two Iphones 5 with different email addresses sharing one Apple ID account.Both are using IOS 8.
    I would like to set up a new Apple Id for one of the phones and remove it from the old account.
    If I do that, can I move all of the purchased apps and songs to the new Apple account?
    Also, will sharing one Apple ID account with two devices cause problems with using messaging and FaceTime?

    Sharing an iCloud account between two devices can be done without causing issues with iMessage and FaceTime, just go into Settings for each of these functions and designate separate points of contact (i.e. phone number only, or phone number and unique email address).  While that works, you'll then face the problem where a phone call to one iPhone will ring both if on the same Wi-Fi network -- but again, that can be avoided by changing each phone's settings.
    Rather than do all that, don't fight it -- use separate IDs for iCloud.  You can still use a common ID for iTunes purchases (the ID for purchases and iCloud do not have to be the same) or you can use Family Sharing to share purchases from a primary Apple account.

  • I just updated my latest java but the update is causing problems with some externale devices. So i would like to uninstall this latest java update and get back the previous one. That should solve to problems with my external device

    i just updated my latest java but the update is causing problems with some external devices. So i would like to uninstall this latest java update and get back the previous one. That should solve to problems with my external device.
    Is this possible and how do i do that?
    Anyone who responds thanks for that!
    Juko
    I am running
    Hardware Overview:
      Model Name:          Mac Pro
      Model Identifier:          MacPro1,1
      Processor Name:          Dual-Core Intel Xeon
      Processor Speed:          2,66 GHz
      Number of Processors:          2
      Total Number of Cores:          4
      L2 Cache (per Processor):          4 MB
      Memory:          6 GB
      Bus Speed:          1,33 GHz
      Boot ROM Version:          MP11.005D.B00
      SMC Version (system):          1.7f10
      Serial Number (system):          CK7XXXXXXGP
      Hardware UUID:          00000000-0000-1000-8000-0017F20F82F0
    System Software Overview:
      System Version:          Mac OS X 10.7.5 (11G63)
      Kernel Version:          Darwin 11.4.2
      Boot Volume:          Macintosh HD(2)
      Boot Mode:          Normal
      Computer Name:          Mac Pro van Juko de Vries
      User Name:          Juko de Vries (jukodevries)
      Secure Virtual Memory:          Enabled
      64-bit Kernel and Extensions:          No
      Time since boot:          11 days 20:39
    Message was edited by Host

    Java 6 you can't as Apple maintains it, and Java 7 you could if you uninstall it and Oracle provides the earlier version which they likely won't his last update fixed 37 remote exploits.
    Java broken some software here and there, all you'll have to do is wait for a update from the other parties.

  • TS3579 I found this useful because I did not know about the effect of typing in data and that you could only drag to rearrange the data.  I had typed in data before and this had caused problems but restoring defaults did not cause correct dates to show up

    I found this  (TS3579: If the wrong date or time is displayed in some apps on your Mac Learn about If the wrong date or time is displayed in some apps on your Mac) useful because I did not know about the effect of typing in data and that you could only drag to rearrange the data.  I had typed in data before and this had caused problems but restoring defaults did not cause correct dates to show up in Finder. 

    It sounds like there are a couple things going on here.  First check if you have a successful install of SQL Server, then we'll figure out the connection issues.
    Can you launch SQL Server Configuration Manager and check for SQL Server (MSSQLSERVER) if default instance or SQL Server (other name) if you've configured your instance as a named instance.  Once you find this, make sure the service is started. 
    If not started, try to start it and see if it throws an error.  If you get an error, post the error message your hitting.  If the service starts, you can then launch SSMS and try to connect.  If you have a default instance, you can use the machine
    name in the connection dialog.  Ex:  "COWBOYS" where Cowboys is the machine name.  However, if you named the SQL Server instance during install, you'll need to connect using the machine\instance format.  Ex:  COWBOYS\Romo (where Romo
    is the instance name you set during install).
    You can also look at the summary.txt file in the SQL Server setup error logs to see what happened on the most recent install.  Past install history is archived in the log folder if you need to dig those up to help troubleshoot, but the most
    recent one may help get to the bottom of it if there is an issue with setup detecting a prior instance that needs to be repaired.
    Thanks,
    Sam Lester (MSFT)
    http://blogs.msdn.com/b/samlester
    This posting is provided "AS IS" with no warranties, and confers no rights. Please remember to click
    "Mark as Answer" and
    "Vote as Helpful" on posts that help you. This can be beneficial to other community members reading the thread.

  • I replaced my hard drive and used time machine to boot from but it installedthe unrepaired disk permissions of the faulty previous drive would this cause problems on my new drive?

    I replaced my hard drive on macbook pro and used time machine to boot from but it also installed the unrepaired disk permmissions of the other drive, would this cause problems to my new drive?

    Can you remember what the permissions problem was that you had before? You may need to reinstall OS X from scratch and not reinstall anything from your Time Machine backups. To be on the safe side you should reinstall all third-party applications from scratch, as well. Then only restore from your backup your document/data files.

  • I deleted the 4oD app from my iPad but it still appears in the list in Settings. How do I get rid of that? It is causing problems when they issue updates as it apparently thinks I still have it when I don't.

    Can any one help me get rid of a deleted app 4oD that still appears in the Settings list. I deleted it from the home screen and Spotlight search confirms it has gone. It is causing problems because I get notified of updates and I cannot get rid of them either. I have tried re-downloading via my MacBook because there isn't a download option from the iPad (App Store clearly think I still have it when I don't) then deleting again but the listing in Settings remains.
    It is really irritating me.
    Thanks.

    Have you tried deleting the App within the Settings menu (rather than from the Home Screen)?
    Settings>General>Usage>
    From the Apps list, find the App (press "Show all Apps" if the app is not in the immediately shown list), tap on the app you wish to delete, then tap "Delete App"

Maybe you are looking for

  • HELP - FRUSTRATED - iTunes 7 Downloaded but will not install

    Hi....I have downloaded iTunes. But when I then run the iTunesSetup.exe to install it, I keep getting the exact same message: "The installation of QuickTime did not complete successfully. iTunes requires QuickTime" That's it. No error number or furth

  • Information on EP

    Hi All, i have some knowledge in ABAP programming and i would like to know more about the Enterprise Portals. what i want to ask u is which course should i go first, is it possible to learn Portals without indepth knowledge of java i hope some one wi

  • Log file generating

    Hello All, When we execute a .sql file in CMD prompt using oracle client, the generated log file will be created in the file execution path. e.g., C:\Users\xxx\Desktop> But when a .sql file is executed in Pentaho tool as a transformation, I am unable

  • Motion Tween Movie

    I have a motion tween that goes from object A to object B, then C, D and finally E. How do I make the whole shooting match one big (small) movie? I've tried highlighting all the frames then pressing F8 but that doesn't seem to work (just makes the fi

  • Need some help with a task, constructors.

    Hi there, I've got this task here, and I was wondering if someone could help me out. I wan't to know if my code is answering my task. The task: BlueJ casino in Las Vegas has given you this task to create a class where they can register their players.