Urgent help for linking file
hi i am a noob in this area..can someone plz help me..
well i have to do a link where it will open the latest file..
how do i do tat......................
String file = "C:/";
File f = new File(file);
String [] fileNames = f.list();
File [] fileObjects= f.listFiles();
%>
<UL>
<%
for (int i = 0; i < fileObjects.length; i++) {
if(!fileObjects.isDirectory()){
%>
<LI>
<a href="<%= fileNames[i %">"><%= fileNames[i] %></A>
(<%= Long.toString(fileObjects.length()) %> bytes long)
<%
tis code can loop for all the documents i have in my C drive..but i dont want it to loop .. i want it to search for me the latest file and just open it...
thank you very much. </a>
import java.io.File;
public class LatestFileInDir {
static long maxFileDate = 0;
static String maxFilePath = "";
static void getLatestFilePath(File fd) throws Exception {
if (fd.isDirectory()) {
String[] children = fd.list();
for (int i=0; i<children.length; i++) getLatestFilePath(new File(fd, children));
else {
if(fd.lastModified() > maxFileDate) {
maxFileDate = fd.lastModified();
maxFilePath = fd.getCanonicalPath();
public static void main(String args[]) throws Exception {
getLatestFilePath(new File("C:\\TestDir"));
System.out.println("Latest File : " + maxFilePath);
}Cheers
Similar Messages
-
Need urgent help for (Message file sp1 lang .msb not found)
sir
c:\oracle9i this is my database folder name
c:\oraform this is my form folder name
which one my oracle_home name
sir i test this command
c:\ set ORACLE_HOME=c:\ORACLE9I
c:\ set ORACLE_SID=AAMIR
c:\ sqlplus / as sysdba
AND RUN SQL PLUS THEN SYSTEM GIVE ME THIS ERROR
incorrect environment variable plus_dflt program execution error
please give me idea how i run my system
thankDuplicate post:
''Urgent'' incorrect environment variable plus_dflt program execution erro -
Hi All,
i've declared a parameter where end-user can specify the logical file name. can anyone provide the code for F4 help for logical file name.
Regards
FaisalDeclare this :-->
PARAMETERS: p_apsvr LIKE rlgrap-filename OBLIGATORY.
AT selection Screen
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_apsvr.
PERFORM get_apsvr_path.
FORM get_apsvr_path .
CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'
EXPORTING
directory = p_apsvr
filemask = '*'
IMPORTING
serverfile = p_apsvr
EXCEPTIONS
canceled_by_user = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " get_apsvr_path -
Large file handling tips Help for illustrator file larger than 3 gb
Can anyone provide advice for large file handling tips. Help for illustrator file larger than 3 gb ie how often, when, and should I clear the clipboard? are here other tips?
Thanks,
GavinMy key tip is to EXPECT corruption. Keep every save separately so you can go back before damage (which might not be visible). Don't just keep a single old file or rely on daily backups.
-
Hi Guys,
I need urgent help regards to our school File server which is having "No more connection to this remote computer error"
on SMB Shares where I usually authenticate with a domain username it used to work fine since till 3 weeks ago.
Now I can browse the SMB shares with only IP... Netbios gets straight away this error message from non-domain joined pc's where the computer needs to connect to the SCCM distribution point on this file server.
Strangely, Domain joined pc's does not have this problem at all they can use Netbios or IP no problem at all. But someone from a standalone laptop or desktop who needs to access shares through netbios gets this message.
Can someone help me please?
I did check DNS yet there is no problem on DNS I checked PTR record for the server to make sure it is not turned in to multihome accidently but nothing at all.
I also did a NETMON where I captured the data from server and the client I get these errors:
205 4:54:35 PM 16/12/2013
7.3299179 10.2.1.96
10.2.0.13 TCP
TCP:Flags=......S., SrcPort=49312, DstPort=Microsoft-DS(445), PayloadLen=0, Seq=1771710719, Ack=0, Win=8192 ( Negotiating scale factor 0x2 ) = 8192
{TCP:22, IPv4:21}
206 4:54:35 PM 16/12/2013
7.3299668 10.2.0.13
10.2.1.96 TCP
TCP:Flags=...A..S., SrcPort=Microsoft-DS(445), DstPort=49312, PayloadLen=0, Seq=2167618331, Ack=1771710720, Win=8192 ( Negotiated scale factor 0x8 ) = 2097152
{TCP:22, IPv4:21}
207 4:54:35 PM 16/12/2013
7.3301468 10.2.1.96
10.2.0.13 TCP
TCP:Flags=...A...., SrcPort=49312, DstPort=Microsoft-DS(445), PayloadLen=0, Seq=1771710720, Ack=2167618332, Win=16425 (scale factor 0x2) = 65700
{TCP:22, IPv4:21}
208 4:54:35 PM 16/12/2013
7.3301468 10.2.1.96
10.2.0.13 SMB
SMB:C; Negotiate, Dialect = PC NETWORK PROGRAM 1.0, LANMAN1.0, Windows for Workgroups 3.1a, LM1.2X002, LANMAN2.1, NT LM 0.12, SMB 2.002, SMB 2.???
{SMBOverTCP:23, TCP:22, IPv4:21}
209 4:54:35 PM 16/12/2013
7.3307974 10.2.0.13
10.2.1.96 SMB2
SMB2:R NEGOTIATE (0x0), GUID={8447F237-5219-D48A-40C0-29092450C68E}
{SMBOverTCP:23, TCP:22, IPv4:21}
210 4:54:35 PM 16/12/2013
7.3314064 10.2.1.96
10.2.0.13 SMB2
SMB2:C SESSION SETUP (0x1) {SMBOverTCP:23, TCP:22, IPv4:21}
211 4:54:35 PM 16/12/2013
7.3318815 10.2.0.13
10.2.1.96 SMB2
SMB2:R - NT Status: System - Error, Code = (22) STATUS_MORE_PROCESSING_REQUIRED SESSION SETUP (0x1), SessionFlags=0x0
{SMBOverTCP:23, TCP:22, IPv4:21}
212 4:54:35 PM 16/12/2013
7.3324012 10.2.1.96
10.2.0.13 SMB2
SMB2:C SESSION SETUP (0x1) {SMBOverTCP:23, TCP:22, IPv4:21}
215 4:54:35 PM 16/12/2013
7.3339977 10.2.0.13
10.2.1.96 SMB2
SMB2:R - NT Status: System - Error, Code = (109) STATUS_LOGON_FAILURE SESSION SETUP (0x1)
{SMBOverTCP:23, TCP:22, IPv4:21}
216 4:54:35 PM 16/12/2013
7.3341805 10.2.1.96
10.2.0.13 TCP
TCP:Flags=...A.R.., SrcPort=49312, DstPort=Microsoft-DS(445), PayloadLen=0, Seq=1771711788, Ack=2167619070, Win=0 (scale factor 0x2) = 0
{TCP:22, IPv4:21}
217 4:54:35 PM 16/12/2013
7.3357089 10.2.1.96
10.2.0.13 TCP
TCP:Flags=......S., SrcPort=49313, DstPort=Microsoft-DS(445), PayloadLen=0, Seq=2943201172, Ack=0, Win=8192 ( Negotiating scale factor 0x2 ) = 8192
{TCP:27, IPv4:21}
218 4:54:35 PM 16/12/2013
7.3357422 10.2.0.13
10.2.1.96 TCP
TCP:Flags=...A..S., SrcPort=Microsoft-DS(445), DstPort=49313, PayloadLen=0, Seq=3718656547, Ack=2943201173, Win=8192 ( Negotiated scale factor 0x8 ) = 2097152
{TCP:27, IPv4:21}
219 4:54:35 PM 16/12/2013
7.3359768 10.2.1.96
10.2.0.13 TCP
TCP:Flags=...A...., SrcPort=49313, DstPort=Microsoft-DS(445), PayloadLen=0, Seq=2943201173, Ack=3718656548, Win=16425 (scale factor 0x2) = 65700
{TCP:27, IPv4:21}
220 4:54:35 PM 16/12/2013
7.3359768 10.2.1.96
10.2.0.13 SMB2
SMB2:C NEGOTIATE (0x0), GUID={8213462D-2600-D1B1-11E3-65FC4BCDE707}
{SMBOverTCP:28, TCP:27, IPv4:21}
221 4:54:35 PM 16/12/2013
7.3364173 10.2.0.13
10.2.1.96 SMB2
SMB2:R NEGOTIATE (0x0), GUID={8447F237-5219-D48A-40C0-29092450C68E}
{SMBOverTCP:28, TCP:27, IPv4:21}
222 4:54:35 PM 16/12/2013
7.3369702 10.2.1.96
10.2.0.13 SMB2
SMB2:C SESSION SETUP (0x1) {SMBOverTCP:28, TCP:27, IPv4:21}
223 4:54:35 PM 16/12/2013
7.3373474 10.2.0.13
10.2.1.96 SMB2
SMB2:R - NT Status: System - Error, Code = (22) STATUS_MORE_PROCESSING_REQUIRED SESSION SETUP (0x1), SessionFlags=0x0
{SMBOverTCP:28, TCP:27, IPv4:21}
224 4:54:35 PM 16/12/2013
7.3377060 10.2.1.96
10.2.0.13 SMB2
SMB2:C SESSION SETUP (0x1) {SMBOverTCP:28, TCP:27, IPv4:21}
227 4:54:35 PM 16/12/2013
7.3390552 10.2.0.13
10.2.1.96 SMB2
SMB2:R - NT Status: System - Error, Code = (109) STATUS_LOGON_FAILURE SESSION SETUP (0x1)
{SMBOverTCP:28, TCP:27, IPv4:21}
Regards,
GokhanSolution has been found,
After doing bit of a backtrack, site DC's were out of sync with PDC with time.
Also Time service was shutdown on PDC which has been enabled and pointed to the Australian pool ntp IP address.
Everything is back on track now.
Regards,
Gokhan Cil -
Urgent help for processing XML stream read from a JAR file
Hi, everyone,
Urgently need your help!
I am reading an XML config file from a jar file. It can print out the result well when I use the following code:
===============================================
InputStream is = getClass().getResourceAsStream("conf/config.xml");
BufferedReader br = new BufferedReader(new InputStreamReader(is));
String line;
while ((line = br.readLine()) != null) {
System.out.println(line); // It works fine here, which means that the inputstream is correct
// process the XML stream I read from above
NodeIterator ni = processXPath("//grid/gridinfo", is);
Below is the processXPath() function I have written:
public static NodeIterator processXPath(String xpath, InputStream byteStream) throws Exception {
// Set up a DOM tree to query.
InputSource in = new InputSource(byteStream);
DocumentBuilderFactory dfactory = DocumentBuilderFactory.newInstance();
dfactory.setNamespaceAware(true);
Document doc = dfactory.newDocumentBuilder().parse(in);
// Use the simple XPath API to select a nodeIterator.
System.out.println("Querying DOM using " + xpath);
NodeIterator ni = XPathAPI.selectNodeIterator(doc, xpath);
return ni;
It gives me so much errors:
org.xml.sax.SAXParseException: The root element is required in a well-formed doc
ument.
at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1213
at org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XM
LDocumentScanner.java:570)
at org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.endO
fInput(XMLDocumentScanner.java:790)
at org.apache.xerces.framework.XMLDocumentScanner.endOfInput(XMLDocument
Scanner.java:418)
at org.apache.xerces.validators.common.XMLValidator.sendEndOfInputNotifi
cations(XMLValidator.java:712)
at org.apache.xerces.readers.DefaultEntityHandler.changeReaders(DefaultE
ntityHandler.java:1031)
at org.apache.xerces.readers.XMLEntityReader.changeReaders(XMLEntityRead
er.java:168)
at org.apache.xerces.readers.UTF8Reader.changeReaders(UTF8Reader.java:18
2)
at org.apache.xerces.readers.UTF8Reader.lookingAtChar(UTF8Reader.java:19
7)
at org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.disp
atch(XMLDocumentScanner.java:686)
at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS
canner.java:381)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.
java:195)
at processXPath(Unknown Source)
Thank you very much!
Sincerely Yours
Davidorg.xml.sax.SAXParseException: The root element is required in a well-formed document.This often means that the parser can't find the document. You think it should be able to find the document because your test code could. However if your test code was not in the same package as your real (failing) code, your test is no good because getResourceAsStream("conf/config.xml") is looking for that file name relative to the package of the class that contains that line of code.
If your test code wasn't in any package, put a slash before the filename and see if that works. -
Help with linked files/ compound paths please
Hi - I am working with an illustrator file from another designer which has a compound path with linked files - when you link a new file the image is automatically resized and clipped to the path. I am able to edit it but i want to make my own from scratch and can't figure it out. I'm working with Illustrator CS6. Any help greatly appreciated. Thanks
Hi Steve - thanks for the reply - my question was a bit vague as I wasn't entirely sure what I was working with but I think your point about the new linked image scaling to the same size as the existing file has helped me understand it a bit more. What I want to know how to do is to make an entirely new file with a clipping mask that I then link an image to. I made a file with a clipping mask on the page and then chose file>place but the image I import is not being clipped (I ticked the link option when importing it) I see it working with the existing file I'm working with but I need to know how to make a new one myself.
If this makes it clearer here's what I want to do ...
I am making a banner, I have 3 flat jpegs of t-shirts that I want to place on the banner without their white background. I made a clipping mask the same shape as the outline of the t-shirt and now I want to import the jpeg so it is a linked file and is clipped by the clipping mask and so I can use it in future to import different t-shirt image in without scaling and clipping them each time.
REally appreciate your help, thanks. -
Dataset error on MAC for linked file
Hello all,
I am trying to make use of Variables panel in Illustrator CS6 Mac version. I added a Path variable. Then placed an image in the document and added a variable for the link file. Created two datasets with default names. Then when I try to switch between two datasets it gives me error "The filter cannot complete because of an unknown error".
On PC it works fine on Mac why the Variable palette is not working. Am I missing anything here. If I just have Path or Text Variables it works fine.
Please do let me know.
Thanks all in Advance.
Regards
Farzana.Hi Laura,
If you are using SBO 2004 you should not be using this method of loading the srf form (Loadbatch actions is for SBO 6.5). Here is code in VB .Net the load it - you can convert it (I don't have it in c#).
Private Sub btnXMLForm67_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnXMLForm67.Click
Dim oXMLDoc As New System.Xml.XmlDocument
Dim xmlData As String = "C:\Training2004\Code\SBOTest\VideoStore\XMLForms\AddMovie.srf"
Dim oForm As SAPbouiCOM.Form
Dim creationPackage As SAPbouiCOM.FormCreationParams
'Create the FormCreationParams object
creationPackage = oAppObj.SBO_App.CreateObject( _
SAPbouiCOM.BoCreatableObjectType.cot_FormCreationParams)
'Specify the parameters in the object
creationPackage.UniqueID = "SOS_MyFormID"
creationPackage.FormType = "60004"
creationPackage.BorderStyle = SAPbouiCOM.BoFormBorderStyle.fbs_Fixed
oXMLDoc.load(xmlData)
'Just a sample for a XML string describing a form same as used for LoadBatchActions
creationPackage.XmlData = oXMLDoc.InnerXml
'Add the form to the SBO application
Try
oForm = oAppObj.SBO_App.Forms.AddEx(creationPackage)
Catch ex As Exception
Exit Sub
End Try
'Set the form title and visibility
oForm.Title = oForm.Title & "-2004"
oForm.Visible = True
End Sub -
Source filename during runtime for link file (txt, image)
hi,
I want to pass the value or path of the source filename to the link file object I placed in the report.
how can I do that..
please help me out.
regardsHello,
You can use the "Read From File" property :
http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwcontxt/props/pi_col_read_from_file.htm
Regards -
Need urgently help for OBIEE Installation (11g)
Hi all,
I am having problems trying to install Oracle Business Intelligence 11g on Windows 7.
The Installation Wizard hangs on the step: Domain Configuration (0%). The Creating Domain shows In progress.
The log under the Inventory directory shows me only following:
INFO: Ending the inventory Session
INFO: Using an existing InstallAreaControl for this Inventory Session with existing access level 1
INFO: The ORACLE_CONFIG_HOME env var is set to
INFO: The ORACLE_CONFIG_HOME env var is set to
INFO: The ORACLE_CONFIG_HOME env var is set to
INFO: The ORACLE_CONFIG_HOME env var is set to
INFO: The ORACLE_CONFIG_HOME env var is set to
INFO: The ORACLE_CONFIG_HOME env var is set to
INFO: The ORACLE_CONFIG_HOME env var is set to
INFO: The ORACLE_CONFIG_HOME env var is set to
INFO: The ORACLE_CONFIG_HOME env var is set to
INFO: The ORACLE_CONFIG_HOME env var is set to
INFO: The ORACLE_CONFIG_HOME env var is set to
INFO: The ORACLE_CONFIG_HOME env var is set to
INFO: The ORACLE_CONFIG_HOME env var is set to
INFO: The ORACLE_CONFIG_HOME env var is set to
INFO: The ORACLE_CONFIG_HOME env var is set to
INFO: The ORACLE_CONFIG_HOME env var is set to
I really don't know what to do. I am searching for a solution on Internet, but I don't find it.
I need urgently help. I would appreciate someone could help me.
We can do together via Webex or something similar. It doesnt worth it for me to type here and wait till someone give me an answer (if any), trying to find out how I did.
I hope to find the help I need. I am desperated :-(Can I install the OBIEE 10g version?I am not sure but i think OBIEE is not certified with windows 7. i could not find any MOS doc confirming same. Please log a call with oracle to confirm this.
would it work fine with the Oracle Database 11g and the RCUs?. Yes OBIEE 10g will work with oracle database 11g.
Thanks,
JD -
Urgent help required - linked subreport keeps asking for parameter value
Greetings,
I have developed a report in the Crystal Reports bundled with Visual Studio 2005. The data is obtained from a stored procedure. One of the fields in the result set is named "Id".
I have embedded a subreport in the details row of the main report. The subreport also gets its information from a stored procedure. This stored procedure has one parameter named "OpportunityId". This field is linked to the field named "Id" above. the subreport has been set to supress blank subreports.
In the development environment and running the executable of the application on the development machine the report works perfectly. The subreport displays as it should and all is well.
When I deploy the report onto user machines where they have the crystal runtime installed, the report keeps asking for a parameter value for the subreport.
I cannot get this to stop happening.
This report is urgently required. PLEASE could someone help me out here.
I am at my wits end.
I have attached a zipe file containing the following:
- the two stored procedure
- the rpt file
- a sample report
- a screen showing the report having just been generated
Thanks in advance,
Robert Lancaster<p>Hi Robert,</p><p>I see your report template and stored procedures. All seems to be ok. <br /></p><p>The most important is to assign the report parameters for all linked subreports (only one in your case).</p><p> </p><p>Try this (in C#, in VB.NET the code are very similary): </p><p>ReportDocument report = new ReportDocument(@"TopFortyReport.rpt");</p><p>AssignParameters(report, paramCollection);</p><p>// and now assign parameters to all linked subreports </p><p>foreach( CrystalDecisions.CrystalReports.Engine.Section section in report.ReportDefinition.Sections)</p><p>{</p><p> foreach (CrystalDecisions.CrystalReports.Engine.ReportObject reportObject in section.ReportObjects)<br /> {</p><p> if (reportObject.Kind == ReportObjectKind.SubreportObject) </p><p> {</p><p> SubreportObject subReport = (SubreportObject)reportObject;</p><p> ReportDocument subDocument = subReport.OpenSubreport(subReport.SubreportName); AssignParameters(subDocument, paramsCollection);</p><p> }</p><p>} </p><p> </p><p>void AssignParameters(ReportDocument report, object[] paramsCollection)</p><p>{</p><p> int nParams = paramsCollection.Length;</p><p> for (int iParamIndex = 0; iParamIndex < nParams; iParamIndex++)</p><p> {</p><p> if (report.DataDefinition.ParameterFields[iParamIndex].IsLinked())</p><p> continue;</p><p> report.SetParameterValue(iParamIndex, paramsCollection[iParamIndex]);</p><p> }</p><p>}</p><p> </p><p> </p>
-
URGENT Help for applet with JAR file in Netscape
I am having Applet with few classes
Html is in /www directory
and all class files are in /www/javaclassfiles
I jared all javaclassfiles with following command
c:\www\javaclassfiles>jar -cvf sample.jar TaxPaymentAppletForm.class *.class
where sample.jar is my jar file and TaxPaymentAppletForm.class is the main applet class file.
THEN I DELETED ALL CLASS FILES & KEPT ONLY SAMPLE.JAR FILE ON SERVER
My html code is like below:
<APPLET CODE="TaxPaymentAppletForm" ARCHIVE="sample.jar" CODEBASE="JavaClassFiles" WIDTH=460 HEIGHT=400></APPLET>
The things are running on IE properly, but not on Netscape. Netscape is giving following error :
java.io.IOException: <null>
at netscape.net.URLConnection.connect(Compiled Code)
at netscape.net.URLConnection.getInputStream(Compiled Code)
* at netscape.applet.AppletClassLoader.grabArchiveFile(Compiled Code)
at netscape.applet.AppletClassLoader.openArchive(Compiled Code)
at netscape.applet.AppletClassLoader.openArchive(Compiled Code)
at netscape.applet.AppletClassLoader.<init>(Compiled Code)
at netscape.applet.AppletClassLoader.getClassLoader(Compiled Code)
at netscape.applet.DerivedAppletFrame$LoadAppletEvent.dispatch(Compiled Code)
at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled Code)
at java.awt.EventDispatchThread.run(Compiled Code)
at netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled Code)
# Unable to load archive http://nearbuy_server:90/iras/JavaClassFiles/sample.jar: java.io.IOException: <null>
# Applet exception: class TaxPaymentAppletForm could not be loaded
# Applet exception: class TaxPaymentAppletForm could not be loaded
# Applet exception: class TaxPaymentAppletForm could not be loaded
In netscape also it is sometimes running some times not, without any logical reson.
Any help regarding this is appreciated
manishaFollowing is the more detailed analysis when applet is running and when not
On local server, it is running fine on both IE / Netscape
When I transfered jar file to live server
On IE it is running for the first time and then onwards not running, If I clear the catch then again applet is running.
For second time it is giving following error :
IOException Loading Archive: http://dev1.janusx-collections.com/iras/JavaClassFiles/AppletForm.jar
java.io.IOException: dev1.janusx-collections.com:80//iras/JavaClassFiles/AppletForm.jar
at com/ms/net/wininet/http/HttpInputStream.connect
at com/ms/net/wininet/http/HttpInputStream.<init>
at com/ms/net/wininet/http/HttpURLConnection.createInputStream
at com/ms/net/wininet/WininetURLConnection.getInputStream
at com/ms/vm/loader/JarArchiveSet.loadNextJar
at com/ms/vm/loader/JarArchiveSet.getResourceBits
at com/ms/vm/loader/JarArchiveSet.getClassData
at com/ms/vm/loader/ResourceLoader.getClassData
at com/ms/vm/loader/URLClassLoader.findClass
at com/ms/vm/loader/URLClassLoader.loadClass
at com/ms/vm/loader/URLClassLoader.loadClass
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.run
at java/lang/Thread.run
java.lang.ClassNotFoundException: TaxPaymentAppletForm
at com/ms/vm/loader/URLClassLoader.loadClass
at com/ms/vm/loader/URLClassLoader.loadClass
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.run
at java/lang/Thread.run
ON Netscape it is NOT running at all on from live server and error is as given in above first post.
manisha -
Very urgent help - for update field1 nowait across databaselink
Hi,
We have a form that uses select for update field1 nowait for a table that is accessed across a database link. When we try to do this the form errors out giving frm-92101 error. If I comment out the for update statement then it works fine. I know it the for update that is causing the problem but I'm not sure how to fix it. Can someone help me please. Very urgent, we are in the middle of upgrade and we found this issue while testing the forms.
Any ideas or suggestions ?
I'm using 10g App.Server and 10g database.
Please help.
Thanks in advance.under which trigger you ran that update ?
-
Need urgent Help for setting up iCal Server
I will move the iCal portion here, maybe I will get some help.
Okay first my setup:
Two XServe with the latest 10.5 (one is the backup)
Six Mac Pros with Leopard
Three Macbook Pros with Snow Leopard
All Macs are on an Windows 2003 Active Directory network. Also we have our accounts locally (on each workstation and laptop).
*So I have installed the advanced settings for the Server OS.
*Created a account for every user on the server
*The FTP, Web (for the local webpage), Open Directory and iCal services are on. (iCal would only activate with Open Directory service??)
*The iCal server destination (for the calendars) are on a separate drive with +Ignore Permissions+
Still can not link a account through iCal with the server!
Could somebody give me a walkthrough how to setup the iCal server?
Oh yeah another issue I had I can't get the calendaring checkbox in the user account to stick! Is this just a bug?Hi Umesh,
I would not use the repository on a database that was cloned. In my experience this leads to problems.
A better way is to clone the database and then create a new repository on the clone:
1. export the repository on the windows server to an mdl file
2. unregister all target users on solaris
3. drop the repository on solarais
4. create a new repository on solaris
5. Import the data from the mdl file you exported in step 1
6. register target users
7. configure and register the locations
This way requires some manual work, but I do not see another way.
Regards,
Carsten. -
Urgent Help: Password Protect Files in WebLogic
I am a newbie in Java and have a very urgent and serious problem which I hope to
get some advice from the experts =}. As u know that by keying in the exact url
of a document that resides on the server, any1 will be able to download the file
without logging in at all.
For my case, I already have secruity checking in place e.g. "/customer/check.jsp"
to check if the user e.g. ERIC exists in the database before allowing him to login
to access the files under that specific directory e.g. "/customer/docs/". If someone
[not ERIC] tried to access other files like jsps/htmls/other directories without
logging, the person will be thrown back to the login.jsp e.g. "/customer/login.jsp".
This is ok. But this does not solve the above stated problem. If the person enters
the URL e.g. "http://www.abc.com/customer/docs/mytest.pdf", he can retrieve that
particular file without logging in.
The only way to block it is via the "URLacl" which will prompts for login if the
URL is entered directly.
The only problem is that my customers will definitely complain if they have to
login at the login.jsp e.g. "/customer/login.jsp" and when they click to download
the file e.g. "/customer/docs/mytest.pdf". Any ideas I can pass the login info
around without logging twice or how can I protect/restrict the entire directory
"/customer/docs/" by using jsp?
Any help is greatly appreciated!!!
thanks alot in advance....Hi,
I think you want to create a WebApplication.
Please have a look at:
http://e-docs.bea.com/wls/docs70/webapp/basics.html#108532
In this WebApplication some subdirectories are not allowed to everyone to enter.
For this the user has to be authenticated.
This can be done through configuring the WebApplication.
http://e-docs.bea.com/wls/docs70/webapp/security.html#100607
A sample can be found in the examples directory which comes with
WLS: examples\webapp\security WebApp.
Christian Plenagl
Developer Relations Engineer
BEA Support
"moonz02" <[email protected]> wrote:
>
I am a newbie in Java and have a very urgent and serious problem which
I hope to
get some advice from the experts =}. As u know that by keying in the
exact url
of a document that resides on the server, any1 will be able to download
the file
without logging in at all.
For my case, I already have secruity checking in place e.g. "/customer/check.jsp"
to check if the user e.g. ERIC exists in the database before allowing
him to login
to access the files under that specific directory e.g. "/customer/docs/".
If someone
[not ERIC] tried to access other files like jsps/htmls/other directories
without
logging, the person will be thrown back to the login.jsp e.g. "/customer/login.jsp".
This is ok. But this does not solve the above stated problem. If the
person enters
the URL e.g. "http://www.abc.com/customer/docs/mytest.pdf", he can retrieve
that
particular file without logging in.
The only way to block it is via the "URLacl" which will prompts for login
if the
URL is entered directly.
The only problem is that my customers will definitely complain if they
have to
login at the login.jsp e.g. "/customer/login.jsp" and when they click
to download
the file e.g. "/customer/docs/mytest.pdf". Any ideas I can pass the login
info
around without logging twice or how can I protect/restrict the entire
directory
"/customer/docs/" by using jsp?
Any help is greatly appreciated!!!
thanks alot in advance....
Maybe you are looking for
-
Hello, I would like to set the file extension for cl_gui_frontend_services=>file_open_dialog such that my default extension in the file open dialogue is the .csv (comma-separated value) file. May I know how can I do that? Thanks! Regards, Anyi
-
How to use camcorder to record direct to laptop (bypassing tape)
I tried to record a movie directly from my Sony handycam DCR-HC28 onto my laptop. It did record the movie, but seemed to cycle through various alterations of the image. For example, for a few minutes the image would appear in negative, then little bo
-
HI all, IF any one worked on XMI and any one have the documents which have the basic concepts on XMI, Please share with me. Please post some useful links on XMI. Thanks in advance. Thanks & Regards, Phani
-
Can u tell me how to set cookie version
I want to know is there any cookie version? If yes how to set from a JSP/Servlet program
-
Need help with class inheritance
I've got a class called jemAccount and i need to create a savings account class and a checking account class that inherit from it. Here is the jemAccount: public class jemAccount protected String myName; protected double myBalance; protected double[]