The backslash problem when using file new file
how would i change c://
to c:\
because normally in windows you would use c:\
but since when you use "\" backslash in a string it would come up with a syntax error
im trying to input using a jtextfeild c:\
and i want the output to be changed to c://
how would i go about doing this?
iv solved my problem with the help from corlettk's
answer
thanks for the help
// convert
String convert = inputTextbox.getText();
convert.replaceAll("c:\"", "c:\\");
{code}
Similar Messages
-
i tried everything in this article, but still have the same problem when using Rapidweaver software. NOT with other software. I am converting my iWeb site to Rapidweaver, whenever there is a calmer period in my office. I have 16 Gb RAM on my NEW iMac and have Parallels desktop, mail, safari, iWeb and Rapidweaver running simultanious.
I never have the problem if i don't use Rapidweaver, but after i have added several pages to Rapidweaver, the problem begins. my iMac won't start up. the only thing that works is re-installing Macos OS X 10.8. i tried even whiping the completeharddrive, and reinstalling with a complete new user, the same problem.
I had it on my previous iMac also, and bought a new one because i thought the problem was in the iMac first. i hadn't noticed it only happens with using rapidweaver.
i sent my complete rapidweaver project to the programmers from rapidweaver at Realmacsoftware, but they couldnt reproduce my problem, there macs started up without any problem.
i deleted all the rapidweaver addons and extra stacks, and started a complete new project.
saterday i had the problem again, after adding about 5 new pages to my rapidweaver site.
i think i have reinstalled Macos OS X 10.8.2 20 or 30 times by now
does anyone have a sollution?Type '''about:support''' in the URL bar and hit Enter.
Scroll down almost to the bottom of that listing and see if you have '''user.js Preferences''' just above the '''''Graphics''''' category.
If you do have that, click on '''user.js file''' in this sentence. <br />
''Your profile folder contains a user.js file, which includes preferences that were not created by Firefox.''
Does that "different homepage" appear in that user.js file? -
Problem when using a new class "File" in JSP
I'm using Weblogic 4.52sp2 under Solaris 2.6 with JDK 1.2.1_04. I've got a problem with a JSP that uses a commercial bean which contains a specific "File" class. This class has its own package: com.jspsmart.upload.File. While compiling, Weblogic raises an exception:
Fri Mar 09 14:41:38 CET 2001:<I> <ServletContext-Servlets> weblogic.servlet.JSPServlet: Generated java file: /data/html/compiledJSP/_jspsmartupload/_jsp/_sample2.java
Fri Mar 09 14:41:43 CET 2001:<E> <ServletContext-Servlets> weblogic.servlet.JSPServlet: Compilation of /data/html/compiledJSP/_jspsmartupload/_jsp/_sample2.java failed:
/data/html/compiledJSP/_jspsmartupload/_jsp/_sample2.java:46: Ambiguous class: java.io.File and com.jspsmart.upload.File
f = new File("/data/html/jspsmartupload/jsp/sample2.jsp");
I looked at the .java generated file but it seems that everything is OK: f is a java.io.File
public class _sample1 extends weblogic.servlet.jsp.JspBase implements weblogic.servlet.jsp.StaleIndicator {
// StaleIndicator interface
public boolean _isStale() {
java.io.File f = null; long lastModWhenBuilt = 0L, lastMod = 0L;
f = new File("/data/html/jspsmartupload/jsp/sample1.jsp");
lastModWhenBuilt = 984144952000L;
lastMod = f.lastModified();
if (!f.exists() || lastMod > lastModWhenBuilt) return true;
return false;
We can't neither change the bean (no sources) nor Weblogic JSP engine (of course). Has anyone a solution ?
[att1.html]
i think you should try this
f = new java.io.File("/data/html/jspsmartupload/jsp/sample1.jsp");
"Laurent PAILLARD" <[email protected]> wrote in message
news:[email protected]...
I'm using Weblogic 4.52sp2 under Solaris 2.6 with JDK 1.2.1_04. I've got a
problem with a JSP that uses a commercial bean which contains a specific
"File" class. This class has its own package: com.jspsmart.upload.File.
While compiling, Weblogic raises an exception:
Fri Mar 09 14:41:38 CET 2001:<I> <ServletContext-Servlets>
weblogic.servlet.JSPServlet: Generated java file:
/data/html/compiledJSP/_jspsmartupload/_jsp/_sample2.java
Fri Mar 09 14:41:43 CET 2001:<E> <ServletContext-Servlets>
weblogic.servlet.JSPServlet: Compilation of
/data/html/compiledJSP/_jspsmartupload/_jsp/_sample2.java failed:
/data/html/compiledJSP/_jspsmartupload/_jsp/_sample2.java:46: Ambiguous
class: java.io.File and com.jspsmart.upload.File
f = new File("/data/html/jspsmartupload/jsp/sample2.jsp");
I looked at the .java generated file but it seems that everything is OK: f
is a java.io.File
public class _sample1 extends weblogic.servlet.jsp.JspBase implements
weblogic.servlet.jsp.StaleIndicator {
// StaleIndicator interface
public boolean _isStale() {
java.io.File f = null; long lastModWhenBuilt = 0L, lastMod = 0L;
f = new File("/data/html/jspsmartupload/jsp/sample1.jsp");
lastModWhenBuilt = 984144952000L;
lastMod = f.lastModified();
if (!f.exists() || lastMod > lastModWhenBuilt) return true;
return false;
We can't neither change the bean (no sources) nor Weblogic JSP engine (of
course). Has anyone a solution ?
-
How do i see the thumbnails when using File Explorer
How do I get to see the thumbnail preview when using File > Open?
Not sure if this has been answered yet, but Illustrator thumbnails aren't showing in Creative Cloud Web file list. Also, anywhere to quick preview/navigator the file?
-
How to Select the Current Row When Using af:iterator?
Hello all,
I encounter the following problem when using af:iterator to display data from
a View Object:
When trying to display the content of a row via a popup, only the first row is
returned no matter which row is selected. So a selection of the current row
should exist or some other method which should allow the access to the
current row.
The af:table has a selectionListener attribute which permit to achieve this.
Does anyone know about some similar attribute or some method for
selecting the current row when the af:iterator is used?
Thank you,
MirelaI would be interested in the answer to this basic question as well. I cannot get the selected row value of an attribute in an iterator for a view if I simply set-up a attribute binding to the iterator. It seems that this should be possible. I've had no other option but to obtain the current row and the related attributes programmatically. This works fine, but if there is a more elegant option, then I'd certainly like to use it.
<af:table value="#{bindings.CompaniesView1.collectionModel}"
var="row"
rows="#{bindings.CompaniesView1.rangeSize}"
emptyText="#{bindings.CompaniesView1.viewable ? 'No data to display.' : 'Access Denied.'}"
fetchSize="#{bindings.CompaniesView1.rangeSize}"
selectedRowKeys="#{bindings.CompaniesView1.collectionModel.selectedRow}"
rowBandingInterval="0" id="tCompanies"
summary="Companies"
width="100%"
rowSelection="single"
binding="#{CompanyBackingBean.companiesTable}">Page Def:
<attributeValues IterBinding="CompaniesView1Iterator" id="Id">
<AttrNames>
<Item Value="Id"/>
</AttrNames>
</attributeValues>I should be able to get the Id attribute value of the current selected row using "#{bindings.Id}", right? Well, it doesn't work for me. Any ideas?
Thanks -
MacBook Pro i5 with retina will not recognize WD Passport even though I successfully used it to transfer programs and files from my older MacBook ten days ago. It receives power from the USB, but when using Time Machine I receive the message that there is not an external device connected.
If the modem is also a router, either use the modem in bridge and run pppoe client on the TC.. that is assuming ADSL or similar eg vdsl. If it is cable service.. and the modem is a router, then bridge the TC.. go to internet page and select connect by ethernet and below that set connection sharing to bridge.
Please tell us more about the modem if the above gives you issues. -
What is the exact problem with this file?
Hi all,
There is an old form , which was not in use from many days.
Now when we tried to run the form, i got the error saying "FRM-40734:Internal Error:Pl/SQL error occured.", in the login form.
When i tried to open the fmb file in Oracle Forms Builder 6i, i got the following error:
FRM-10102: Cannot attach PL/SQL library d2kwutil. This library attachment will be lost if the module is saved., but the fmb file got open.
The login button has the following code:
DECLARE
UNAME VARCHAR2(30);
--USER_ID PARAMLIST;
V_USER APUSERMA.USER_NAME%TYPE;
V_PASSWED APUSERMA.USER_PASSWD%TYPE;
BEGIN
select user_CD INTO :GLOBAL.USER_ID from apuserma
where user_CD = :TI_USER_NAME AND user_PASSWD = :IT_USER_PASSWD
AND SYSDATE BETWEEN USER_VALID_FRM AND USER_VALID_TO;
:global.user_id := substr(win_api_environment.read_registry('HKEY_LOCAL_MACHINE\system\currentcontrolset\control\computername\computername','computername'),1,10);
:global.compname := :compname;
compnm(:compname);
--USER_ID := CREATE_PARAMETER_LIST('USER_id_NAME');
call_form('Forms\MAIN_SCREEN',hide,DO_REPLACE);
exception
when no_data_found then
MESSAGE('Incorrect Username or Password. Please Re-Enter');
message(' ');
RAISE FORM_TRIGGER_FAILURE;
END;
EXIT_FORM;
When i tried to compile, i got error saying ,
Error 201 at line 10, column 28
identifier 'WIN_API_ENVIRONMENT.READ_REGISTRY' must be declared.
I am not getting to know What is the exact problem with this file?
Help me with this please.
Thank You.
Oracle forms builder 6i.
Oracle 9i.Vijetha wrote:
I also want to know what is the use of win_api_environment.read_registry('HKEY_LOCAL_MACHINE\system\currentcontrolset\control\computername\computername','computername') ??
What does it do??
If i comment the following line , will it be a problem??
:global.user_id := substr(win_api_environment.read_registry('HKEY_LOCAL_MACHINE\system\currentcontrolset\control\computername\computername','computername'),1,10);
Because i commented the above line & compiled, so it is not giving any error now.
So please tell me what win_api_environment.read_registry does??
it's read windows registry value. So, no problem if you comment it.
Thanks -
When writing an e-mail directly on the Orange e-mail service (not on Thunderbird) I am facing the following problem : some distribution lists cannot be used to complete the adressees. The same lists can be used without difficulty if I use Internet Explorer instead of Firefox. The Orange hotline told me that probably my Firefox version was not updated. Unfortunately I checked that, and apparently the automatic updating works. I have also updated the plug ins, without any result.
Please could you specify which webpage you mean ?
The process with Orange is the following :
- 1. click on "Write an e-mail" on the mail webpage
- 2. click on "To" to reach the Contacts which opens a new window
- 3. click on "Distribution lists"
- 4. click on the selected list then click on "add". The list appears ot the box corresponding to the addresses .
UNTIL THEN EVERYTHING WORKS WELL
- 5. click on the button "validate", which closes the window previously opened and normally
- 6. reloads the initial page with the complete list on the line "To". Instead of that I get the last e-mail address I previously used .
Question : at which step of this process should I try your suggestions ? I tried when the initial page was reloaded with the wrong address, but it did not work to get back the rignt distribution list;
Note that the whole process functions with OTHER Distribution lists. The only difference is that the problematic one has a larger number of adresses (62) however inferior to the maximum indicated by Orange (100).
I also remind that there is no problem when using Internet Explorer instead of Firefox.
Thanks for your help ! -
Hi all, I bought one iphone and 3 ipads, i set up all on one apple ID. Now i have a problem when using messages: when sending message from one device it appears again on screen from the other 3 devices. I need help on how to set up messages on each device separately and to start using messages app on each device independently. Thanks
search google for "iphone remove picture from contact"
-
When using my new nano 7 with nike+, my music stops after the 30 minute voice alert even though I have set my run/workout for over 30 minutes. It also cancels/deletes that run/workout. This has happened several times. How can I keep this from happening?
If possible I would arrange for a good service center to go over it. Hopefully they have a variety of parts in stock. They can test and verify all is working. The previous attempts are based on guesses by the person at the other end of the phone without diagnostic tests to assess the culprit. It is extremely unlikely for a webcam to fail & for it & a Mic to fail together should be an indicator to a good technician it is something else. EG Motherboard
Take it to a servicing dealer and wait for it.
T520 Model 4239 Intel(R) Core(TM) i7-2860QM CPU @ 2.50GHz
Intel Sandy Bridge & Nvidia NVS 4200M graphics Intel N 6300 Wi-Fi adapter
Windows 7 Home Prem - 64bit w/8GB DDR3 -
I have problems when using the camera on my iPhone 4S (the same for my daughter with a iPhone4)
A veil around the blurred photo, a development impossible and completely unable to read the bar code or QR code. What to do?Sounds kind of stupid, but check to make sure that your iphone case cover is not blocking the edge of the camera lens. I had a silicone case on my 3S and when it got older, it started tot slip and the edges of my pictures were blurred.
-
Hello all, can somebody help me?
I have encountered a problem when using Flash Player
V9.0.115. Your help would be greatly appreciated.
The problem described as follows:
1. The flash file with sound works well before uploaded to
website. The audio lost when uploaded to the website(There is no
problem with the flash file size). I have uploaded the flash file
to website for you to test. Please go to
http://www.sameshow.com/democreator/create
a new site.swf and kindly check with it.
2. When we open the flash movie in IE with Flash player
V9.0.47 and previous versions (Flash9d.ocx), the flash movie with
sound works well.
3. When we upgrade the flash player to the latest version
V9.0.115 (Flash9e.ocx), the video works well, but the sound just
can play several seconds and then stop.
4. On Flash Player ocx V9.0.115. If we publish the flash
movie on web with 24fps, the sound just can work several seconds
and then stop, the problem is the same if we use the
TShockWaveFlash control to play the flash movie.
5. On Flash Player ocx V9.0.115. If we publish the flash
movie with 12fps, the sound works well but the quality is really
very poor. It seems that the sound plays shorter with more frames
per second. But the flash file works well with the Flash Player
V9.0.47 and previous versions (Flash9d.ocx).
Can somebody help me to figure it out? Thanks in advance!
Regards,
Sabrina
[email protected]Hello Darren, I really appreciate your response. My mail is
[email protected] I have uploaded the flash file to our
ftp,
http://www.sameshow.com/democreator/create
a new site.swf. And also I compressed the original file to a
zip file and uploaded to our ftp at
http://download.sameshow.com/aff/create.zip,
please kindly check! When we playing this flash file on FlashPlayer
V9.0.47 and previous, the audio works well. But the audio just can
play several seconds and then stop when I playing it on FlashPlayer
V9.0.115. The garbled audio makes us very upset. Your help would be
great appreciated!
Sabrina Fu -
Cannot email pdf using Acrobat Reader XI v11.0.3 in Windows 8. No problem when using in ms vista. get "authentication error". Sometimes will get a very quick dialogue box showing the gmail login screen but then disappears. I use firefox and IE
Hi Rodney
Welcome to Apple Discussions
This sounds like one of those "oddities", contributed to by a few sources.
I can clear the Safari cache files as a temporary solution, but I encounter the same difficulties with the “problematic” files once they have been opened again.
Wondering if you disabled the Safari Cache would the refresh function work correctly? As a test you can disable the Safari Cache by Emptying the Cache first via the Safari menu, then Quit Safari. Now go to the Finder>Your User Library>Caches>Safari. Single click on the Safari folder, then Apple Key + I to open Info panel. There, check the "locked" box. This prevents further additions to the cache. The downside, you lose your ability to upload images etc. within Safari (my cache is disabled, so I use Firefox for the uploads).
Then restart Safari. Try the PDF from within Safari.
Post back -
Omit the XML declaration when using the PHP MM_XSLTransform class
Hi
Is there any way to omit the XML declaration when using the
PHP MM_XSLTransform class?
When using the PHP MM_XSLTransform to transform some XML into
HTML, the XML declaration is faithfully delivered, which is
expected. In my case though this ends up in the body of the
document and is not desired. I wish to choose that the XML
declaration is not shown.
I have tried to use the <xsl:output method="xml"
encoding="utf-8" omit-xml-declaration="yes"/> in the XSL
stylesheet but the declaration still appears.
Any help?
all the best
DaveJim20005 wrote:
> I'm using XLS transfomation in DW for reading XML files.
Now (I'm just back
> form holiday), my webspace provider has updated to php
5.1.5. I'm getting this
> error:
Comment out line 301 and add two new lines immediately after
it like this:
// $xml = DOMDocument::loadXML($content);
$doc = new DOMDocument();
$err = $doc->loadXML($content);
This is part of a PHP 8.0.2 hotfix that can be obtained
directly from
Adobe support.
David Powers
Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
http://foundationphp.com/ -
I want to remove or hide the Details Panel. when using OpenDoc.
Hello I'm Yong ho Park.
I recently had hard time because of Details Panel.
I want to remove or hide the Details Panel. when using OpenDoc(Dashboard file).
My system's version is BI 4.1 SP02.
Is your problem solved??
If your problem isn't solved, I want to be offered related formation.
I need your help. !!Hi,
you cant hide the Details Panel. This behaviour is By Design.
http://service.sap.com/sap/support/notes/2021076
Regards
-Seb.
Maybe you are looking for
-
ITunes podcast feed not updating
My podcast feed was broken in January. It is now working again, but iTunes is not picking it up. Do I have to do something to re-start it and get it working again? When I go to iTunes and find my podcast, it shows all the most recent podcasts up unti
-
Configuration Scenario - Inbound Delivery
Configuration Scenario How can this scenario be best configured on SAP? This is how the client receives goods ordered: A PO is created and sent to the relevant vendor. The vendor does not deliver the goods directly to the client; the goods are deliv
-
Filemaker web server connector and 10.5
i have been trying to install filemaker server connector which needs root access. i enabled root user and logged into it for the install but the installer still asks to login as root. is there anyway of forcing the installer? is there something else
-
Window Handles Lost When Using Compiz-Fusion
Well, I decided to try using compiz-fusion with LXDE, and as soon as I started up fusion-icon, my window title bars are gone. Only way I can get them is by setting my window manager to OpenBox, but that means not being able to use compiz-fusion's ey
-
Apple TV-doesn't support Netflix
My Apple TV [purchased in 2008] does not support Netflix ... [only shows youtube and radio under internet options] ... it says my software is up to date when I try to update ... is there anything I can do?