SSRS null values, correct on excel

Dear All, 
I have a problem. i have a sales measure that should return amount values (Currency). I am applying a unit conversion in SSAS. 
The problem is that The sales Amount measure is returning correct figures in Excel, but it gives null values in SSRS reports and especially when the cube is processing.
Any idea what would be the problem ?
Thanks in advance

Hi Jorjer,
According to your description, you created a SQL Server Reporting Services report connect to SSAS database as the data source, now the problem is that when you process the cube, you get the null value on the report, right?
I have tested it on my local environment, we cannot reproduce this issue. In your scenario, can you get correct data in the dataset query designer when processing the cube? I'd suggest you enable SQL Server profiler to monitor the queries fired by your
dataset, and then check which part of the query is incorrect.
Besides, you can use a SSIS package to process the SSAS database at midnight, so that it will not affect users to view SSRS report, please refer to the link below to see the details.
http://www.mssqltips.com/sqlservertip/2994/configuring-the-analysis-services-processing-task-in-sql-server-2012-integration-services/
Regards,
Charlie Liao
TechNet Community Support

Similar Messages

  • Null Values from a Data Source

    This is more of an implementation question than a
    troubleshooting question. Also, since I've been unable to find any
    documentation on this I was wondering if anyone has come across
    this behavior or found a bug with it.
    Yesterday I was working on an application to explore some
    proof of concept aspects of Flex for an application I'm developing.
    I started running into a problem with Flex Data Services throwing
    back an 'Unknown Property: "clientaddress1"' error whenever I tried
    to update data. It seemed that whenever I tried to update a record
    in the database it would thrown the Unknown Property error. I spent
    a good chunk of the day trying to figure out what was causing this
    and finally gave up and called it a day.
    This morning I was reassessing what the problem was and
    trying to find the differences between my database and my code and
    I stumbled upon the fact that I could add no records and modify
    them without a problem, however if I tried to access an existing
    record and update it I'd get the Unknown Property error.
    I start analyzing the database and found that I'd configured
    the database to use null values for empty values and the records
    that I created with the database had null values, however, any of
    the values inserted from Flex were inserted as blank values. As
    matching my action script class as clientaddress1 = ""; So, upon
    further testing I fould that Flex was not processing the null
    values correctly, so that when it came back and rightly generated a
    Conflict Error...and then called AcceptServer() it was unable to
    find the clientaddress1 property of the class.
    Also, if any of the properties in the database are null it
    throws the same error. Basically it seems to have invalidated the
    object just because one value was null. So if all of my values from
    the DB are set to something and only one field is set to null it's
    still throwing the error on the first alphabetical item of the
    properties.
    I can resolve the problem by not using null values in the
    database, but...what sort of effect would this have on someone
    working with a large legacy database that extensively uses nulls
    for undefined values?
    Also, if a Flex guru could explain the reasoning for this
    happening I would greatly appreciate it!
    Best regards,
    Chris Maloney

    I realize that I didn't clarify that I am using ColdFusion
    for getting the data. This class was generated by the Create CFC
    wizard in Flex Builder.
    package com.generated
    [Managed]
    [RemoteClass(alias="components.generated.clients.Clients")]
    public class Clients
    public var clientid:Number = 0;
    public var clientfirstname:String = "";
    public var clientlastname:String = "";
    public var clientaddress1:String = "";
    public var clientaddress2:String = "";
    public var clientcity:String = "";
    public var clientstate:String = "";
    public var clientzip:String = "";
    public var clientphone:String = "";
    public var clientemail:String = "";
    public function Clients()
    }

  • How do I set a NULL value for the parameter field

    Hi
    I've another question. I'm going to set single values for parameter fields.
    // e.g. set today for StartDate parameter field
    fc.setCurrentValue("", "StartDate", new Date());
    It should be possible to set a NULL value for date parameter fields.
    fc.setCurrentValue("", "StartDate", (Date)null);
    But this do not work. How do I set a NULL value correctly?
    Thank you in advance.
    Best regards,
    Thomas

    First question - is it a stored procedure parameter?
    You can't set a regular parameter field value to a null value.
    There was an issue with old version of the JRC, where it was allowing null to go through, but had unexpected behavior at times.
    Sincerely,
    Ted Ueda

  • How to show NULL value when import data into excel

    when retrieve data from sql server and import these data into excel.
    data source  is like : select a ,b c from tab
    if a,b,c is nullable. when import these NULL value into excel, it becomes blank value, there is nothing in the excel cell.
    if i don't want to use select isnull(a,'NULL') as a to convert the values.
    what's else can i do to make it? is there a way to prevent changing the NULL to blank ?
    or is there an easy solution to replace all the blank value to NULL in the excel ?

    help me ~

  • Column values shift towards left for null values when export to excel

    Post Author: pssuresh
    CA Forum: Exporting
    All,
    I have a strange problem when using crystal report 10 export through C# Code. Consider in a row there are 3 columns and i am exporting to excel. ex.Student_id,Student_name,Student_Section. If Student_name values are null, then student_section values get displayed under student_name. There is a column shift towards left when there are null values. If anybody has already faced this problem, please post ur answer.
    Note:  When i just export to excel directly from crystal report, it works fine. i face problem only when i export through .Net code. I guess it is the problem with some formatting through code. if any body has fix, let me know.
    Thanks,
    Suresh.P.S

    Post Author: pssuresh
    CA Forum: Exporting
    Thanks for your reply. Even i have done the same thing yesterday to solve that problem. But we have nearly 100 of reports and started migrating now. The best solution crystal reports suggest is this.
    http://support.businessobjects.com/library/kbase/articles/c2014430.asp
    Thanks,
    Suresh.P.S

  • 1.5.1: Excel import - Problem with NULL values in date fileds

    Hi,
    I'm trying to import Excel Data via CSV with the import into table feature of SQLDeveloper.
    Everything works fine, but if I select some of my date colums I get an error telling me that I have null or invalid values in a date column:
    Verifying if the Date columns have date formats
    FAILED
    Date columns SOA_CONTROLLING_NO, SOA_DATE_OF_CONTROLLING, PAYOUT_ME_2_SUM, PAYOUT_ME_1_SUM, PAYOUT_PLUS_SUM, PAYOUT_6_SUM, PAYOUT_5_SUM, PAYOUT_4_SUM, PAYOUT_3_SUM, PAYOUT_2_SUM, PAYOUT_1_SUM, CONTRACT_APPENDIX_SUM, CONTRACT_BASE_SUM, ME_CONVENANT_SUM, REF_SUM_NO_REPAY, SEL_CONVENANT_SUM, ME_REQ_SUM, REF_REQ_SUM_NO_REPAY, SEL_REQ_SUM,  have invalid or null date formats
    I tried:
    +20012121313,demo1,,+
    +20012121313,demo1,NULL,+
    +20012121313,demo1,to_date(NULL),+
    but none of them worked...
    How may I import those columns, where some of the rows contain NULL values?
    Same story using 1.5... ;-(
    Thank you!
    Best regards,
    Johann

    Look at the query Andy proposed:
    SELECT NULL LINK, start_date, NVL(sum_of_trans, 0) + 0.001 VALUE
      FROM (SELECT   TRUNC (startdate) start_date,
                     CASE
                        WHEN :p9_view_by = 1
                           THEN ROUND (DURATION / 60, 3)
                        ELSE 1
                     END sum_of_trans
                FROM TRANSACTION
               WHERE trans_id = x AND startdate BETWEEN y AND z
            GROUP BY TRUNC (startdate)) xDoes this query deliver anything?
    Denes Kubicek

  • How to pass NULL value in SSRS

    Hi All,
    I have a parameter called Division,Region and State.While loading these parameter I am replacing NULL value as "NO Division","NO Region" and "NO State".Note all parameters are multi valued.
    Now In my dataset query If I put the condition like (division=@Division or Division is null) and (region=@region or Region is null) and (state=@State
    or State is null).
    In this scenario if I want to exclude null values need only specific Division which is not allowing me to do that with above condition.If  I need all it works fine but not with specifice division,region and  sate.
    Any thought on this.
    thanks
    Chandan
    Thanks Chandan

    Thats because of or conditions
    As per your explanation since you replace NULL value as No division etc what you need to do is just this
    (division=@Division or @Division = 'All') and (region=@region or @Region = 'All') and (state=@State or @State = 'All').
    this will make sure it will bring all values including NULLs when you pass All and will only give you specific division/region etc records when you pass a specific value.
    To get NULL valued records alone you need to pass value as No Division,No region etc
    Also you should change dataset query for parameter combo to make prompt as No Division etc for NULL values so that it can be selected as an option inside multi valued combo box to see NULL valued records
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Null value for int and datetime date type in xml schema

    hi:
    I am embarrassed by a qustion in xml schema; i defined a xml schema file like
    this:
    <elementFormDefault="qualified" attributeFormDefault="qualified">
    <xs:element name="test">
    <xs:annotation>
    <xs:documentation>Comment describing your root element</xs:documentation>
    </xs:annotation>
    <xs:complexType>
    <xs:sequence>
    <xs:element name="name" type="xs:string"/>
    <xs:element name="password" type="xs:string" nillable="true"/>
    <xs:element name="user" type="xs:int" nillable="true"/>
    <xs:element name="s_time" type="xs:dateTime"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    and I send this file to workflow clientrequest() node, I wanted to receive data
    in this schema file.but when i send null value to the element "user" and "s_time"
    in workshop test tool(test soap),and use function in xmlbean like isNilUser or
    isNilStime, one error occur.
    I don't kown why, I had to ask the engineer of bea in china, one told me a bug.
    is that true?

    Visakh16 I cant agree more with you on it, it is good but in production u cant have them change maxrows. I think
    Patrick  Hurst is a better option. debug the package have it running and move up
    Please mark as helpful and propose as answer if you find this as correct!!! Thanks,Dia Agha .
    Hmm..Why do you need to change it in production?
    What I suggested was to tweak the setting in dev machine so that it interprets the Excel file datatypes correctly when doing development. Once mapping is set correctly then it will work fine when in production or in any other environment. The tweaking is
    just to make sure it interprets the datatype correctly at design time and has nothing to do with production deployment 
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Missing XML elements are no longer treated as NULL value (MDM 7.1 SP04)

    Hello,
    We have a problem with importing XML files with missing XML segments (and hence missing XML fields) in XML file.
    In MDM 7.1 SP03 (7.1.03.72), missing fields within a missing segment (so no tags at all for segment and fields) were still represented in the import manager as NULL value in the value mapping, making it possible to do value mapping and to import this NULL value into MDM (overwriting existing values in MDM).
    As of MDM 7.1 SP04 (we are running 7.1.04.126) the missing fields within an missing segment are no longer represented in the import manager as NULL value in value mapping!
    I don't know if that's a new 'feature' in SP04 but we are now running into following problem:
    - We are importing customer data from ECC into MDM, where some segments are optional
    - The fields within the (optional) segment are mapped to a multi-valued tuple field
    - When we now import a customer that has values for the optional segment, the tuple field gets filled correctly
    - When the optional data is now removed completely from the customer in ECC, we don't get that segment anymore in the XML file (this is how the Idoc works on ECC side, if all entries from the optionel segment are deleted then the complete segment is missing in the XML file)
    - In SP03 we replaced the existing tuple records with the NULL value (leaving 1 empty tuple record, but this is known issue to SAP, so we've accepted this for the moment)
    - In SP04 we cannot replace the existing tuple records anymore, since when complete segment is missing, the fields within that segment gets no value at all (in source values). So we are not able to replace the existing tuple records with NULL/nothing, leaving the 'old' tuple values in MDM!
    Does anyone have solution for this (that also works with SP04)?
    We already tried to replace the complete record in MDM (instead of updating it, this is possible since we always get the latest (and complete) status of a customer), but we are also mapping the remote key, and hence you are not allowed to replace the record during import!
    Other solution could be to have PI add any missing segment into the XML message, but we first want to make sure that this cannot be handled within MDM Import Manager itself.
    Thanks in advance,
    Marcel Herber
    Edited by: P.H.M. Herber on Apr 27, 2010 3:46 PM

    Hi Marcel,
    I haven't tried it with XML file but i hope it may help you.
    long back i need to send one field with value null if it doesn't come in source file and if it comes then original value.
    What i did, i loaded a file which does not have this field, so in MDM Import Manager, under source hierarchy i created a field say ABC and map this field with target field and its value Null with Null, i also save this property in map using configuration options-->Automap fields when loading map = Yes
    So whenever a file come with missing field ABC, automatically this field get created and mapped with target field and its value Null with target Null.  on the other hand, If this field actually comes in Source File(Delimited, Excel) ABC then this field with its original value gets map with target field value. That time it worked fine.
    Just try and revert with result if it helps..
    Else, using PI is the best option to create that missing segment into the XML message.
    Regards,
    Mandeep Saini

  • Geting null values from request

    hi!
    i m producing this code through out.println() method in my page and then using java script
    i am submiting this page to another page
    <td width="56%"><textarea name="question_no_1"></textarea></td>
    <input name="question_no_1_radio1" type="radio" value="radio"></td>
    <td width="59%"> <textarea name="question_no_1_ans1"></textarea></td>
    <input type="radio" name="question_no_1_radio2" value="radio"></td>
    <td><textarea name="question_no_1_ans2"></textarea></td>
    <input type="radio" name="question_no_1_radio3" value="radio"></td>
    <td><textarea name="question_no_1_ans3"></textarea></td>
    <input name="question_no_1_radio4" type="radio" value="radio"></td>
    <td><textarea name="question_no_1_ans4"></textarea></td>
    but when i submit it to the other page and try to retrieve value of parameter "question_no_1"
    through the bellow statement it shows a null value but i have given a value previously by
    typing a question in it
    System.out.println("the Body Of The First Question Is "+request.getParameter("question_no_1"));
    can anybody help me what is going on here.
    also if i try to normaly submit first page (ie <form="form1" method="post" action="other_jsp_page.jsp"> ) then the statement in the next page gives me the correct value but
    i have to submit the first paper through java script.
    if u want to see full detail of my code then go to the following link
    http://forum.java.sun.com/thread.jsp?thread=309254&forum=45&message=1237097
    thanx in advance

    OK, your problem is that you are not submmiting the values to the other page. When you do the
    --> document.forms[0].submit();
    in JavaScript, the form has to action defined
    --> <form name="form1" method="" action="">
    So, the page does nothing. The line following the submit just changes the location of the page, IT DOES NOT POST the values.
    One solutions is the following:
    1.- define an action for your form:
    <form name="form1" method="POST" action="'save_paper.jsp">
    2.- Then create a JavaScript function that validates the fields and simply return "true" if the form is correct, and false if there is a problem (just a little modification of the one you have).
    3.- Then modify your submit button:
    Instead of:
    <input type="button" name="Save" value="Save" onClick="validateField()">
    Try:
    <input type="SUBMIT" value="Save" onclick="validateField();">

  • About xml and null values in 10g

    Hi, I have an UCM GetFile webservice component wich receives 4 arguments, two of them are null values (rendition and extraPops), and the xml request generated by obpm is:
    <GetFileByName xmlns="http://www.stellent.com/GetFile/">
      <dDocName>V_123410</dDocName>
      <revisionSelectionMethod>latestReleased</revisionSelectionMethod>
      <rendition/>
      <extraProps/>
    </GetFileByName>The problem is: On UCM web service, an empty tag like <rendition/> is treated like a "empty string" value, instead of a null value, and then the response i get isn't the expected.
    What I want do to is change this behavior, and when I put null values in requests, the obpm should not write those tags. Is that possible?
    Should be like that:
    <GetFileByName xmlns="http://www.stellent.com/GetFile/">
      <dDocName>V_123410</dDocName>
      <revisionSelectionMethod>latestReleased</revisionSelectionMethod>
    </GetFileByName>Thanks!

    Hi,
    I have question regarding aggregates. It's possible to read data from BW aggregates? We have webi reports on a SAP BW multi cube and we would like to optimize retriving query.
    >> Because you are using the BW Query as the source all the items that you have done so far in terms of aggregation, indexing, ... is all valid and there are no specific steps required to leverage it with Web Intelligence. Make sure the aggregates are "correct" meansing that they do reflect what you are asking for in the Web Intelligence query panel
    How can we filter in webi query null (#) values. If we create condition that some variabe is diffrent from # we still get null (#) values in report.
    >> You should be able to create a variable. in case you tried that already could you be more specific ?
    thanks
    Ingo

  • Null value in OA shuttle bean

    Hi,
    Can a shuttle have a null value.
    ie the VO query attached to the shuttle returns null value.
    and whenever we attach that particular shuttle to the page,on clicking on any LOV it gives the error
    You are trying to access a page that is no longer active.The referring page may have come from a previous session. Please select Home to proceed.
    when I put a where clause to restrict the query (in this case it does not return any null value) I am not getting any error.
    Any thought as what could be the issue.Issue is resolved...but would like to know the reason.
    Thanks

    Thanks Reetesh.
    Actually, on page 1 itself the parameter value is null. After issueing a commit, the parameter has a correct value but without a commit, the parameter has a null value.
    We are on 11.5.10 / RUP7.
    Thanks,
    Naga

  • Null Value in List of Values

    Hi,
    I have done a search on the threads with null value in LOVs but it has not helped me understand the situation any better.
    currently i have two select lists on a form, customer and project.
    customers have many projects - and the only mandatory field on this form is customer - a project does NOT have to be selected - however, when the project is selected - i wish to validate the two items so that the selected project belongs to the selected customer.
    i have been able to do this to some degree using the validation by doing a select exists, however, when the project select list has no item set (is NULL) then the validation function fails.
    the validation function works fine when the project is not null. i basically want to force to to turn the %null% into actual null so i can use the is null function or something along those lines.
    i have tried writing a calculation that does the actual translaction after submit, however, i think i'm writing the code wrong
    can anyone lend a hand? or suggest some other alternatives?
    Many thanks!

    Hi Scott,
    Thanks for your reply
    I have tried to enter the item level validation as an exists query as follows :-
    select project_name from project where (:p2_project_id = '%null'||'%') OR (project_id = :p2_project_id AND customer_id = :p2_customer_id)
    :p2_project_id and :p2_customer_id are both select lists.
    it checks to see whether the :p2_project_id is null if it is, then no checking is necessary - otherwise, the project selected must have the correct customer selected.
    i can check that the project has a matching customer selected when project is not null, but when it is null i get the problem
    select project_name from project where (:p2_project_id = '%null'||'%') OR (project_id = :p2_project_id AND customer_id = :p2_customer_id): ORA-01722: invalid number
    any ideas?
    cheers
    leonard

  • NULL value in GeoRaster cells?

    Hi all,
    How to store a NULL value in GeoRaster cells ? For example i need to store raster data of NOAA image of continent of Australia, with null value for cells in the surrounding ocean.
    Given the cell depth is 8 BIT U, then the range will be 0 to 255. But i need to assign NULL instead of any value within the range, to ocean cells.
    I think the .setBlankCellValue does not help for this.
    I do not think Oracle GeoRaster does not recognize Null cell value. But i don't know how.
    The geoRaster documentation explain about SDO_GEOR.getNODATA, but how to set it ?
    Or do i have to make some kind of alpha layer for this purpose ?
    Please advise
    Thank you for reading and commenting,
    =Damon

    Jeffrey,
    >
    1. setup NODATA value(s) or NODATA value
    ranges. for this you can call:
    sdo_geor.addNODATA
    sdo_geor.getNODATA
    sdo_geor.deleteNODATA.
    this case, the NODATA value(s) must be in the range
    of the cellDepth. in your case with 8bit unsigned, it
    must be an non-negative integer in [0,255].
    your are talking about NOAA image, I would suggest
    you use 0 (zero) as NODATA for the ocean area. In
    general, the good image pixels would not be zero.The thing is i need to preserve the whole range of possible value of the cell depth meaningful. Probably best example as oppose to NOAA images, is image derived from raster algebra (eg. substraction).
    So i was considering the rest of your suggestion. Bitmap mask or alpha channel might help, BUT
    among
    sdo_geor.addNODATA
    sdo_geor.getNODATA
    sdo_geor.deleteNODATA
    sdo_geor.setBitmapMask
    sdo_geor.getBitmapMask
    sdo_geor.mergeLayers
    ALL are available in 11gR1 while only the sdo_geor.getNODATA that is available in 10gR2 (the one am using); correct me please. (this is based documents of both versions)
    Are you saying that 10gR2 is too obsolete for these, and that i shud upgrade to 11gR1 ?
    Please advise.
    ==================
    Other than general requirement for raster in geospatial, that raster should provide NODATA or null value; my specific aim is for (again) focal operation of geoRaster. For example :
    - an image of 512 rows x 1024 columns x 1 layer as input
    - processed by focal operation (or filtered) by 3 x 3 filter, result is the same size but cells in the row 0, row 511, column 0, and column 1023 ALL have NODATA value
    - similarly by 5x5 filter, row[0,1,510,511] and column[0,1,1022,1023] ALL have NODATA value
    hope this helps,
    JeffreyMany thanks and cheers
    =Damon

  • GetParameter() null value

    Hi all,
    We are having a problem using the request.getParameter(String) method. We are using the method to define an argument for a Java Webstart (jnlp mime type) file we are creating with jsp. Other arguments have been successfully created using the request.getServerName() and request.getRequestURI() methods. The getParameter() return value looks fine if printed back to HTML. The jsp file creating the jnlp file is called using an HREF created inside another jsp file as follows:
    <a href="xmlfetch.jsp?filename=mti.xml""></a>
    The param value for filename in each HREF is filled using an String array entry (i.e. +names).
    The xmlfetch.jsp file uses StringBuffers to capture/store the servername, uri and param data as follows:
    StringBuffer svrname = new StringBuffer();
    svrname.append(request.getServerName());
    StringBuffer requri = new StringBuffer();
    requri.append(request.getRequestURI());
    StringBuffer fname = new StringBuffer();
    fname.append(request.getParameter("filename"));
    All 3 variables look ok if dumped in html as follows:
    out.println("svrname=" +svrname);
    out.println("requri=" +requri);
    out.println("fname=" +fname);
    But only the param value is null when the variables are passed as arguments in the jnlp stream as follows:
    <argument><%=svrname.toString()%></argument>
    <argument><%=requri.toString()%></argument>
    <argument><%=fname.toString()%></argument>
    So the question is ... why do the parameter values evaluate to non null when dumped to html but become null when used as an argument for jnlp? AND what is the difference between the strings returned by the 3 request methods we are using as arguments (i.e. why do 2/3 work?).
    ANY HELP APPRECIATED:)
    Greg Hock
    Software Engr
    Northrop Grumman Corp.
    (321) 726-7758
    [email protected]

    I have tried the parameter specification both with and without quotes but either case results in null value for argument going into the Java Webstart (.jnlp) file that I create in the second jsp file (xmlfetch.jsp). What I don't understand is why the parameter looks correct when sent out.println() but is null when not printed and only used for the jnlp app argument. Both the other variables assigned using request.getXXX() methods are ok as arguments...only the parameters passed from the first jsp page (mtiquery.jsp) to the second jsp page (xmlfetch.jsp) become null when used as the jnlp argument.
    Anyone ... please help. :)
    Here is the code for the first jsp page. This page creates a table of filenames each of which has a href link to the second jsp page and passes it's filename as the parameter.
    <%@ page
    language="java"
    import="java.util.*,java.text.*,java.io.*,javax.swing.filechooser.FileFilter"
    %>
    <html>
    <title>MTIX MTI Query Tool</title>
    <body>
    <p>
    <center>
    <h1>JSP MTI QueryTest</h1><br>
    <jsp:include page="copyright.jsp" flush="true"/>
    <br>
    <%=(new java.util.Date())%>
    <%
    String startPath = "../webapps/ATServlets/data/mti";
    File myDir = new File(startPath);
    String myPath = myDir.getCanonicalPath();
    out.println("<br><br><br>Results of Query Path: <br>" myPath "<br><br>");
    String[] filelist = myDir.list();
    out.println("<br>");
    out.println("<center>");
    out.println("<table BORDER COLS=1 width=400>");
    String urlPath = null;
    String hrefPath = null;
    for (int i=0; i<filelist.length; i++)
    urlPath = new String("\"http://judy:8080/ATServlets/jsp/xmlfetch.jsp?filename="+filelist[i]+ "\"");
    hrefPath = new String("<a href=" urlPath ">");
    out.println("<tr><td><center>");
    out.println(hrefPath + filelist[i] + "</a>");
    out.println("</center></td></tr>");
    out.println("</table>");
    out.println("</center>");
    %>
    </center>
    </body>
    </html>
    This first page resulted in source as follows:
    NOTICE that the second jsp page is the HREF and I am using "filename" as the parameter key and the value is assigned (without quotes) to be the filelist entry.
    <html>
    <title>MTIX MTI Query Tool</title>
    <body>
    <p>
    <center>
    <h1>JSP MTI QueryTest</h1><br>
    <html>
    <head>
    <title></title>
    </head>
    <body>
    <p>(c) 1999,2000,2001 Northrop-Grumman All Rights Reserved </p>
    </body>
    </html>
    <br>
    Wed Aug 08 10:01:34 EDT 2001
    <br><br><br>Results of Query Path: <br>/opt/mtix/data/mti<br><br>
    <br>
    <center>
    <table BORDER COLS=1 width=400>
    <tr><td><center>
    MtiOutput.xml
    </center></td></tr>
    <tr><td><center>
    KoreaMTI.xml
    </center></td></tr>
    <tr><td><center>
    testMti.xml
    </center></td></tr>
    <tr><td><center>
    testMti2.xml
    </center></td></tr>
    <tr><td><center>
    testMti4.xml
    </center></td></tr>
    </table>
    </center>
    </center>
    </body>
    </html>
    OK Now here is the second jsp file (xmlfetch.jsp) that is fired up after the table selection. This file creates a stream to the Java Webstart plugin and tries to use the passed parameter as 1 of 3 arguments to the application (see last few lines). The variable fname is used to hold the contents of the getParameter() method.
    <%@ page
    contentType="application/x-java-jnlp-file"
    info="myjnlp"
    import="java.lang.*,java.text.*,java.io.*"
    %>
    <%
    StringBuffer fname = new StringBuffer();
    fname.append(request.getParameter("filename"));
    //fname.append("MtiOutput.xml");
    //out.println("the fname var = " +fname);
    StringBuffer cBase = new StringBuffer();
    cBase.append(!request.isSecure() ? "http://" : "https://");
    cBase.append(request.getServerName());
    if(request.getServerPort() != (request.isSecure() ? 80 : 443))
    cBase.append(':');
    cBase.append(request.getServerPort());
    StringBuffer httpref = new StringBuffer();
    httpref = cBase;
    httpref.append(request.getRequestURI());
    StringBuffer cBase2 = new StringBuffer();
    cBase2.append(!request.isSecure() ? "http://" : "https://");
    cBase2.append(request.getServerName());
    if(request.getServerPort() != (request.isSecure() ? 80 : 443))
    cBase2.append(':');
    cBase2.append("80");
    cBase2.append('/');
    cBase2.append("ATJava");
    cBase2.append('/');
    %>
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for downloading xml from servlet -->
    <jnlp
    spec="1.0"
    codebase="<%=cBase2.toString()%>"
    href="<%=httpref.toString()%>">
    <information>
    <title>Catalog Download Application</title>
    <vendor>Northrop Grumman, Inc.</vendor>
    <homepage href="ATJava.init/documents/index.html"/>
    <description>XML Catalog Download Application>
    <description kind="short">A demo.</description>
    <icon href="ATJava.init/images/tomcat.gif"/>
    <offline-allowed/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.2" initial-heap-size="16m" max-heap-size="512m"/>
    <jar href="ATJava.build/ATJava.jars/ATSignedRuntime.jar" download="eager"/>
    </resources>
    <resources>
    <j2se version="1.3" initial-heap-size="16m" max-heap-size="512m"/>
    <jar href="ATJava.build/ATJava.jars/ATSignedRuntime.jar" download="eager"/>
    </resources>
    <application-desc main-class="mtix.XMLFetch">
    <argument><%=fname.toString()%></argument>
    <argument><%=cBase2.toString()%></argument>
    <argument><%=httpref.toString()%></argument>
    </application-desc>
    </jnlp>
    Please HELP/COMMENT if you can.... Gregg

Maybe you are looking for