Facing problem while calculating the difference between the two dates?
Hi
I am using this code to calculate the difference between the two dates :
import java.util.Calendar;
import java.util.*;
public class DateDifferentExample
public static void main(String[] args)
// Creates two calendars instances
Calendar cal1 = Calendar.getInstance();
Calendar cal2 = Calendar.getInstance();
// Set the date for both of the calendar instance
cal1.set(2006, 12, 30);
cal2.set(2007, 05, 03);
// Get the represented date in milliseconds
long milis1 = cal1.getTimeInMillis(); // getting error here
long milis2 = cal2.getTimeInMillis(); // getting error here
// Calculate difference in milliseconds
long diff = milis2 - milis1;
// Calculate difference in seconds
long diffSeconds = diff / 1000;
// Calculate difference in minutes
long diffMinutes = diff / (60 * 1000);
// Calculate difference in hours
long diffHours = diff / (60 * 60 * 1000);
// Calculate difference in days
long diffDays = diff / (24 * 60 * 60 * 1000);
System.out.println("In milliseconds: " + diff + " milliseconds.");
System.out.println("In seconds: " + diffSeconds + " seconds.");
System.out.println("In minutes: " + diffMinutes + " minutes.");
System.out.println("In hours: " + diffHours + " hours.");
System.out.println("In days: " + diffDays + " days.");
but i am getting this error :
The method getTimeInMillis() from the type calendar is not visible
Please suggest!!
// Get the represented date in milliseconds
long milis1 = cal1.getTime().getTime(); // getting error here
long milis2 = cal2.getTime().getTime(); // getting error here Hope this works for you!!
Similar Messages
-
How to get the difference between these two dates
Hello Friends,
I need to get the difference between these two fields which store dates but with varchar2 data types
SELECT pac.segment1, pac.segment2 emp_no, pac.segment3 NAME,
pac.segment4 POSITION, pac.segment5 start_date, pac.segment6,
pac.segment7
FROM per_analysis_criteria pac, fnd_id_flex_structures_vl ffs
WHERE ffs.id_flex_structure_code = 'Employee Rejoin'
AND ffs.id_flex_num = pac.id_flex_num
AND TO_CHAR (TO_DATE (pac.segment7, 'YYYY/MM/DD HH24:MI:SS'))
- TO_CHAR (TO_DATE (pac.segment6, 'YYYY/MM/DD HH24:MI:SS')) > 1;
my query is something like this...
am trying to find the difference between the last two columns but with not much luck..
can some one suggest me a solution pleaseSELECT pac.segment1, pac.segment2 person_id, pac.segment3 NAME,
papf.employee_number, paaf.supervisor_id, pac.segment4 POSITION,
pac.segment5 start_date, pac.segment6, pac.segment7,
papf2.email_address,
( TO_DATE (TO_CHAR (pac.segment7), 'DD-MON-YYYY HH:MI:SS AM')
- TO_DATE (pac.segment6, 'DD-MON-YYYY HH:MI:SS AM')
+ 1
) difference,
POST.email_address
FROM per_analysis_criteria pac,
apps.fnd_id_flex_structures_vl ffs,
per_all_people_f papf,
per_all_assignments_f paaf,
per_all_people_f papf2,
(SELECT email_address, person_id
FROM per_all_people_f
WHERE person_id IN (
SELECT person_id
FROM per_all_assignments_f
WHERE position_id IN (SELECT position_id
FROM per_positions
WHERE NAME LIKE 'HR Manager.704.')
AND TRUNC (SYSDATE) BETWEEN effective_start_date
AND effective_end_date)
AND TRUNC (SYSDATE) BETWEEN effective_start_date AND effective_end_date
AND business_group_id = fnd_profile.VALUE ('PER_BUSINESS_GROUP_ID')) POST
WHERE ffs.id_flex_structure_code = 'Employee Rejoin'
AND TO_CHAR (papf.person_id) = pac.segment2
AND ffs.id_flex_num = pac.id_flex_num
AND TRUNC (SYSDATE) BETWEEN papf.effective_start_date
AND papf.effective_end_date
AND papf.current_employee_flag = 'Y'
AND papf.person_id = paaf.person_id
AND TRUNC (SYSDATE) BETWEEN paaf.effective_start_date
AND paaf.effective_end_date
AND papf.person_id = paaf.person_id
AND papf2.person_id = paaf.supervisor_id
AND paaf.primary_flag = 'Y'
AND TRUNC (SYSDATE) BETWEEN papf2.effective_start_date
AND papf2.effective_end_date
AND papf2.current_employee_flag = 'Y'
and ( TO_DATE(to_char(pac.segment7), 'DD-MON-YYYY HH:MI:SS AM')-TO_DATE (pac.segment6, 'DD-MON-YYYY HH:MI:SS AM')+1) >1
last line is giving me the error pls suggest a solution -
Facing problem while unloading the SWF file in SWF Loader
Facing problem with SWF Loader.
Background:
I've 4 SWF files (demo1.swf, demo1_skin.swf, demo2.swf and demo2_skin.swf).
These swf files are created throgh Adobe Captivate.
Playing demo1_skin, will play the demo1.swf with the controls at the button such as "Play", "Pause", "Stop", "Forward", "Backward" and Seekbar.
Playing demo2_skin, will play the demo2.swf with the controls at the button such as "Play", "Pause", "Stop", "Forward", "Backward" and Seekbar.
Scenario:
1. Clicked on the video1 leaf of the tree. Video1.swf is getting played.
I am able to click on the seek bar to take the video pointer to the desired position. I can drag the seek bar forward and backward also.
2. Clicked on the video2 leaf of the tree. Video2.swf is getting played.
I am not able to click on the seek bar to take the video pointer to the desired position. Also, I am not able to drag the pointer on the seek bar either forward or backward also.
Play, Pause, Stop, Forward, Backward buttons on the skin works properly.
3. If I again, click on the video1 leaf, point 1 observation is found.
4. clicking agian, on video2 leaf, point 2 observation found.
Please suggest.
I tried with Loader also. But, nothing fruitful. Same result, as I am getting from SWF Loader.
Please find the below used code.
dp.xml
<?xml version="1.0" encoding="utf-8"?>
<root>
<gallery label="All">
<file label="video1" src="demo1_skin.swf" />
<file label="video2" src="demo2_skin.swf" />
</gallery>
</root>
Sample1.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" verticalAlign="middle" backgroundColor="white">
<mx:Script>
<![CDATA[
import mx.events.ListEvent;
private function tree_itemClick(event:ListEvent):void {
var t:Tree = event.currentTarget as Tree;
var dataObj:Object = event.itemRenderer.data;
swfLoader.load(null);
if (dataObj.hasOwnProperty("@src")) {
swfLoader.load(dataObj.@src);
]]>
</mx:Script>
<mx:XML id="dp" source="dp.xml" />
<mx:HDividedBox width="100%" height="100%">
<mx:Panel width="200" height="100%">
<mx:Tree id="tree" dataProvider="{dp}" labelField="@label"
showRoot="false" width="100%" height="100%" itemClick="tree_itemClick(event);" />
</mx:Panel>
<mx:Panel id="panel" width="100%" height="100%" backgroundColor="white">
<mx:SWFLoader id="swfLoader" width="100%" height="100%" />
</mx:Panel>
</mx:HDividedBox>
</mx:Application>
log in the console
[SWF] C:\Java_Flex_Practice\FlexPractice\Sample\bin-debug\Sample3.swf - 951,034 bytes after decompression
Clicked on the video1 leaf of the tree
[SWF] C:\Java_Flex_Practice\FlexPractice\Sample\bin-debug\demo1_skin.swf - 31,309 bytes after decompression
this.getSWFVersion() = 7
contentSWFFullPath = file://C:\Java_Flex_Practice\FlexPractice\Sample\bin-debug\demo1.swf
[SWF] C:\Java_Flex_Practice\FlexPractice\Sample\bin-debug\demo1.swf - 323,414 bytes after decompression
incrementWait = 1
onLoad m_movie = null
onLoad m_movie = null
onLoad m_movie = null
onLoad m_movie = null
onLoad m_movie = null
decrementWait = 0
Clicked on the video2 leaf of the tree
[SWF] C:\Java_Flex_Practice\FlexPractice\Sample\bin-debug\demo2_skin.swf - 31,311 bytes after decompression
[Unload SWF] C:\Java_Flex_Practice\FlexPractice\Sample\bin-debug\demo1.swf
this.getSWFVersion() = 7
contentSWFFullPath = file://C:\Java_Flex_Practice\FlexPractice\Sample\bin-debug\demo2.swf
[SWF] C:\Java_Flex_Practice\FlexPractice\Sample\bin-debug\demo2.swf - 477,273 bytes after decompression
incrementWait = 1
onLoad m_movie = null
onLoad m_movie = null
onLoad m_movie = null
onLoad m_movie = null
onLoad m_movie = null
onLoad m_movie = null
onLoad m_movie = null
onLoad m_movie = null
decrementWait = 0
Clicked on the video1 leaf of the tree (Again)
[SWF] C:\Java_Flex_Practice\FlexPractice\Sample\bin-debug\demo1_skin.swf - 31,309 bytes after decompression
[Unload SWF] C:\Java_Flex_Practice\FlexPractice\Sample\bin-debug\demo2.swf
this.getSWFVersion() = 7
contentSWFFullPath = file://C:\Java_Flex_Practice\FlexPractice\Sample\bin-debug\demo1.swf
[SWF] C:\Java_Flex_Practice\FlexPractice\Sample\bin-debug\demo1.swf - 323,414 bytes after decompression
[Unload SWF] C:\Java_Flex_Practice\FlexPractice\Sample\bin-debug\demo2_skin.swf
incrementWait = 1
onLoad m_movie = null
onLoad m_movie = null
onLoad m_movie = null
onLoad m_movie = null
onLoad m_movie = null
decrementWait = 0
Clicked on the video2 leaf of the tree (Again)
[SWF] C:\Java_Flex_Practice\FlexPractice\Sample\bin-debug\demo2_skin.swf - 31,311 bytes after decompression
[Unload SWF] C:\Java_Flex_Practice\FlexPractice\Sample\bin-debug\demo1.swf
this.getSWFVersion() = 7
contentSWFFullPath = file://C:\Java_Flex_Practice\FlexPractice\Sample\bin-debug\demo2.swf
[SWF] C:\Java_Flex_Practice\FlexPractice\Sample\bin-debug\demo2.swf - 477,273 bytes after decompression
incrementWait = 1
onLoad m_movie = null
onLoad m_movie = null
onLoad m_movie = null
onLoad m_movie = null
onLoad m_movie = null
onLoad m_movie = null
onLoad m_movie = null
onLoad m_movie = null
decrementWait = 0
[Unload SWF] C:\Java_Flex_Practice\FlexPractice\Sample\bin-debug\demo1_skin.swfTry calling unloadAndStop() before loading a new swf.
http://livedocs.adobe.com/flex/3/langref/mx/controls/SWFLoader.html#unloadAndStop()
http://livedocs.adobe.com/flex/3/langref/flash/display/Loader.html#unloadAndStop()
Note that unLoadAndStop()is FP10 only. -
Facing Problem While Opening the Form Builder 10g
Hi Experts,
I am Facing below Error while opening one of the developed forms in the form builder 10g. Operating system of my laptop is Window 7.
Oracle Forms Designer Has stopped Working
Windows can check online for a solution to the problem.
---> Check online for a solution and close the program
----> close the program
Please provide any tips or solutions to resolve above Error.
Thanks in advanceMeher Irk wrote:
Hi Experts,
I am Facing below Error while opening one of the developed forms in the form builder 10g. Operating system of my laptop is Window 7.
Oracle Forms Designer Has stopped Working
Windows can check online for a solution to the problem.
---> Check online for a solution and close the program
----> close the program
Try this..
Open form builder.
Make connection with database.
Now open the form.
Hope this works.. -
Can anyone pls. help me : facing problem while fetching the data from BAPI
Hi all,
we have installed xMII in a new server. In this new server I am trying to fetch data from a BAPI & write it into a file thru a transaction, but i cant see the data in the tracer, & neither is the file created. But with the same configuration & connection am able to get the data in the old server. Can anyone pls. tell me wat could be the problem?? or is there anything else that we might have forgotten while installing xMII in the new server.
ur help would be greatly appreciated.
Thanks,
Sushma.Hi Ravi,
no am not able to see the table structure also. This is what it is showing in the tracer :
[INFO ]: Execution Started At: 17:24:17
[DEBUG]: 00000.03100 Begin Transaction 'TMP99A51958-5BAE-CDE0-0DB5-A3A8C72BC297'
[DEBUG]: 00000.03100 Begin Sequence Sequence : ()
[DEBUG]: 00000.03100 Begin Action SAPJCOInterface_0 : (SAP JCO Interface)
[DEBUG]: 00006.43700 Connection Took 6406 mS
[DEBUG]: 00009.82800 Function Creation Took 3391 mS
[DEBUG]: 00010.25000 Execution Took 422 mS
[DEBUG]: 00010.25000 End Action SAPJCOInterface_0 : (SAP JCO Interface)
[DEBUG]: 00010.25000 Begin Sequence Sequence_0 : ()
[DEBUG]: 00010.25000 Begin Action Repeater_0 : (Repeater)
[DEBUG]: 00010.26600 End Action Repeater_0 : (Repeater)
[DEBUG]: 00010.26600 End Sequence Sequence_0 : ()
[DEBUG]: 00010.26600 End Sequence Sequence : ()
[DEBUG]: 00010.26600 End Transaction 'TMP99A51958-5BAE-CDE0-0DB5-A3A8C72BC297'
[INFO ]: Execution Completed At: 17:24:28 Elapsed Time was 10235 mS
I doubt the repeater is not working, becoz i checked the JCO connection & thats fine..
Thanks,
Sushma. -
Facing problem while opening the poup using the RichInputListOfValues
Hi ,
I am creating the RichInputListOfValues dynamically as follows in the manage bean
RichInputListOfValues input = new RichInputListOfValues ();
input.setId("input");
input.setLabel("User Name");
input.setPopupTitle("Search and Result Dialog Users");
input.setShortDesc("Users");
input.setReadOnly("Users");
input.setRendered(true);
input.setVisible(true);
input.setShowRequired(true);
input.setModel(new ListOfValuesUtil().getListOfValuesModel());
input.setAutoSubmit(true);
The component gets render perfectly on the UI, but when I click on the search icon then get the following exception.
[exec] Apr 6, 2009 2:03:56 AM UIXRegion _warn
[exec] WARNING: Error processing viewId: /CreateUser-taskflow/CreateUserview URI: /taskflows/CreateUserview.jsff actual-URI: /taskflows/CreateUserview.jsff.
[exec] java.lang.NullPointerException
[exec] at oracle.adfinternal.view.faces.renderkit.rich.RichRenderUtils.createValueExpression(RichRenderUtils.java:443)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputListOfValuesRendererBase._createSearchResultsTable(SimpleInputListOfValuesRendererBase.java:750)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputListOfValuesRendererBase._createSearchContentFacet(SimpleInputListOfValuesRendererBase.java:905)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputListOfValuesRendererBase._renderPopup(SimpleInputListOfValuesRendererBase.java:644)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputListOfValuesRendererBase.renderElementContent(SimpleInputListOfValuesRendererBase.java:342)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.FormInputRenderer.encodeAllAsElement(FormInputRenderer.java:149)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.FormElementRenderer.encodeAll(FormElementRenderer.java:133)
[exec] at oracle.adf.view.rich.render.RichRenderer.delegateRenderer(RichRenderer.java:1103)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.renderFieldCellContents(LabeledInputRenderer.java:177)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.LabelLayoutRenderer.renderFieldCell(LabelLayoutRenderer.java:507)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.LabelLayoutRenderer.encodeAll(LabelLayoutRenderer.java:305)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.encodeAll(LabeledInputRenderer.java:164)
[exec] at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1067)
[exec] at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:310)
[exec] at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
[exec] at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:390)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer._encodeFormItem(PanelFormLayoutRenderer.java:1015)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer.access$100(PanelFormLayoutRenderer.java:46)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer$FormColumnEncoder.processComponent(PanelFormLayoutRenderer.java:1510)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer$FormColumnEncoder.processComponent(PanelFormLayoutRenderer.java:1429)
[exec] at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:126)
[exec] at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:202)
[exec] at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:168)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer._encodeChildren(PanelFormLayoutRenderer.java:352)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer.encodeAll(PanelFormLayoutRenderer.java:187)
[exec] at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1067)
[exec] at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:310)
[exec] at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
[exec] at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:390)
[exec] at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:407)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.renderChildrenAfterHelpAndInfo(PanelHeaderRenderer.java:395)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer._renderContentCell(PanelHeaderRenderer.java:926)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.renderContentRow(PanelHeaderRenderer.java:386)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailHeaderRenderer.renderContentRow(ShowDetailHeaderRenderer.java:170)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.encodeAll(PanelHeaderRenderer.java:201)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailHeaderRenderer.encodeAll(ShowDetailHeaderRenderer.java:101)
[exec] at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1067)
[exec] at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:310)
[exec] at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
[exec] at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:390)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:373)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$300(PanelGroupLayoutRenderer.java:30)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:622)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:541)
[exec] at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:126)
[exec] at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:202)
[exec] at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:168)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:293)
[exec] at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1067)
[exec] at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:310)
[exec] at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
[exec] at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:390)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeCenterFacet(PanelStretchLayoutRenderer.java:257)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeCenterPane(PanelStretchLayoutRenderer.java:507)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeAll(PanelStretchLayoutRenderer.java:199)
[exec] at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1067)
[exec] at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:310)
[exec] at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
[exec] at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:390)
[exec] at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:407)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer.encodeAll(RegionRenderer.java:187)
[exec] at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1067)
[exec] at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:310)
[exec] at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
[exec] at oracle.adf.view.rich.component.fragment.UIXRegion.encodeEnd(UIXRegion.java:282)
[exec] at org.apache.myfaces.trinidad.component.UIXComponentBase.__encodeRecursive(UIXComponentBase.java:1494)
[exec] at org.apache.myfaces.trinidad.component.UIXGroup.encodeChildren(UIXGroup.java:138)
[exec] at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:377)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer.encodeFacet(DecorativeBoxRenderer.java:268)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer._encodeCenterPane(DecorativeBoxRenderer.java:409)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer.encodeAll(DecorativeBoxRenderer.java:234)
[exec] at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1067)
[exec] at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:310)
[exec] at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
[exec] at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:390)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeCenterFacet(PanelStretchLayoutRenderer.java:257)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeCenterPane(PanelStretchLayoutRenderer.java:507)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeAll(PanelStretchLayoutRenderer.java:199)
[exec] at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1067)
[exec] at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:310)
[exec] at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
[exec] at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:390)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer.encodeFacet(DecorativeBoxRenderer.java:268)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer._encodeCenterPane(DecorativeBoxRenderer.java:409)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer.encodeAll(DecorativeBoxRenderer.java:234)
[exec] at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1067)
[exec] at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:310)
[exec] at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
[exec] at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:390)
[exec] at oracle.adf.view.rich.render.RichRenderer.encodeStretchedChild(RichRenderer.java:1403)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer._renderPane(PanelSplitterRenderer.java:925)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer._renderSecondPane(PanelSplitterRenderer.java:831)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer.encodeAll(PanelSplitterRenderer.java:166)
[exec] at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1067)
[exec] at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:310)
[exec] at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
[exec] at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:390)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeCenterFacet(PanelStretchLayoutRenderer.java:257)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeCenterPane(PanelStretchLayoutRenderer.java:507)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeAll(PanelStretchLayoutRenderer.java:199)
[exec] at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1067)
[exec] at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:310)
[exec] at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
[exec] at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:390)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer.encodeFacet(DecorativeBoxRenderer.java:268)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer._encodeCenterPane(DecorativeBoxRenderer.java:409)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer.encodeAll(DecorativeBoxRenderer.java:234)
[exec] at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1067)
[exec] at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:310)
[exec] at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
[exec] at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:390)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeCenterFacet(PanelStretchLayoutRenderer.java:257)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeCenterPane(PanelStretchLayoutRenderer.java:507)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeAll(PanelStretchLayoutRenderer.java:199)
[exec] at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1067)
[exec] at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:310)
[exec] at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
[exec] at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:390)
[exec] at oracle.adf.view.rich.render.RichRenderer.encodeStretchedChild(RichRenderer.java:1403)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer._renderPane(PanelSplitterRenderer.java:925)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer._renderSecondPane(PanelSplitterRenderer.java:831)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer.encodeAll(PanelSplitterRenderer.java:166)
[exec] at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1067)
[exec] at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:310)
[exec] at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
[exec] at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:390)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeCenterFacet(PanelStretchLayoutRenderer.java:257)
[exec] Apr 6, 2009 2:03:56 AM org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderKit encodeFinally
[exec] WARNING: No RenderingContext available
[exec] Apr 6, 2009 2:03:56 AM oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator handleError
[exec] SEVERE: Server Exception during PPR, #1
[exec] java.lang.NullPointerException
[exec] at oracle.adfinternal.view.faces.renderkit.rich.RichRenderUtils.createValueExpression(RichRenderUtils.java:443)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputListOfValuesRendererBase._createSearchResultsTable(SimpleInputListOfValuesRendererBase.java:750)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputListOfValuesRendererBase._createSearchContentFacet(SimpleInputListOfValuesRendererBase.java:905)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputListOfValuesRendererBase._renderPopup(SimpleInputListOfValuesRendererBase.java:644)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputListOfValuesRendererBase.renderElementContent(SimpleInputListOfValuesRendererBase.java:342)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.FormInputRenderer.encodeAllAsElement(FormInputRenderer.java:149)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.FormElementRenderer.encodeAll(FormElementRenderer.java:133)
[exec] at oracle.adf.view.rich.render.RichRenderer.delegateRenderer(RichRenderer.java:1103)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.renderFieldCellContents(LabeledInputRenderer.java:177)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.LabelLayoutRenderer.renderFieldCell(LabelLayoutRenderer.java:507)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.LabelLayoutRenderer.encodeAll(LabelLayoutRenderer.java:305)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.encodeAll(LabeledInputRenderer.java:164)
[exec] at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1067)
[exec] at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:310)
[exec] at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
[exec] at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:390)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer._encodeFormItem(PanelFormLayoutRenderer.java:1015)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer.access$100(PanelFormLayoutRenderer.java:46)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer$FormColumnEncoder.processComponent(PanelFormLayoutRenderer.java:1510)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer$FormColumnEncoder.processComponent(PanelFormLayoutRenderer.java:1429)
[exec] at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:126)
[exec] at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:202)
[exec] at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:168)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer._encodeChildren(PanelFormLayoutRenderer.java:352)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer.encodeAll(PanelFormLayoutRenderer.java:187)
[exec] at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1067)
[exec] at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:310)
[exec] at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
[exec] at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:390)
[exec] at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:407)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.renderChildrenAfterHelpAndInfo(PanelHeaderRenderer.java:395)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer._renderContentCell(PanelHeaderRenderer.java:926)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.renderContentRow(PanelHeaderRenderer.java:386)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailHeaderRenderer.renderContentRow(ShowDetailHeaderRenderer.java:170)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.encodeAll(PanelHeaderRenderer.java:201)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailHeaderRenderer.encodeAll(ShowDetailHeaderRenderer.java:101)
[exec] at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1067)
[exec] at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:310)
[exec] at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
[exec] at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:390)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:373)
[exec] at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$300(PanelGroupLayoutRenderer.java:30)
But when I tried to define this component directly in the jsff as follow then i am not facing any exception
<af:inputListOfValues label="orgniztion"
popupTitle="Search and Result Dialog" id="ilov1"
autoSubmit="true"
model="#{pageFlowScope.searchUserBean.listOfValuesModel.listOfValuesModel}"/>
Can any one please tell me, what would be the problem?
ThanksI am facing the same issue. Please please plesae let me know if there is any ways to overcome this problem :(
-
Facing problem while changing the database at runtime
hi everyone,
Before posting this thread, i have gone through the various posts addressing the problem....but still iam unable to get the solution for this problem.
The report has been generated in one system, so the database properties (connection string....) are hardcoded in the report file...
Now when iam trying to change the database, it is still connecting to the system where the report file was created.
I have tried the changeDatasource() method, but it didnot worked....
here is the code for changeDatasource() method
public static void changeDataSource(ReportClientDocument clientDoc,
String reportName, String tableName,
String username, String password, String connectionURL,
String driverName,String jndiName) throws ReportSDKException {
PropertyBag propertyBag = null;
IConnectionInfo connectionInfo = null;
ITable origTable = null;
ITable newTable = null;
// Declare variables to hold ConnectionInfo values.
// Below is the list of values required to switch to use a JDBC/JNDI
// connection
String TRUSTED_CONNECTION = "false";
String SERVER_TYPE = "JDBC (JNDI)";
String USE_JDBC = "true";
String DATABASE_DLL = "crdb_jdbc.dll";
String JNDI_DATASOURCE_NAME = jndiName;
String CONNECTION_URL = connectionURL;
String DATABASE_CLASS_NAME = driverName;
// The next few parameters are optional parameters which you may want to
// uncomment
// You may wish to adjust the arguments of the method to pass these
// values in if necessary
// String TABLE_NAME_QUALIFIER = "new_table_name";
// String SERVER_NAME = "new_server_name";
// String CONNECTION_STRING = "new_connection_string";
// String DATABASE_NAME = "new_database_name";
// String URI = "new_URI";
// Declare variables to hold database User Name and Password values
String DB_USER_NAME = username;
String DB_PASSWORD = password;
System.out.println("DB_USER_NAME......."+DB_USER_NAME);
System.out.println("DB_PASSWORD......."+DB_USER_NAME);
// Obtain collection of tables from this database controller
if (reportName == null || reportName.equals("")) {
Tables tables = clientDoc.getDatabaseController().getDatabase().getTables();
System.out.println("Tables in reports........"+tables.size());
for(int i = 0;i < tables.size();i++){
origTable = tables.getTable(i);
System.out.println("origTable........"+origTable.getQualifiedName());
if (tableName == null || origTable.getName().equals(tableName)) {
newTable = (ITable)origTable.clone(true);
// We set the Fully qualified name to the Table Alias to keep the
// method generic
// This workflow may not work in all scenarios and should likely be
// customized to work
// in the developer's specific situation. The end result of this
// statement will be to strip
// the existing table of it's db specific identifiers. For example
// Xtreme.dbo.Customer becomes just Customer
newTable.setQualifiedName(origTable.getQualifiedName());
System.out.println("newTable........"+newTable.getQualifiedName());
// Change properties that are different from the original datasource
// For example, if the table name has changed you will be required
// to change it during this routine
// table.setQualifiedName(TABLE_NAME_QUALIFIER);
// Change connection information properties
connectionInfo = newTable.getConnectionInfo();
// Set new table connection property attributes
propertyBag = new PropertyBag();
// Overwrite any existing properties with updated values
//propertyBag.put("Trusted_Connection", TRUSTED_CONNECTION);
//propertyBag.put("Server Type", SERVER_TYPE);
propertyBag.put("Use JDBC", USE_JDBC);
propertyBag.put("Database DLL",DATABASE_DLL );
propertyBag.put("JNDI Datasource Name",JNDI_DATASOURCE_NAME );
propertyBag.put("Connection URL", CONNECTION_URL);
propertyBag.put("Database Class Name", DATABASE_CLASS_NAME);
//propertyBag.put("Server Name", SERVER_NAME); //Optional property
// propertyBag.put("Connection String", CONNECTION_STRING); //Optional property
// propertyBag.put("URI", URI); //Optional property
connectionInfo.setAttributes(propertyBag);
// Set database username and password
// NOTE: Even if the username and password properties do not change
// when switching databases, the
// database password is *not* saved in the report and must be set at
// runtime if the database is secured.
connectionInfo.setKind(ConnectionInfoKind.SQL);
connectionInfo.setUserName(DB_USER_NAME);
connectionInfo.setPassword(DB_PASSWORD);
// Update the table information
clientDoc.getDatabaseController().setTableLocation(origTable,newTable);
Also i tried with replaceConnection() method...........it displayed the report, but with not column names and data
need help regarding.......
Edited by: abhishek.c1984 on Jun 25, 2009 10:02 AMIn the report i have two tables.............so before changing the database properties for each table iam printing their names.
The names are dispalyed correctly.......but once i set the table location...i.e through the following method..
clientDoc.getDatabaseController().setTableLocation(tables.getTable(i),newTable);
every time i can see only one table i.e. properties are set for the first table ........and each time the properties are being set for the first table only.....i dont no what is happening to the rest of the tables..
I have posted the method in the above post.....can any one please trace out the problem
Note: when i comment the following code, i can see all the tables
clientDoc.getDatabaseController().setTableLocation(tables.getTable(i),newTable);
when i uncomment it, i can see only first table repeating every time...
Edited by: abhishek.c1984 on Jun 25, 2009 1:03 PM -
Facing problem while using the objects
hi im new user here . and i have download the so many objects. but i dont know how to use them in dreamweaver and where i shud paste them to use in my website kindly someone help me in this regard i will be really thankfull to you. i will wait for your kind replies
Please post in the Dreamweaver forum.
-
Problem while updating the domain data of CMS
Hi
I am trying configuring the Chage Management Service. When i am clicking on the <b>"update CMS"</b> button which is under CMS > Landscape Configuratore > Domain Data i am getting the following error...
<b>"Unexpected error; inform your system administrator: No object found exception"</b>
How to resolve this problem?
Best Regards
Ravi ShankarHI
Following are main error i found in log file
<b>Exception in method updateCMSServer
No object found
Could not find clientID</b>
Thanks & Regards
Ravi Shankar B -
Problem while updating the Support Package 17 on my SAP WAS SP9
Hi,
I'm facing problem while updating the Support Package 17 on my SAP WAS SP9
ERROR 2006-10-13 10:23:22
FSL-06002 Error 2 (The system cannot find the file specified.
) in execution of a 'CreateProcess' function, line (284), with parameter (java.exe ...).
Please help me in this regard.....
Thanks in advance...
SatyaHello gentlemen, I am also having problem with the following running on 64 bit Windows and SQL2005/64 bit. I am erroring in Step 8 'Updating JDBC' driver. I am attempting to update from SP9 to SP18. The WEBAS Jave installed went flawless but I seem to be stuck here. Any help is appreciated...
ERROR 2006-11-22 10:13:57
FSL-06002 Error 2 (The system cannot find the file specified.
) in execution of a 'CreateProcess' function, line (284), with parameter (java.exe ...). -
Facing problems while mapping fields in LSMW.
Hi Friends,
i got a requirement to upload the address. Address is in
flat file.requirement is to use LSMW with object 0602 and the
standard report program is RSADRLSM02.This standard report
program uses the structures for uploading are ADR_LSM0 to
ADR_LSM6.But i have some fields in the source structure are
not at all related to the fields in destination structure(i.e ADR_LSM0 to ADR_LSM6)therefore i am facing problem while
mapping the source and destination fields.is there any other
way to map the fields.Please help me it's very urgent.
Thanks in advance.
Regards,
Sumiti Gupta.Thanks for the reply santosh.
GIS FIELD SAP LOCATION
ADDR_GID(10char) EXADR-KUNNR
STR_NO(10) ADR_LSM0-STRT_CODE
STR_NAME (42) ADR_LSM0-STREET
ADDRESS_UNIT(7) ADR_LSM0-HOUSENUM_H
and
ADR_LSM0-HOUSENUM_L
ADDRESS_UNIT_TYPE(5) EVBSD-VBSART
POST_CODE (10) ADR_LSM0-POST_CODE
MUNI_NAME (40) EXADR-APPLDATA
MAILING_CITY(60) ADR_LSM0-CITY_NAME
MAP_PAGE(4) EADRSTRTGRID_GRID_ID
EVAC_ZONE(1) EVBSD-ZEVAC
PIN_NUM (18) EHAUD-PLTXT
in the above fields the structure with ADR_LSM0 are found with the other fields i m not able to find the similar fields in the destination structure.Please help me.
Regards,
Sumiti Gupta. -
Facing problems while creating tree view
Hi gurus,
I am facing problems while crating the tree view can please explain me what are the basic requirements for creating tree view and explain me which are the methods i need to redefine.
any answer is appreciated.
Regards,
Chetan AgaliHi Chetan,
Maybe Poonam Assudani weblog may help you a little more. Check it's location here:
/people/poonam.assudani/blog/2009/06/24/create-a-tree-view-display-in-crm-web-ui
Kind regards,
Garcia -
i am facing problems while openin an application in facebook and other places.when i go to the application,an error shows and firefox closes autmatically either i send error reports or dont.....plz help
Notes:
1) Please use the code tags when posting code or JNLP/HTML. It helps to retain indentation and avoids asterisks and plus sings being interpreted as formatting marks. To do that, select the code/JNLP etc. and click the CODE button seen on the Plain Text tab of the message posting form.
2) That launch file is invalid. You might check it (and the project in general) using JaNeLA.
3) The only place that SimpleSerial class could be, that the JRE would find, is in the root of aeon.jar. Is it actually there? -
Hi Experts , I am currently facing problems while running restricted version copy in sap apo .. The log says 0 location products copied and that the process has timed out. the error message is " /SAPAPO/MVM_INT_SVC_CO_VER_LCW reported exception in task DP00014 " , then ending in time limit exceeded. could anyone explain why this happens. please note even if the log says 0 location products copied , in reality they have have been partially copied.
Regards
JerelHi, thank you for your replies, I found out few things about my servlet, and its portability
and i have few questions, although i marked this topic as answered i guess its ok to post
I am using javax.servlet.context.tempdir to store my files in that servletcontext temporary directory. But i dont know how to give hyperlink
of the modified files to the user for them to download the modified files.
What i am using to get the tempdir i will paste
File baseurl = (File)this.getServletContext().getAttribute("javax.servlet.context.tempdir");
System.out.println(baseurl);
baseurl = new File(baseurl.getAbsolutePath()+File.separator+"temp"+File.separator+"files");
baseurl.mkdirs();so i am storing my files in that temp/files folder and the servlet processes them and modifies them, then how to present them as
links to the user for download ?
and as the servlet is multithreaded by nature, if my servlet gets 2 different requests with same file names, i guess one of them will be overwritten
And i want to create unique directory for each request made to the servlet , so file names dont clash.
one another thing is that i want my servlet to be executed by my <form action> only, I dont want the user to simply type url and trigger the servlet
Reply A.S.A.P. please..
Thanks and regards,
Mihir Pandya -
Facing a Problem while downloading the data from ALV Grid to Excel Sheet
Hi Friends,
Iam facing a problem while downloading the data from ALV Grid to excel sheet. This is working fine in Development server , when comes to Quality and Production servers I have this trouble.
I have nearly 11 fields in ALV Grid and out of which one is PO number of length 10 , all the ten numbers are visible in the excel sheet if we download it from development server but when we download it from Quality or Production it is showing only 9 numbers.
Can any one help me out in this case.hi...
if this problems happens dont display the same internal as u finally got.
just create new internal table without calling any standard data elements and domains... but the new internal table s similar like ur final internal table and move all the values to new int table.
for eg.
ur final internal int table for disp,
data : begin of itab occur 0,
matnr like mara-matnr,
end of itab.
create new like this,
data : begin of itab occur 0,
matnr(12) type N,
end of itab.
Maybe you are looking for
-
Add fields in transformations in BI 7 (best practice)?
Hi Experts, I have a question regarding transformation of data in BI 7.0. Task: Add new fields in a second level DSO, based on some manipulation of first level DSO data. In 3.5 we would have used a start routine to manipulate and append the new field
-
Problem: I add a new contact picture on the iPhone, later sync: the pic loses its resolution and becomes a low-res 'Address Book' picture that appears in the top-right corner when someone calls. I know the topic of contact pic has been hashed out lot
-
After downloading a trial version of Lightroom4 I get the following error message when launching the product "An error occurred when attempting to change modules" Could anyone advise how to solve this issue please?
-
IPod_Contoller Opens every time I plug in my Shuffle
After installing the latest updater, every time I plug in my Shuffle, the iPod Control folder opens in a Windows Explorer screen. Doesn't interfere with updating, but a pain. Appreciate any suggestions.
-
Hi i have a timeout function my my midlet class that if it reached a certain point when nothing happens, i display an alert screen thats set to forever and execute a command this.notifyDestroyed(); when i do this the alert screen doesnt disapear and