My JSP Report doesn't work !!! Help me !!!

What's up friends! I holp that so good!
My question is very simple, I've been building a JSP Report with JDev and Report Builder, but when I has tryed to run the report from inside JDev, the IE has started with the LOADING... page and nothing happened.
I have Oracle9iDS and Oracle91AS installed on the same machine, I started the HTTP Server and Oracle9i Report Service before run the report.
I've been reading a lot of documents but I don't know what I need to do.
What is missing to configure to work well?
Please, help me!!!

You need to create a JSP report from JDev's new object gallery from 'File -> new... -> Reports Objects', so that the project settings can be prepared to run JSP report.
If you want to run JSP report on a standalone Reports server, put 'server=<server_name>' in 'parameters' attribute of <rw:report> JSP tag.
You can also use rwservlet's in-process Reports server, by not specifying 'server=...' in 'parameters' attribute. No standalone Reports server is needed. Make sure JVM is set to'hotspot' in JDev's project settings -> runner.
When running JSP in JDev, it uses JDev's embedded oc4j web server.
Regards,

Similar Messages

  • All of a sudden, report doesn´t work anymore

    Getting really tired of this whole SCOM-thing the last days.
    Now the reporting doesn´t work anymore. We changed NOTHING.
    State went from Zero to Healthy 4:14 PM on friday last week. Alright.
    But a few hours later, when nobody was here anymore, it changed to EROR.
    How can that happen?
    Reports are EMPTY suddenly. You can't start report-tasks anymore. They disappeared.
    We checked:
    - Discovered Inventory -> Data Warehouse Synchronization Server
    - State is Critical.
    - Display name is wild numbers+characters, is this normal?
    - Health explorer says:
    'DeploymentException': Failed to deploy reports for management pack with version
    dependent id '471cffe4-2085-cf71-2513-ecbac52be31f'. Failed to deploy report
    'Microsoft.Windows.Server.Reports.PerformanceBySystem'. AdjustDataSources:
    Exception <ErrorCode
    xmlns="http://www.microsoft.com/sql/reportingservices">rsItemNotFound</ErrorCode><HttpStatus
    xmlns="http://www.microsoft.com/sql/reportingservices">400</HttpStatus><Message
    xmlns="http://www.microsoft.com/sql/reportingservices">The item '/Data
    Warehouse Main' cannot be found.</Message><HelpLink
    xmlns="http://www.microsoft.com/sql/reportingservices">http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsItemNotFound&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.2100.60</HelpLink><ProductName
    xmlns="http://www.microsoft.com/sql/reportingservices">Microsoft SQL Server
    Reporting Services</ProductName><ProductVersion
    xmlns="http://www.microsoft.com/sql/reportingservices">11.0.2100.60</ProductVersion><ProductLocaleId
    xmlns="http://www.microsoft.com/sql/reportingservices">127</ProductLocaleId><OperatingSystem
    xmlns="http://www.microsoft.com/sql/reportingservices">OsIndependent</OperatingSystem><CountryLocaleId
    xmlns="http://www.microsoft.com/sql/reportingservices">1033</CountryLocaleId><MoreInformation
    xmlns="http://www.microsoft.com/sql/reportingservices"><Source>ReportingServicesLibrary</Source><Message
    msrs:ErrorCode="rsItemNotFound"
    msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsItemNotFound&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.2100.60"
    xmlns:msrs="http://www.microsoft.com/sql/reportingservices">The item '/Data
    Warehouse Main' cannot be
    found.</Message></MoreInformation><Warnings
    xmlns="http://www.microsoft.com/sql/reportingservices" />

    Hi,
    Generally these errors are caused by improper SQL SRS configuration, to confirm SRS is initialized correctly, are you able to navigate to http://localhost/reports or http://localhost/reportserver?
    Are you upgraded to SP1 RC yet and have you the latest versions of the MP' as a lot of these reporting issues have been resolved?
    Also re-check all your SRS accounts have the relevant permissions and all permissions in IIS are correct?
    You could try resetting the SRS configuration and re-install Reporting.
    1. COPY the ResetSRS.exe file in SupportTools folder of the OM 2007 media to
    C:.
    2. Open a Command Prompt and change your path to C:.
    3. Type "ResetSRS.exe  MSSQLSERVER" where MSSQLSERVER is your SQL instance
    name.
    4. Then open Reporting Services Configuration Console, select Web Service
    Identity and click Apply.
    5. Finally, reinstall your reporting service by running OMSetup.exe again.
    In addition, please provice the event ID under event vierwers, so that we could analyze it further.
    http://social.technet.microsoft.com/Forums/systemcenter/en-US/0a66dfa4-a39c-44c4-93cf-ca064d6bc52c/scom-reporting-error-rsitemnotfound-?forum=operationsmanagerreporting
    Hope this helps.
    Regards,
    Yan Li
    Regards, Yan Li

  • HT1222 Hey, I've tried to install the new iOS 7.1 but it says that the installation cannot be completed and doesn't say why. I have more than 50% battery left but it still doesn't work, help?

    Hey, I've tried to install the new iOS 7.1 but it says that the installation cannot be completed and doesn't say why. I have more than 50% battery left but it still doesn't work, help?

    It probably means you don't have enough available storage on your phone.  It takes space to store the download - THEN unpack it.  Best method is to use a computer with iTunes (This allows you to back up on your computer as well). 
    PLEASE:  Do not purchase iCloud storage space - this will not give you more room for the iOS 7.1 installation.

  • Link to detail Report doesn't work.

    Hi, we are using Webi for On Demand reports (against Salesforce universe) and the hyperlinks to details reports are not working.
    my URL in master report looks like this:
    ="<a href=https://na.crystalreports.com/opendoc/openDocument.do?iDocID=48877773&sType=wid&sWindow=New&lsMFocusBook="[Focus Book]"&lsMSegment="[Segment]"&lsMAccount="[Account Name]">"[Segment]"</a>"
    and UR in detail report appears as:
    https://na.crystalreports.com/opendoc/documentXML.jsp?cmdP1=untitled488777731wid*&token=&cmd=askPromptView&cmdBlock=all&cmdP2=lsMSegment%3D%255BSegment%255D%26sWindow%3DNew%26useCustomPrompts%3DY
    Some how details report doesn't recognise the propmpt values and always asks to fill prompts.
    can some one advise?
    Thanks

    Hello,
    The openDocument.do url was really only designed for use with Crystal Reports documents.
    It is not officially supported for webi documents, or any of the other document types.
    That being said, it sounds like opening webi docs with openDocument.do does work, it is just the parameter passing that is problematic.
    Cheers
    Steve

  • Web fault reporting doesn't work

    My phone line was tested and it came back as working but it isn't. I have removed all extensions and tested with 2 different phones at the master socket and a fault still occurs. The line works after a fashion but doesn't ring properly and also sometimes loses the incoming phone number information. Broadband is ok.
    But the BT web site won't allow me to report it because the line was tested as ok but I know it isn't. This is a failure of customer service.
    Also this link doesn't work (I am using Mozilla Firefox not Internet Explorer but this shouldn't make a difference)
    https://www.bt.com/consumerFaultTracking/public/faults/reporting.do?pageId=21&s_cid=con_FURL_faults
    So I can't use the web site to report the fault and I had to call an 0800 number with a mobile.
    Not good.

    The website is working fine from your link posted also you can call BT from this number From a mobile: 0330 123 4151 the charge for this call will come from you mobile calling plan
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’

  • Scale of the graphic in interactive report doesn't work in french

    Dear all,
    I created a calculation column in an interactive report an put the format 9999999D99. When I displayed the information everything is ok.
    After that I tried to create a graphic with this column.
    The graphic is the type line
    The value is this new column
    The function is SUM
    order by label ascending
    The graphic show the good information, when I click on the dot the right number is displayed (19459,10). But if I look on the scale on the left the numbers are not good, we see 25,00000 instead of 25000,00.
    The application use the navigator information the first language use is french. If I use english the numbers are ok.
    What I need to do to use french and have the right decimal ?
    Thanks for your help
    Eric

    Hi Pranay and Mohd,
    here is the screenshot:
    If I logon as Admin user (or I grant user Admin rights), it looks like this:
    So the prompt is visible but is empty. I changed privileges in CMC / Applications / Web Intelligence, so normal user has same right as Admin, but it still doesn't work. I also tried change user security in Connections and Universes, but none of them work.
    Please, do you have any idea what i miss?
    Thank you

  • HELP! Uploading AS3 Game to server, no sound and Spacebar doesn´t work HELP!

    Hello, relatively new to AS3 and flash, this is the first time i am publishing anything. We are trying to upload our simple flashgame to our webserver, the game works perfectly fine locally save for one thing. We get an error regarding TLF which says it wont stream or something. So when it gets online, no sounds play and spacebar doesn't work, left and right arrow does work. We have three TLF text fields that are used to update score, lives and show you final score. If i turn these into classical text they stop working.
    Things we have tried: Changing default linkage from RLS to Merged into code, changing the text boxes to classical text(they then stop working), made sure the paths are correct(all files are in the same directory including the .swz file)
    This is the code from the soundclass:
    package 
        import flash.net.URLRequest;
        import flash.media.Sound;
        import flash.media.SoundChannel;
        import flash.events.*;
        public class MySound
            private var bgSound:Sound;
            private var fireSound:Sound;
            private var waterSound:Sound;
            private var earthSound:Sound;
            private var lightSound:Sound;
            private var soundChannel:SoundChannel;
            public function MySound()
                soundChannel = new SoundChannel();
                bgSound = new Sound();
                var req:URLRequest = new URLRequest("BackgroundSound.mp3");
                bgSound.load(req);
                //fire
                fireSound = new Sound();
                var req2:URLRequest = new URLRequest("soundFire.mp3");
                fireSound.load(req2);
                // water
                waterSound = new Sound();
                var req3:URLRequest = new URLRequest("soundWater.mp3");
                waterSound.load(req3);
                // earth
                earthSound = new Sound();
                var req4:URLRequest = new URLRequest("soundEarth.mp3");
                earthSound.load(req4);
                // light
                lightSound = new Sound();
                var req5:URLRequest = new URLRequest("soundLight.mp3");
                lightSound.load(req5);
            public function playBgSound()
                soundChannel = bgSound.play(0, 999999);
            public function stopBgSound()
                soundChannel.stop();
            public function playFireSound()
                fireSound.play();
            public function playWaterSound()
                waterSound.play();
            public function playEarthSound()
                earthSound.play();
            public function playLightSound()
                lightSound.play();
    I can somewhat get that sound can bugg out, but why does spacebar stop functioning? ANy help is greatly appreciated as this has to be delivered in twelve hours(published online) for a school assignment.

    Also might add publishing it locally in my own browser everything works, as does ofcourse playing it in flash itself. Changing from RLS to merged into code stops the error from coming, but doesn´t fix the problem on the server.
    Code from main class related to sound and spacebar:
    import flash.display.*;
        import flash.events.*;
        import flash.ui.Keyboard;
        import flash.text.TextField;
        import flash.media.Sound;
        import flash.net.URLRequest;
        import flash.events.MouseEvent;
        import flash.utils.Timer;
        import flash.events.TimerEvent;
        public class main extends MovieClip
            private var fireTimer:Timer; //delay between shots
            private var canFire:Boolean = true;
            private var mySound:MySound;
            private var bulletSpeed:Number = -450;
              public function main()
                //load sounds
                mySound = new MySound();
            private function playGame(event:MouseEvent)
                gotoAndStop(2);
                // initialize
                myLives = 5;
                myHitsNo = 0;
                weaponType = 1;
                mybullets = new Array();
                enemys = new Array();       
                myScoreTxt.text = "Score: " + myHitsNo;
                myLivesTxt.text = "Lives: " + myLives;   
                fireTimer = new Timer(400, 1);
                fireTimer.addEventListener(TimerEvent.TIMER, shootTimerHandler, false, 0, true);
                stage.addEventListener(KeyboardEvent.KEY_DOWN, listenKeyDown);
                stage.addEventListener(Event.ENTER_FRAME, addEnemy);
                stage.addEventListener(Event.ENTER_FRAME, checkCollision);   
                player = new thePlayer(stage.stageWidth-40, spawnPoint2);// stage.stageHeight/2);
                stage.focus = player;
                addChild(player);
                mySound.playBgSound();
    public function listenKeyDown(event:KeyboardEvent)  // Controls and weapontype selector
                if (event.keyCode == 37) //left
                    player.movethePlayerDown();
                if (event.keyCode == 39) //right
                    player.movethePlayerUp();
    if (event.keyCode == Keyboard.SPACE) //space
                    shootBullet();
                    //soundFX.attachSound("Pistol Fire.wav");
                    //soundFX.start();

  • Interactive Reports - group by in SQL - download reports doesn't work

    Hi,
    I have the following SQL as the region source of an interactive report.
    select SERVICELEVEL, SUM(CONTRACTVALUE), SUM(DOLLARVALUE), count(SERVICELEVEL) from "ACSPROD"."CONTRACT" where CONTRACTSTATUS='Active' group by SERVICELEVEL
    The report shows exactly as expected. I have also integrated BI Publisher 10.1.3.4.1 with APEX 3.2.0.00.27
    Problem 1
    The report download doesn't work for any of the formats (CVS/XLS/PDF/RTF). When I rewrite the SQL without the group by clause (not the wanted results), then the report downloads work.
    What am I doing wrong?
    Problem 2
    Irrespective of the above issue - when I add a sum aggregate and download the report (any format) - it doesn't show the summed value.
    What am I doing wrong?
    Please advise!
    Cheers
    Mynhardt

    Hi Pratadamski ,
    I could reproduce this issue at my end. This is a bug. So, I have filed on your behalf (6432429).
    When i use tables ( not views) directly in my SQL and use column alias for computed column, it does work fine!
    i.e., this query is good with databinding at designtime and runtime:
    SELECT ALL trip.PersonID,
                        COUNT(*) AS Num_Trips
    FROM trip
    GROUP BY trip.PersonIDThanks & Appreciate your feedback,
    Sakthi

  • UCCX 8.0(2) SU4 - Schedule future report doesn´t work

    Hi Guys,
    I and my Customer are trying to do schedule future report and doesn´t work. We setting the time feature and another features correctly. Any have idea about this?
    Thanks,
    Wilson                  

    Hi Wilson,
    You can find the information regarding the scheduling of HR reports in the HR user gude. It is similar for 8.0 as well:
    http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/crs/express_8_5/user/guide/uccx85hrug.pdf
    What is the OS on which HRC is installed? ALso please ensure that the Scheduler is running on the system tray. If not then manually run the scheduler. If it still fails, then please collect the Scheduler and the HRC logs.
    Regards,
    Arundeep

  • Stuck on apple logo and Home button doesn't work, help please?

    Well, I dropped my iPod Touch 4g by accident and since that day, the home button hasn't really been working that well. Its very hard to use since you have to press it in really hard to get it to work and sometimes it doesn't even work at all. Anways, I was skyping with my girl and I didn't notice that I had to charge the iPod and it died on me so I was like what ever its normal and started to charge it. When it turned on, it got stuck on the Apple logo and its been there for more than a day now? What can I do? I know about the Press Home + Sleep button together but the Home button doesn't work at all anymore. I tried everything really. I tried to connect it to itunes and see if I could restore it but it won't recognize it no matter where I connect it. Tried it on 3 different computers and none worked at all.  I can't take it to an Apple store since there isn't any close to where I live and I really don't have anyone to take me there. So is there any other solution to fix my problem at home? or is it messed up completely? Someone please help me

    I have this same issue. But also, it isn't just that the lock/home button stops working, all buttons stop working. Even if you switch it to silent sounds are still played. I just got my iphone Thursday. Went to school the next day and pulled it out, it happened while it was locked I guess because my screen was black and I couldn't do anything! Thought it died already! This was around 12. Finally I pulled it out of my pocket again at around 3 and it showed the Apple logo and acted like it had just started back up. Which is what always happens after I get stuck playing a game or something. Help please, has happened two or three times just today.

  • Upload file jsp code doesn't work? How can I debug

    Hi Everyone,
    I have the following jsp code that simply adds a new product to the backend database when 'Continue' button is pressed.
    if( "Continue".equals(fp.getParameter("Submit")) ) {
         fp.setParameters(prodForm);
         prodForm.setCreateBy(currentUser.getUserID());
         prodForm.save();
         String filename = fp.getFilename("file");
              if( filename != null ) {
              // a file was uploaded
              // set the path to save it
              fp.setFilePath(PHYSICAL_PATH + "uploads\\");
              // we will change the filename to make sure it is unique
              // need to keep the file type
              String fileType = "";
              try { fileType = filename.substring( filename.lastIndexOf(".") ).toLowerCase(); }
              catch( Exception e ) { fileType = ""; }
              fp.saveFile("file", "POS_" + prodForm.getProductID() + fileType);
              prodForm.setSketch("POS_" + prodForm.getProductID() + fileType);
              prodForm.save();
         db.close();
         response.sendRedirect("index.jsp");
         return;
    }The code works fine but the upload doesn't work. This is the upload part of the above code:
    String filename = fp.getFilename("file");
              if( filename != null ) {
              // a file was uploaded
              // set the path to save it
              fp.setFilePath(PHYSICAL_PATH + "uploads\\");
              // we will change the filename to make sure it is unique
              // need to keep the file type
              String fileType = "";
              try { fileType = filename.substring( filename.lastIndexOf(".") ).toLowerCase(); }
              catch( Exception e ) { fileType = ""; }
              fp.saveFile("file", "POS_" + prodForm.getProductID() + fileType);
              prodForm.setSketch("POS_" + prodForm.getProductID() + fileType);
              prodForm.save();
         db.close();
         response.sendRedirect("index.jsp");So if the file browser, <input type="file" name="file">, has a file, then it saves the file in the upload folder and saves the filename in the database. But it doesn't work, it doesn't save the file in the upload folder nor it saves the filename in the database. I am new to java and jsp so could you tell me what error checking or deguging I can do in jsp to spot the problem.
    Thanks,
    Zub

    where u write the code to upload the file
    to server end?

  • jsp:setProperty doesn't work with short properties

    Hi,
              Setting bean properties doesn't work with properties that are of type short.
              Any ideas what's going on? I'm using WLS 6.1SP1 on W2K.
              --John
              <jsp:useBean id="test" scope="session" class="test.Test" />
              <jsp:setProperty name="test" property="*" />
              -- Test.java
              package test;
              * @author john
              public class Test {
              /** Creates new Test */
              public Test() {
              public short getShort() {
              return 0;
              public void setShort(short val) {
              Produces the following error while attempting to compile the jsp:
              Compilation of
              'C:\bea\wlserver6.1\config\cleanoffer\applications\.wlnotdelete\WEB-INF\_tmp
              warCleanOffer Server_CleanOffer Server_test\jsp_servlet\__test.java'
              failed:
              C:\bea\wlserver6.1\config\cleanoffer\applications\.wlnotdelete\WEB-INF\_tmp_
              war_CleanOffer Server_CleanOffer Server_test\jsp_servlet\__test.java:104:
              setShort(short) in test.Test cannot be applied to ()
              probably occurred due to an error in /test.jsp line 7:
              <jsp:setProperty name="test" property="*" />
              C:\bea\wlserver6.1\config\cleanoffer\applications\.wlnotdelete\WEB-INF\_tmp_
              war_CleanOffer Server_CleanOffer Server_test\jsp_servlet\__test.java uses or
              overrides a deprecated API.
              Full compiler error(s):
              C:\bea\wlserver6.1\config\cleanoffer\applications\.wlnotdelete\WEB-INF\_tmp_
              war_CleanOffer Server_CleanOffer Server_test\jsp_servlet\__test.java:104:
              setShort(short) in test.Test cannot be applied to (<null>)
              test.setShort(null); //[ /test.jsp; Line: 7]
              ^
              Note:
              C:\bea\wlserver6.1\config\cleanoffer\applications\.wlnotdelete\WEB-INF\_tmp_
              war_CleanOffer Server_CleanOffer Server_test\jsp_servlet\__test.java uses or
              overrides a deprecated API.
              Note: Recompile with -deprecation for details.
              1 error
              Fri Nov 09 00:24:58 PST 2001
              [test.war]
              

    It looks like a bug in JSP generator. If you look and the .java
              created by 6.1 it doesn't make any sence:
              String _propertyValue = request.getParameter("short");
              if (_propertyValue != null && !_propertyValue.equals(""))
              test.setShort(null);
              (needless to say that this works correctly in Resin).
              John Hampton <[email protected]> wrote:
              > Thanks for reply,
              > Changing getShort and setShort to getId and setId makes no difference. I
              > still get the error described below:
              > C:\bea\wlserver6.1\config\cleanoffer\applications\.wlnotdelete\WEB-INF\_tmp_
              > war_CleanOffer Server_CleanOffer Server_test\jsp_servlet\__test.java:104:
              > setId(short) in test.Test cannot be applied to (<null>)
              > test.setId(null); //[ /test.jsp; Line: 7]
              > John
              > "Jignesh" <[email protected]> wrote in message
              > news:[email protected]...
              >>
              >> hi,
              >> i think you have not given the property name properly.
              >> give some other name than short becuase short is the keyword (data-type)in
              > java.
              >> bye,
              >> Jignesh
              >>
              >>
              >> "John Hampton" <[email protected]> wrote:
              >> >Hi,
              >> >
              >> >Setting bean properties doesn't work with properties that are of type
              >> >short.
              >> >Any ideas what's going on? I'm using WLS 6.1SP1 on W2K.
              >> >
              >> >--John
              >> >
              >> ><jsp:useBean id="test" scope="session" class="test.Test" />
              >> ><jsp:setProperty name="test" property="*" />
              >> >
              >> >-- Test.java
              >> >package test;
              >> >
              >> >/**
              >> > *
              >> > * @author john
              >> > */
              >> >public class Test {
              >> >
              >> > /** Creates new Test */
              >> > public Test() {
              >> > }
              >> >
              >> > public short getShort() {
              >> > return 0;
              >> > }
              >> >
              >> > public void setShort(short val) {
              >> > }
              >> >}
              >> >
              >> >Produces the following error while attempting to compile the jsp:
              >> >
              >> >Compilation of
              >>
              >>'C:\bea\wlserver6.1\config\cleanoffer\applications\.wlnotdelete\WEB-INF\_tm
              > p
              >> >warCleanOffer Server_CleanOffer Server_test\jsp_servlet\__test.java'
              >> >failed:
              >>
              >>---------------------------------------------------------------------------
              > -
              >> >----
              >>
              >>C:\bea\wlserver6.1\config\cleanoffer\applications\.wlnotdelete\WEB-INF\_tmp
              > _
              >> >war_CleanOffer Server_CleanOffer Server_test\jsp_servlet\__test.java:104:
              >> >setShort(short) in test.Test cannot be applied to ()
              >> >probably occurred due to an error in /test.jsp line 7:
              >> ><jsp:setProperty name="test" property="*" />
              >> >
              >>
              >>C:\bea\wlserver6.1\config\cleanoffer\applications\.wlnotdelete\WEB-INF\_tmp
              > _
              >> >war_CleanOffer Server_CleanOffer Server_test\jsp_servlet\__test.java
              >> >uses or
              >> >overrides a deprecated API.
              >> >
              >>
              >>---------------------------------------------------------------------------
              > -
              >> >----
              >> >Full compiler error(s):
              >>
              >>C:\bea\wlserver6.1\config\cleanoffer\applications\.wlnotdelete\WEB-INF\_tmp
              > _
              >> >war_CleanOffer Server_CleanOffer Server_test\jsp_servlet\__test.java:104:
              >> >setShort(short) in test.Test cannot be applied to (<null>)
              >> > test.setShort(null); //[ /test.jsp; Line: 7]
              >> > ^
              >> >Note:
              >>
              >>C:\bea\wlserver6.1\config\cleanoffer\applications\.wlnotdelete\WEB-INF\_tmp
              > _
              >> >war_CleanOffer Server_CleanOffer Server_test\jsp_servlet\__test.java
              >> >uses or
              >> >overrides a deprecated API.
              >> >Note: Recompile with -deprecation for details.
              >> >1 error
              >> >
              >> >
              >>
              >>---------------------------------------------------------------------------
              > -
              >> >----
              >> >Fri Nov 09 00:24:58 PST 2001
              >> >
              >> >
              >> >
              >> >
              >> >begin 666 test.war
              >> >M4$L#!!0`" `(`,@`:2L````````````````4``0`345402U)3D8O34%.249%
              >> >M4U0N34;^R@``X^4"`%!+!PBLA:(4! ````(```!02P,$% `(``@`R !I*P``
              >> >M``````````````\```!714(M24Y&+W=E8BYX;6RE4DMOVS ,/L^ _P/GTP9,
              >> >M4NH=M@YIBC3I@ )M&G3IAIX*1V9B!;)D6'0>WY2GDT6# /FD&1WX,4V]?+
              >> >M4L,<:Z>LN4HN>"L!--+FRDRODN?1=_8UN>[$4?L]8W$$)]^/QL"P&6LEX5Y)
              >> >M- YA8,G_Q5$<C0H$:0VA(0=V`E0H!Q.E$;(:P37C&4H"LKZ 9Y3BZ.<F%?A0
              >> >M\"$T)=M2\I'#BVV@S%9@+$'C?0_JN)18$2@31]*6E5:9D0@+1<7:::O!H>O3
              >> >M5:M-LCT,7B6;9TIGXQ"4XJ@@JKX)L5@LN&L,]Y)B-]UCK:;*9!IZ-E\S!T@W
              >> >MF!G'(93OC"+EJWV<H[85UCNO'2^.=L0P_H.2M74K1UBZ3YXL.0QM37X#SAM4
              >> >M*T\J""XN+[^PM-5J!4X<G2%UM8:GT.O@"1W6<\QY'#'6";'#2_8?>Z.7X2TL
              >> >M<,RRJMH\Z_#YYOZN!PD3XGP8(?JC/OS",70KOU29A620\E2(VT&R$4FVRYKY
              >> >M%>ZW-4L114ZY$UO#U_0UY1Y(UHG:6[2SD6@[=.'5F3^=B9IV#D>WKY JT3;4
              >> >M.;['SZTWK>)\[P$_4O<1M$^*+-P/T\J%_G='Z(F9,CDN^<Q5;SU/^O]!H*!2
              >> >M_[?"7P3^!'?3M<5A[;\!4$L'"/]33>'A`0``! 0``%!+`P04``@`" #(`&DK
              >> >M````````````````" ```'1E<W0N:G-P-4X[#L(P#-US"A.I"P/>D1LAQ,14
              >> >MB5X@M!84M4E4&XG>GJ:!R<_OIT?5*?D'0Q>#<M!V25Q;Y8_B4Z?15LY0!OFP
              >> >M[QWIH".[ZZV!9HT1EI]P4PW=8[\X8^@EZ?@6/K,/,/2Y4=2"=#'7"XL,,5CH
              >> >M1B]2Q$.[.="5K+ V\VJ>=8'@)_XW0/JQM=T7=W+F$@/O=H9PQ81E`F&9_050
              >> >M2P<(E)0WZYL```#@````4$L#!!0`" `(`,@`:2L````````````````?````
              >> >M5T5"+4E.1B]C;&%S<V5S+W1E<W0O5&5S="YC;&%S<TV/OT[#,!#&OTO2IDT+
              >> >M_4.I6-D*`C(@)A +$E,$0ZKN3K!:5R&1$K=/Q<*$Q, #\%"(LQ-%]7!W_MU]
              >> >MW]F_?]\_<'&-><#IQ,?,QRFA^Z!RI1\)[N)B1?">BC=)&$4JER^[]T262Y%D
              >> >M3*91D8IL)4IE[@WT]$95A$&D9:7#)8=[0F\M=;PI2FT]8P95"[Q%;+:X>Y$1
              >> >MB'M!7.S*5#XK8]<W#C=;L1=#>.@P:'T)8\/#3.3K\#79RE3C' [_Q!P79 0<
              >> >MNWR[Y4R<.Y=?H$\N'/@<`\[ F <GZ'$UK(?0YPZX'EAB#*X:`\?]:-5=2V8'
              >> >M2J=5'N&X4=Y9CL.UM?#,"N=ULQ&::L0/,LLF=G[Z#U!+!PA>>AD-#@$``*4!
              >> >M``!02P$"% `4``@`" #(`&DKK(6B% 0````"````% `$````````````````
              >> >M````345402U)3D8O34%.249%4U0N34;^R@``4$L!`A0`% `(``@`R !I*_]3
              >> >M3>'A`0``! 0```\`````````````````2@```%=%0BU)3D8O=V5B+GAM;%!+
              >> >M`0(4`!0`" `(`,@`:2N4E#?KFP```. ````(`````````````````&@"``!T
              >> >M97-T+FIS<%!+`0(4`!0`" `(`,@`:2M>>AD-#@$``*4!```?````````````
              >> >M`````#D#``!714(M24Y&+V-L87-S97,O=&5S="]497-T+F-L87-S4$L%!@``
              >> >0```$``0`!@$``)0$````````
              >> >`
              >> >end
              >> >
              >>
              Dimitri
              

  • Atan in jdk1.1.8 doesn't work. help

    I am creating a program which simulate the effect of gravity on a object (for a game). For this I am working with jdk1.1.8. (not by choice). But for some reason the movement of the object just turns around. I believed that de method Math.atan2 was wrong so i have rewritten it and it worked better. But the method atan most likely doesn't work either because it is not perfect yet. Does anyone know or have an implementation of de atan method in java that works so i can use it? Because I don't know how the method works.
    maybe i am wrong here but it is basicly the only solution to my problem. if give the code of the bullet class with it. maybe anyone sees the problem there:
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    public class Bullet extends Thread
         public static boolean running = false;
         private double x, y;
         private double width=10, height=10;
         private double weight=10;
         private double travelAngle = toRadians(45);
         private double speed=5;
         private Attraction hello;
         private Planet[] planets;
         private int planetCount=0;
         Bullet(Attraction hello, int x, int y, int angle, Planet[] planets)
              this.hello = hello;
              this.x = x;
              this.y = y;
              this.travelAngle = toRadians(angle);
              this.planets = planets;
              this.planetCount = planets.length;
              running = true;
         public void run()
              double px=0, py=0, g=0;//comes from the planet
              //variable for the calculation
              Planet p = null;
              double dx=0, dy=0, dx2=0, dy2=0, fdx=0, fdy=0, totalfdx=0, totalfdy=0;
              double forceAngle=0;
              double d=0, gd=0, force=0;
              double oldx = 0;
              double oldy = 0;
              int drawSteps = 0; //for smooth drawing
              double dxSteps=0, dySteps=0;
              double oldspeed = speed;
              while(running)
                   oldspeed = speed;
                   totalfdx=0;
                   totalfdy=0;
                   oldx = x;
                   oldy = y;
                   dx = Math.cos(travelAngle)*speed;//the normal translation for x without the gravity effect
                   dy = Math.sin(travelAngle)*speed;//the normal translation for y without the gravity effect
                   x+=dx;//new x from the normal translation
                   y+=dy;//new y from the normal translation
                   for(int i = 0; i<planetCount; i++)
                        p = planets;
                        px = p.getX();//x coordinate of the planet
                        py = p.getY();//y coordinate of the planet
                        g = p.getGravity();//gravity of the planet
                        dx2 = px - x; //the x-difference between the bullet and the planet
                        dy2 = py - y; //the y-difference between the bullet and the planet
                        //System.out.println(dx2 + " "+ dy2);
                        d = Math.sqrt(dx2*dx2+dy2*dy2); //the direct distance between the bullet and the planet
                        //System.out.println("distance " + d);
                        gd = g/d; //the effect of the gravity at the distance of the bullet
                        //System.out.println("gravitydistance" + gd);
                        force = gd*weight; //the forcepull on the object from the planet
                        forceAngle = atan2(dy2,dx2);//the angle of the force with the y-axis
                        //System.out.println("force " + force + " distance " + d);
                        fdx = force * Math.sin(forceAngle);//the force pull distance for x
                        fdy = force * Math.cos(forceAngle);//the force pull distance for y
                        //System.out.println(fdx + " " + fdy);
                        totalfdx += fdx;
                        totalfdy += fdy;
                   x = x+totalfdx;//new x
                   y = y+totalfdy;//new y
                   //System.out.println("Angle" + toDegrees(travelAngle));
                   travelAngle = atan2( (x-oldx), (y-oldy) );
                   speed = Math.sqrt((x-oldx)*(x-oldx) + (y-oldy)*(y-oldy));
                   if(oldx>x)
                        System.out.println("Turning point");
                   System.out.println(oldspeed + " " + speed);
                   //System.out.println("x=> " + x + " y=> " + y);
                   drawSteps = (int)(speed+1);
                   dxSteps = (x-oldx)/drawSteps;
                   dySteps = (y-oldy)/drawSteps;
                   x = oldx + dxSteps;
                   y = oldy + dySteps;
                   hello.repaint((int)x,(int)y, (int)width, (int)height);
                   for(int i = 0; i<drawSteps; i++)
                        x+=dxSteps;
                        y+=dySteps;
                        hello.repaint((int)(x-dxSteps), (int)(y-dySteps), (int)(width+width), (int)(height+height));
                        try
                             sleep(30);
                        catch(Exception e){}
                   hello.repaint((int)x,(int)y, (int)width, (int)height);
                   //hello.repaint();
                   try
                        sleep(100);
                   catch(Exception e){}
                   System.out.flush();
                   for(int i = 0; i<planetCount; i++)
                        p = planets[i];
                        if(p.contains(x,y))
                             System.out.println("Boom");
                             running = false;
              System.out.println("Bullet Stopped");
         public void draw(Graphics g)
         g.setColor(Color.cyan);
              g.fillRect((int)Math.round(x-width/2), (int)Math.round(y-height/2), (int)width, (int)height);
         public void move(boolean left, boolean right)
              if(left)
                   x--;
                   hello.repaint(x, y-2, width+5, height+5);
              if(right)
                   x++;
                   hello.repaint(x+1, y-2, width+5, height+5);
         public double toRadians(double angle)
              return (angle/180*Math.PI);
         private double toDegrees(double angle)
              return (angle/Math.PI*180);
         private double atan2(double a, double b)
              if(a>0)
                   if(b<0)
                        return (Math.atan(b/a)+(2*Math.PI));
                   return Math.atan(b/a);
              else if(a<0)
                   return (Math.atan(b/a)+Math.PI);
              else if(a==0 && b>0)
                   return ((Math.PI)/2);
              else if(a==0 && b<0)
                   return ((3*Math.PI)/2);
              else
                   return 0;

    I have allready tested my code to the max en I have redone the calculations about 4 times, because I couldn't believe the fault was in the method atan or atan2 from sun. But since my calculations should work in theorie (worked it out with a math teacher) it's the only options I could think of.
    [qoute]
    I haven't looked up in the API docs how atan2 is supposed to work, but I noticed these two lines in your code:
    forceAngle = atan2(dy2,dx2);//the angle of the force with the y-axis
    travelAngle = atan2( (x-oldx), (y-oldy) );
    In one place you use Y and X as the parameters and in the other case you use X and Y. They can't both be right.
    [qoute]
    In this case it is. because the forceangle is opposite the x-axis and thus the two must be reversed. (travelangle is opposite the y-axis).
    I have also tried to reverse them (for both) but the effect got worse :)
    Thanks anyway.

  • Jsp:include doesn't work with Tomcat & IIS

    Hi, Guys,
    I installed IIS4.0 and Tomcat in my windows NT system. http://localhost/examples/jsp/index.html works fine.
    When I load http://localhost:8080/about.jsp, it's also working fine. But when I load http://localhost/about.jsp, it will ignore the part which the line is display as
    <%String topName = "/servlet/topServlet";%>
    <jsp:include page="<%=topName%>" flush="true"/>
    The other part will work just as a html file. And I didn't get any error message.
    Would can tell me how to figure out this problem. Thank in advanced very much!

    Oh, God, why not tell me earlier!!!!!! I do use tomcat 3.1 and it just support servlet. I have no way out but modify all my jsp:include to encoding into a servlet page. I almost re-do all my work. But anyway, thank you! Next time I will know.

  • After updating to ios 7, my data doesn't work, help?

    After I updated it, my data doesn't work. Notifciations would pop up, but I cannot view it. My imesasge still works though.

    I also tried to restore my phone & reset my network... it doesn't work...

Maybe you are looking for

  • My T-Mobile Mobile Web not working on MacBookPro

    Yodels. I have a new T-Mobile Rocket 3.0 4G webstick and it will not work on my 13" MacBookPro running Snow Leopard 10.6.8 When I start the software up, it seems to stall, run, stall, run, and then I have to force quit. When I go to Preferences, it s

  • PM:Task list Component addition

    Hello Guys, We are facing below issue. 1. In task list component screen, if we add a component via Direct entry, system create Standard BOM. 2. If we add the component via component selection from BOM, it creates the material BOM. The second method i

  • How do you unlock a iphone 4s

    how do u unlock the iphone 4s

  • Web crashing at startup

    running osX server 10.4.10 on an old quicksilver, having it working for a while but suddenly the web service wont start anyone it gives at crash when im trying to start it it gives an error and tells me to check the crashlogs. i found this, i dont kn

  • Admin_Client

    I'm trying to deploy Systinet Platform and Policy to OAS 10.1.3.4. I've created a shared library with Xerces. It is failing with NullPointerException around org.apache.xerces.jaxp.DocumentBuilderFactoryImpl. I tried then to move it to a command line