Placing a Object in Cookie

Hi,
I have a class named Test I placed the object of Test inside a session and try to take it in a other JSP
of same Session
<%
Test t = new Test();
session.putValue("obj",t);
%>
how to take the object t in the next page (with the code please)
Thanks in advance

how I can transfer the Test object to the other page
Because I dont want to instantiate it there(in the
other page)Well, since you already placed your object into the session, how about just retrieving it from there?

Similar Messages

  • Resolved reference placed in object with no cache

    Hi ,
    I have been seeing this error in my weblogic logs.The workflows are
    running fine and doing intended work. Have a look at the error message
    WARNING: Resolved reference placed in object with no cache.
    java.lang.Exception: printStackTrace
            at com.waveset.util.Util.printStackTrace(Util.java:6259)
            at com.waveset.object.PersistentObject.cacheWarning(PersistentObject.java:476)
            at com.waveset.object.PersistentObject.checkReference(PersistentObject.java:2683)
            at com.waveset.object.PersistentObject.checkReferences(PersistentObject.java:2718)
            at com.waveset.object.PersistentObject.addMemberObjectGroup(PersistentObject.java:1513)
            at com.waveset.workflow.WorkflowEngine.buildWorkItem(WorkflowEngine.java:4406)
            at com.waveset.workflow.WorkflowEngine.callManualAction(WorkflowEngine.java:4284)
            at com.waveset.workflow.WorkflowEngine.callAction(WorkflowEngine.java:3811)
            at com.waveset.workflow.WorkflowEngine.callAction(WorkflowEngine.java:3229)
            at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:3070)
            at com.waveset.workflow.WorkflowEngine.makeTransition(WorkflowEngine.java:2809)
            at com.waveset.workflow.WorkflowEngine.checkExplicitTransitions(WorkflowEngine.java:2700)
            at com.waveset.workflow.WorkflowEngine.checkTransitions(WorkflowEngine.java:2486)
            at com.waveset.workflow.WorkflowEngine.processSteps(WorkflowEngine.java:1891)
            at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1748)
            at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1656)
            at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:816)
            at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:478)
            at com.waveset.workflow.WorkflowExecutor.execute(WorkflowExecutor.java:235)
            at com.waveset.task.Scheduler.execute(Scheduler.java:2393)
            at com.waveset.task.Scheduler.executeTask(Scheduler.java:2295)
            at com.waveset.task.TaskManager.executeTask(TaskManager.java:277)
            at com.waveset.workflow.Workflow.checkinWorkItem(Workflow.java:378)Any Ideas,
    Thanks

    Did anybody resolve this issue?
    I am getting com.waveset.util.WavesetException:Class com.omd.session.WorkflowServices not found.
    It seems the workflow status shows finished, but did not start the acctual workflow process of approvals and emails to the appropriate user accounts.
    Anybody has any clues about this exception?
    G

  • Store object in cookie

    Hello
    I can store objects into a session. However, the session timeout in the server is too short and I cannot change this value so I have to store my object in cookie.
    Is there any tutorial about this?
    Many thanks
    suhu

    You'll have to convert your Object to String and vice versa. If the data is getting large, I rather recommend you to use a database.

  • Need help placing people / objects into another photo ...realistically

    Hi, I've been a Photoshop user for many years now and have adopted CS4 when it initially came available. My photoshop skills are to a good standard however one thing I always find difficult is taking a selection from one photo (usually a person / object) and placing it into another photo.
    I am able to correct the size and scale and maintain the aspect ratio but I never seem to be able to make the photo look convincing, I know this is a basic part of Photoshop, but I was wondering if any of you could offer some tips or advice on how to make the person / object more realistic and hopefully so that clients won't be able to spot it was missing in the first place.
    Thanks in advance

    The Daily show is a satirical show in the US with John Stewart. As a kind of running joke on "Photoshopped", they often badly photoshop things together, cut and paste style.
    Whether things will ever look correct, is to do with LIGHT. The light on your background has to be the same as the light on your foreground subjects. Color can be easily tweaked and matched but light cannot. Photographers with the right expertise (thinner on the ground than you might think) can look at the light in a destination image, and try and match in the studio, but this is a highly skilled area. I once had a professional job where someone had taken David Beckham to a studio - and they wanted the images realistically comped into beach scenes, with broad sunshine, resulting hard shadows, sunsets and horizons. Unfortunately the photographer was obviously more interested in having fun with a high profile client like Beckham for their book, than they were in lighting correcty for the intended destination images.  Impossible without weeks of painting, and I told them. No point in wasting clients time on images like this.

  • Placed Illustrator object with tint turning solid in RIP

    I have a file i need to output from IDCS2. It has a company logo that is made up of 2 spot colors (ai file). There is another placed object, also an ai file that uses a 10% tint of one of the colors in the logo.
    When the file goes through our Scitex RIP the 10% tint comes out solid (100% of the pantone color).
    Our RIP is old (PS/M 6.1) but usually does not give us this problem.
    I've tried multiple different ways to make this file work, --using the tinted file as an eps, pdf, making it an object in ID, but nothing works. (I can get it to work if I change colors to one of process colors in Illustrator --e.g, making one spot Cyan and other magenta-- but this is cumbersome.
    Anyone have a suggestion

    I have had at very similar problem with my Star 600 L2 rip, but only if the IDCS2 postscript is first imposed in Preps. The problem does not occur printing to the rip directly from IDCS2 to the rip, and it does not occur at all from IDCS. Not quite the same as your problem.
    In my case I was able to solve it by saving the AI.eps as AI.pdf and relinking to that in ID (all versions). This was for Device Independent postscript out of ID and In-RIP separations out of Preps.
    So try a pdf file instead of eps.
    Al
    Edit: You may also want to have a look at this: http://www.rti-rips.com/Imagesetter%20RIP-Kits.html

  • Placing an object/file in defalut host root folder

    Hi All,
    I am facing a problem in placing a MIME object i.e. a XML file in the root folder.
    I have written a FLEX application which sends a request for a particular file in the root folder.
    It attempts to access the following link.
    http://mysap.xyz.com/crossdomain.xml
    I want to place this crossdomain.xml file in the root folder.
    Can I do it by using some transactions in SAP or it has to be done at the OS level.
    I tried uploading the file from MIME Repository and looked around in the SICF transaction, but with no success.
    Regards,
    Ameya

    Have a look at this thread: crossdomain.xml on WAS
    Kind regards,
    Roland

  • Change stacking order of placed images/objects?

    Hello All,
    Is it possible to change the order of placed images in a PDF?
    I have a PDF with several objects in it, I want to be able to place an image into the PDF, and have it appear behind some of the objects and in front of others... is this possible?
    Example, let's say I have a PDF with a cartoon/comic word or thought bubble in it... I want to be able to place an image of my friend behind the word bubble object.
    I have Acrobat 9.0 Pro
    Thanks!

    As far as AS3 goes, I don't know what you mean, but it can be used pretty much the same way you use AS2, with the exception that in AS3 you cannot place code "on" object like you can in AS1/AS2... all code must be on the timeline.  Beyond that, there is no difference beyond alot of the code being different between the two languages.  The timeline remains as a place to build things in if you choose to.
    As far as your question goes, yes, you can have a rollover of a movieclip assign text to a textfield within it.  Let's say you're using AS2 and you have a movieclip named "button1" that contains a textfield named "tf1".  Code for that could be...
    button1.onRollOver = function(){
         button1.tf1.text = question1;
    And if you wanted to make tit so that clicking that same button shows the answer....
    button1.onRelease = function(){
         button1.tf1.text = answer1;

  • Placing 8 objects on stage in a circle

    Hi,
    Need some help placing 8 150X150 circles on stage at equidistant locations around a larger circle (644X644, line width 4, centered on stage). Stage is 750X750.
    This is not dynamically drawn in runtime. Simply getting the correct coordinates for the 8 circle objects to place them around the 644X644 circle.
    Have tried to do it with snapping, grid, by rough estimate, all with poor results. There must be a better way to determine the correct coordinates.
    Any help appreciated.
    Regards,

    Even though you want to do it by hand you really should just use code, it's far more precise.
    Here's an example demoing Kglads code that should help you understand how it works. All you have to do is modify what is being positioned in the loop. I'm generating a small black circle just for example.
    Open a new AS3 doc and paste this in frame 1's script:
    import flash.display.Sprite;
    var xCenter:int = int(stage.stageWidth / 2);
    var yCenter:int = int(stage.stageHeight / 2);
    var cirRadius:int = 100;
    for (var i:int = 0; i < 8; i++)
        // generating a black circle
        var c:Sprite = new Sprite();
        c.graphics.beginFill(0x0,1);
        c.graphics.drawCircle(-10,-10,10);
        c.graphics.endFill();
        addChild(c);
        c.x = xCenter + cirRadius * Math.cos(i*Math.PI/4)
        c.y = yCenter + cirRadius * Math.sin(i*Math.PI/4)
    For you, you can keep an array of references to objects you want to position and use that. The code would change like this (expecting these objects to be on the stage, item_1, item_2, etc):
    var xCenter:int = int(stage.stageWidth / 2);
    var yCenter:int = int(stage.stageHeight / 2);
    var cirRadius:int = 100;
    // array of objects to reposition (must be on stage, change names to what you want)
    var objs:Array = [item_1, item_2, item_3, item_4, item_5, item_6, item_7, item_8];
    for (var i:int = 0; i < 8; i++)
        objs[i].x = xCenter + cirRadius * Math.cos(i*Math.PI/4)
        objs[i].y = yCenter + cirRadius * Math.sin(i*Math.PI/4)
    If you want to specify the angles around the circle yourself, make another array with those:
    var xCenter:int = int(stage.stageWidth / 2);
    var yCenter:int = int(stage.stageHeight / 2);
    var cirRadius:int = 100;
    // array of objects to reposition (must be on stage, change names to what you want)
    var objs:Array = [item_1, item_2, item_3, item_4, item_5, item_6, item_7, item_8];
    // angles of each item desired
    var desiredAngles:Array = [0,45,90,135,180,225,270,315];
    for (var i:int = 0; i < 8; i++)
        objs[i].x = xCenter + cirRadius * Math.cos(desiredAngles[i] * (Math.PI/180));
        objs[i].y = yCenter + cirRadius * Math.sin(desiredAngles[i] * (Math.PI/180));
    You don't need to loop over the objects, you can manually write each one if you want if that's easier of course..
    // circles center at 300px, 100px radius, angle 90
    someClip_mc.x = 300 + 100 * Math.cos(90 * (Math.PI/180));
    someClip_mc.y = 300 + 100 * Math.sin(90 * (Math.PI/180));

  • Change in Text Attibutes with Placed Illistrator Object

    I don’t know if this has been addressed but I am having problems with placing an Illustrator object into an InDesign document.  When I place an Illustrator CS6 object into am InDesign CS6 document the text attributes change.  The fonts becomes bolder but only for the spread where the Illustrator is placed and when the document is exported as a pdf file you still see bolder text for the two pages in the spread.  This seems to be a problem with CS6 since I never saw this problem with previous versions.  It does not matter how you place the Illustrator file either through place command or dragged from Bridge you still see the change.  The strange thing it is only with certain Illustrator files because it does happen all the time. Is there something about the Illustrator file that is causing the problem?

    "emboldening" of text on pages with transparency is a well-known problem. You can try the stacking tricks, but they usually don't help for on-screen output. The only thing I've ever seen suggested that would make all pages look the same, albeit with the darker text, is to put a transparent object on every page, usually easily accomplished by adding something in the margin on the master page.

  • Placing an object/photo over gutter in two page layout in Pages???

    So here's my issue. I'm new to pages and need all the help I can get. I have a two page layout and I'm trying to place a large photo across the gutter so that it will show on both pages. It will let me create the object and place a picture in it but it disappears on the other page. What am I not doing? Thanks for your help!
    mrs.rodgers

    Welcome to the forums, mrs. rodgers.
    Do you mean you have an actual two page layout (with "Facing Pages" selected in the Document Inspector)? If so (and it's not just a two column layout on one page), then there is unfortunately no way to set a picture to span two pages automatically.
    Your best bet is to fake the effect by placing two copies of the picture, one on each side of the gutter, with appropriate masks set on each, so that the left page has the left side of the picture, and the right page has the right side. Do note, however, that most printers won't print right to the edge of the page (so-called "borderless" or "full-bleed" printing), and so it may not turn out exactly as you desire.

  • Change resolution of placed smart objects

    Hi!
    I have placed Several Smart Objects into a document.
    To Reduce File Size of the overall document, I open the Smart object (double click) and reduce the resolution by using Image>Image Size...
    This is archiving my goal of getting handleble Objects perfectly. But I am confused by the Behaviour of the placed objects, after i saved the smart object and return to the original document.
    Case A)
    The placed Object with reduces resolution is places and sized exactly like the original.
    Case B)
    The placed Object has changed it's size proportionally to its new resoluton. so normally, the Objects are now shrunken down and have to rescales manually.
    I normally Prefer Case A, but i can't firgure out, on wich rules the placed objects work in this case.
    Can someone tell me, how the Software desides to use Case A or B?

    The company already told me that they will refund my money so that is not the problem.
    The ratio differences is what the person told me initially too, however told me that I could also change the dimensions so that the photos would not be cropped and centered automatically...but that's not what I want to do, as it would leave white space on the sides and top, and I have several that I want to frame.
    So what do I do now? I have 100's of pictures and over 90% of them have this problem. I used your software to enhance the photos, crop the photos, etc... but I don't see an area that explains to me what part of the image will be cropped out once they are sent out to print. Nor to I see an area that gives me a rectangular dimension to work from. If I have to crop these pictures to get them to turn out right, I need to get started on this right away.
    When I print these on my own printer they seem to print just fine. There are too many to print this way, however.

  • File opening as Placed smart object layer, instead of separate file

    how to open an image in photoshop cc like photoshop cs3?
    in cc it is automatically open as smart object on the other photo which is already open..i want to open 2nd image as a different window

    I don't believe there's an option to change whether dropping an image on another image places it as a new layer, no.  I think you'll need to get used to doing things a little differently than you have been.  I'm sorry to have to bear that news, but it only takes a week or two to build new habits.
    This behavior isn't too new, by the way.  I think the "drag to workspace to place file on top of open document" behavior changed back in Photoshop CS5, if memory serves.
    -Noel

  • At my wits end: Placing anchored object inline with text & wrap

    Granted I never learned InDesign the way I should.  Once upon a time I fared well with Aldus Pagemaker.  But I've just spent the last two hours trying to resolve a massive gap in my knowledge and I can't do it.  I'm exasperated and desperate for help.
    What I want to do:  I have a tech manual with lots of text and need to place graphic objects in a way that the text will wrap around the object and if I need to edit the text, the graphic will move with where I inserted the graphic.
    What happens:
    1.  I have a text frame with text.  I place the cursor at the beginning of the paragraph and click File> Place, thereafter choosing a graphic.
    2.  Using the selection tool, I click the graphic and then click the icon "wrap around bounding box".
    3.  The text shifts a teeny bit but does not wrap around the object.
    4.  Object is, however, inline/anchored, with text.
    OR
    1.  With nothing selected I click File> Place, thereafter choosing  a graphic.
    2.  I place the graphic on the lower part of the page over a blank space.
    3.  I move the graphic over the text and then click the icon "wrap around bounding box".
    4.  The text flows but when I edit the text, it does not flow around the graphic.
    Conclusion:
    I am retarded.  I even went through Lynda's example here:  http://www.adobe.com/designcenter/video_workshop/?id=vid0073   I was able to place my object in her document and watch the text flow around the text wrapped graphic.
    I read the help docs (I'm a big fan of reading).
    The only thing I can think of is I've set my text box up wrong or I have no idea.  I'm so frustrated I am seriously almost in tears.
    My example document (I'm under an NDA and can't release my original document, but I duplicated what I've done in the previous one) is here for anyone who can tell me what I've done wrong.  Thank you kindly.
    http://www.xandria.ca/test01.indd

    Alrighty, this is bizarre.  I couldn't leave well enough alone and I'm still trying to hammer this one out.  But I just followed my first method described in the original message and then...
    I clicked and dragged the edge of my graphic and the text began to flow around it and it moves with the text.
    What on earth?
    While I can do this for each image, I'd rather not.  What am I still doing wrong, although I seem to have a half baked workaround.
    Cheers.

  • Placing anchor objects

    Hi guys,
    I am just testing a script for a project, while executing, the following error occurs. Attached my snaps here for your reference.
    Target is: The document has the word "[H1]", this words needs to apply pstyle and replace with an anchor object. I had created the library assets too. I think I'm almost at the end. The execution is done for the first instance correctly, after that the error occurs as telling "Text cannot be moved to its current location"
    Here is my script:
    var mydoc=app.documents.item(0);
    app.findTextPreferences=null;
    app.changeTextPreferences=null;
    app.findTextPreferences.findWhat="[H1]";
    app.changeTextPreferences.appliedParagraphStyle="H1"
    app.changeText();
    var myfounds=mydoc.findText();
    var myLib=app.libraries.item(0);
    var myAssets=myLib.assets.item("H1");
    for (i=0;i<myfounds.length;i++) {
        myfound=myfounds[i];
        myAnchObj=myAssets.placeAsset(myfound.insertionPoints[0])[0];
        myfound.move(LocationOptions.after,myAnchObj.insertionPoints[0])
        //myAnchObj.appliedObjectStyle.name=="OBJ"
    Hope you guys will clarify me. Thanks in advance.

    Hi Kahrel,
    The script is doing pretty good. And I have a still doubt on this.
    Can you please give more clarity for this "the references to the remainder of the found items in the array have shifted", means, actually where it is shifted?
    Thanks much!

  • Post-processing pipeline causes error when placing "SceneGrid" object into 3D scene

    Hi,
    first want to thank you guys for the great work with proscenium and the awesome features.
    I was going through the examples and found a bug. I tried a combination of the examples "TestLines" and "TestPPEncodeDecodeHDR".
    The post processing pipeline somehow manipulates the render sates/vertex program in a way it crashes as soon as it should perform the drawTriangles call for a "SceneGrid" object.
    It does not seem to be related to my particular post processing setup - I tried TestPPBloom and TestPPEncodeDecodeHDR from the examples. The post processing pipeline seems to work fine with a 3DS model (Teapot) .
      //add grid
      scene.addChild(new SceneGrid());
      //setup post-processing
      if(true) {
    instance.createPostProcessingColorBuffer();
    instance.colorBuffer.targetSettings.useHDRMapping = true;
    instance.colorBuffer.targetSettings.kHDRMapping = 4;
    var colorToPrimary:RenderGraphNode = new RenderGraphNodePPElement(instance.colorBuffer, null, RenderGraphNodePPElement.HDR_DECODE, "Decode HDR" );
    colorToPrimary.addStaticPrerequisite(instance.colorBuffer.renderGraphNode);
    instance.renderGraphRoot.clearAllPrerequisite( );
    instance.renderGraphRoot.addStaticPrerequisite(colorToPrimary);
    This gives me the following error:
    Error: Error #3607: Stream 2 is set but not used by the current vertex program.
              at flash.display3D::Context3D/drawTriangles()
              at com.adobe.scenegraph::Instance3D/drawTriangles()[D:\Depots\Proscenium\branches\rel\code\P roscenium\src\com\adobe\scenegraph\Instance3D.as:537]
              at com.adobe.scenegraph::PB3DCompute/compute()[D:\Depots\Proscenium\branches\rel\code\Prosce nium\src\com\adobe\scenegraph\PB3DCompute.as:332]
              at com.adobe.scenegraph::RenderGraphNodePPElement/render()[D:\Depots\Proscenium\branches\rel \code\Proscenium\src\com\adobe\scenegraph\RenderGraphNodePPElement.as:272]
              at com.adobe.scenegraph::Instance3D/render()[D:\Depots\Proscenium\branches\rel\code\Prosceni um\src\com\adobe\scenegraph\Instance3D.as:304]
              at com.adobe.scenegraph::BasicScene/enterFrameEventHandler()[D:\Depots\Proscenium\branches\r el\code\Proscenium\src\com\adobe\scenegraph\BasicScene.as:273]
    Thanks,
    Philipp
    Full Source Code:
    package
              import com.adobe.scenegraph.*;
              import com.adobe.scenegraph.loaders.*;
              import com.adobe.scenegraph.loaders.collada.*;
              import com.adobe.scenegraph.loaders.obj.*;
              import flash.display.*;
              import flash.display3D.*;
              import flash.events.*;
              import flash.geom.*;
              import flash.utils.*;
              public class TestLinesWithPostProcessing extends BasicScene
      override protected function initModels():void
      //add grid
                                  scene.addChild(new SceneGrid());
      //add teapot
    //                              var f:Function = function(event:Event):void { (event.target as ModelLoader).model.addTo(scene); }
    //                              var loader:OBJLoader = new OBJLoader("res/content/teapot.obj");
    //                              loader.addEventListener(Event.COMPLETE, f, false, 0, true);
      //setup post-processing
                                  if(true) {
                                            instance.createPostProcessingColorBuffer();
                                            instance.colorBuffer.targetSettings.useHDRMapping = true;
                                            instance.colorBuffer.targetSettings.kHDRMapping = 4;
                                            var colorToPrimary:RenderGraphNode = new RenderGraphNodePPElement(instance.colorBuffer, null, RenderGraphNodePPElement.HDR_DECODE, "Decode HDR" );
                                            colorToPrimary.addStaticPrerequisite(instance.colorBuffer.renderGraphNode);
                                            instance.renderGraphRoot.clearAllPrerequisite( );
                                            instance.renderGraphRoot.addStaticPrerequisite(colorToPrimary);
      override protected function resetCamera():void
                                  scene.activeCamera.identity();
                                  scene.activeCamera.lookat(new Vector3D(0, 5, -15), new Vector3D(0, 0, 0), new Vector3D(0, 1, 0));

    Hi John,
    Pls check in SXI_CACHE to verify that the BPM(active in Integration Repository) has the latest version active on the ABAP stack.(I am saying this because you mentioned that a mapping step was missing..is it not..)
    go to SXI_CACHE --> Integration Processes(double click), in the list that you get verify that the return code is 0.
    Thanks & Regards,
    Renjith.

Maybe you are looking for

  • Adding a forwarding link to send a pdf file to another e-mail address

    I would like to add a forwarding link to a pdf document that is available for download from my iWeb site. I would like someone to be able to forward the pdf file to another e-mail address. Can I do this in iWeb? If so, how?

  • I shouldn't have done the update because now desktop will no longer run

    I have spent the last 6 hours trying to fix this.  I ran the available update yesterday and now as soon as I plug my Bold 9900 in, I get an error message and it does not sync.  I decided to try to reinstall the 7.1 update directly from the BB website

  • Help needed in Portal Search

    Hi, I have built a portal site using HTML Portlets and JavaPDK portlets, now I want to perform search on the contents. I have studied about oracle text and ultra search but could not find any clue how they interact with my dynamic JavaPDK portlet's c

  • Lose Jpeg images when editing an existing PDF Form in Acrobat X - All other edits update OK

    Have just upgraded to Acrobat X and am having problems trying to update an existing PDF Form which includes jpeg images.    After all edits are done and I save, previewing the PDF identifies that all of the existing jpeg images within the form no lon

  • Burn DVD from QTPro: Export as...?

    AVI? DVI Stream? I am trying to dub my 5 minute reel. I have it already on a DVD, but can't seem to copy this. So I have found it online, have saved it (qt.qtl) and now am trying to export this into a suitable file to then burn with iDVD. What do I d