How can ı run my JavaMail main class in dos mode ?
I develop a program about current account. There are two classes. One class is main class. I can run main class in Sun One Studio but ı can not run in DOS mode. If ı wrote "java Carihesap " on command line appear exception in thread main javax/mail/messaging exception.
Please help me about this problem
ı didnt include any jars within my project. My project occur only two classes. First one main class other one table model class .
Similar Messages
-
Please,how can I use javamail to implementing draft box on webmail
please,how can I use javamail to implementing draft box on webmail
I already can send and receive EMail ��create
subfolder with javamail in imap server.but I don't
know how implement draft mailbox with webmail .
please expert help me . thanksyou can only create subfolders in a imap mail server ,and you can use folder class included in javamail api to access,create,modify and delete subfolders.You also can create subfolders under a subfolder as you want.
the simple example is:
//first create mail session
mailSession=...
// second create mail store
mailStore=...
//third get root folder
IMAPFolder rootFolder = (IMAPFolder)mailStore.getFolder("INBOX");
if ((rootFolder==null)||(!rootFolder.exists())) return false;
//finally create a subfolder "outbox" under root folder "inbox"
IMAPFolder tmpOutFolder = (IMAPFolder)rootFolder.getFolder("OUTBOX");
if (tmpOutFolder==null) return false;
//if the target folder not exist just create it
//note:when you create a subfolder you can assign its attribute.Details,please read the javamail document.
if(!tmpOutFolder.exists()) tmpOutFolder.create(Folder.HOLDS_MESSAGES); -
How can i transfer my main HD to a new one?
How can i transfer my main HD to a new one?
If yours in a MacBook Pro notebook computer, the usual way is to buy or borrow an external enclosure to do the transfer from a perfectly-working drive inside your MacBook to the new drive mounted in the enclosure.
If your internal drive has failed, other methods may be needed.
If you do not already have at least one external enclosure, you should buy one to use for your Backup Drive. If money is short, you could borrow the enclosure your backup drive is in (in most cases) for this transfer.
The Mac will boot from any drive specified in
System preferences > Startup Drive ...
... regardless of whether that drive is Internal or External. -
i bought my iphone from jordan and it was locked to orange jordan, now i am living at UAE how can run my phone here ?
Only Orange Jordan can unlock this phone for you, provided that they offer this service. You can't use UAE SIM in this phone or it will get locked.
If Orange Jordan doesn't offer unlocking, then your best shot is to sell your phone in Jordan and buy a new one from UAE. -
How can I call a nonstatic class
Hello All,
I've wrote a simple bean for my testcase that count a value (e.g. site access):
public class Bean1 {
private int accessCount = 1;
public int getAccessCount() {
return (accessCount++);
If I call the bean with a jsp-site, it works fine with different scope. e.g. session and application.
With session scope different browser count different. With application scope different bowser count together. Thats the normal attitude.
My jsp code:
<jsp:useBean id="counter" class="ml.view.Bean1" scope="session" />
<jsp:getProperty name="counter" property="accessCount" />
This don't work with a static bean (normal too), but I can only call a static class in my UIX site.
I call the bean from uix with the invoke element. Is that correct? How can I call a nonstatic class with a special scope? Which other solution ist possible?
My uix code:
<invoke method="getAccessCount" result="${uix.eventResult.getAccessCount}" instance="${sessionScope.myBean.getAccessCount}" exception="${uix.eventResult.error}" javaType="ml.view.myBean"/>
Thank you for any solution!
The error messages are:
java.lang.NullPointerException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java)
at oracle.cabo.servlet.event.InvokeEventHandler._invoke(Unknown Source)
at
and so forth...false in my uix code example: javaType="ml.view.myBean"
correct: javaType="ml.view.Bean1"
Sorry :-) that was only an error in my post not in the really example. -
Hi how can I move the main text in the "San Fransisco CV" up.
The name thats in the "box" as the "adress" ect, is easy to move up...
But the main text please...
BR,
DDavid,
The various templates in Pages seem to have been designed by individuals without much guidance or mandate for standard approaches to layout. In a way, tha's good because you have a variety of philosophies to choose from.
The message is that you can't take what you learned here and assume that all the templates work this way. I answered your question by turning on the Layout View and looking at the Inspectors to see what controls had been used.
Jerry -
How can run the report SAP_INFOCUBE_DESIGN?
hI gURUS
To know about the DIM Table size
How can run the report SAP_INFOCUBE_DESIGN?
Thanks
Cheers
DuraiFunction (se37):
RSDEW_INFOCUBE_DESIGNS
Try to see/run this function in order
to get statistic about one InfoCube
How to determine the size of DIM?
From this Function u can determine
how many rows in DIM u have.
After this u can determine size of DIM table:
ROWS * (How many Bytes are in one row) = Size of table.
In order to determine how many Bytes are in one row,
u can see transaction se11 -> Database table -> Tabkle name of DIM -> Display -> Fields -> just add the length*Bytes for all fields in this table.
BR -
How can run one JSF 1.1 application in Glassfish v2?
Hello
How can run one JSF 1.1 application in Glassfish v2?
I need deploy one JSF 1.1 application in Glassfish v2. It's possible?
Pauloin Glassfish v2 I have the messege error:
java.lang.RuntimeException: WEB5002: Exception in handleBeforeEvent.
at com.sun.web.server.J2EEInstanceListener.handleBeforeEvent(J2EEInstanceListener.java:250)
at com.sun.web.server.J2EEInstanceListener.instanceEvent(J2EEInstanceListener.java:106)
[#|2007-08-14T10:49:16.438-0300|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=21;_ThreadName=httpSSLWorkerThread-8080-0;_RequestID=416049de-0564-4eb6-8d07-ac8f65f5f7fa;|ApplicationDispatcher[/lilya2] PWC1225: Allocate exception for servlet FacesServlet
java.lang.RuntimeException: WEB5003: Exception in handleAfterEvent.
at com.sun.web.server.J2EEInstanceListener.handleAfterEvent(J2EEInstanceListener.java:320)
but in Tomcat 5.5 it work without problems. -
How can we block the asset class for company code
Hi Experts,
At what level we can define asset class and how can we block the asset class for particular company code in group company
Regards,
HarishDear Harish,
You can block the asset through OAOA at asset class level blocking at Asset Class level, and same you can block for creation at a chart of depreciation level from AM05.
And for additional acquisition you can block from AS05. I hope this will solve your issue. If you have doubts feel free to share.
Regards,
Pankaj A Bhalerao. -
How can i change my background color in "albums" mode back to black in iTunes 11
how can i change my background color in albums mode back to black in iTunes 11?
Themes work in Thunderbird - duggabe was not refering to Firefox.
Another useful addon is theme and font changer:
* https://addons.mozilla.org/fr/thunderbird/addon/theme-font-size-changer/
However, Thunderbird allows you to modify all sorts of things.
Make hidden files and folders visible:
* http://kb.mozillazine.org/Show_hidden_files_and_folders
Help > Troubleshooting Information
Click on 'show Folder' button
a window opens shwoing profile folder name
Close Thunderbird now - this is important
In the profile name folder, Create a new folder called '''chrome''' - note the spelling
It should be in the same place as the 'Mail' folder.
see first image below.
Open Notepad
Can be located : Start > Programs > accessories
Copy everything shown between the lines below.
Paste into Notepad.
Save as '''userChrome.css''' - note the spelling (edit updated - this was a typo error)
This should be saved in the '''chrome''' folder.
see second image below.
Restart Thunderbird.
I have chosen a yellow for you
<pre>
#f6f58c = a yellow....it is a hex code for a colour.
</pre>
You can change it if required. Remember when updating anything in the profile folders, you must close Thunderbird first.
More info on colours.
* http://www.yourhtmlsource.com/stylesheets/namedcolours.html
<pre>
* Do not remove the @namespace line -- it's required for correct functioning
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/*Background colour for message list*/
#threadTree > treechildren::-moz-tree-row {
background-color: #f6f58c !important;
</pre>
------------------------------------------- -
How can I get my iPhone out of landscape mode and back to portrait?
How can I get my iPhone out of landscape mode and back to portrait? Tilting the phone doesn't work.
Try following - 1 by 1:-
* make sure portrait lock is not on & try turning on/off several times
* turn off mobile and turned it back on
* hard reset by pressing lock and home at same time
If problem persist, you need to try following but be careful since the following impact your iphone.
* resetting all setting: this will reset all settings of your iphone back to factory setting
* resetting all setting by erasing all data: this will reset all setting and erase all data so do back-up and proper syncing and read relevant details
* restoring from itunes: this will also erase all data and take mobile back to day 1
last 3 options are last resort and only be done if you are sure you can restore your data.
Please don't hold me responsible for any data loss while doing last 3 options
Cheers! -
how can i change from disk modae to normal mode as none of the buttons seems to be working ?
Have you tried a hard reset of the iPod yet?
How to reset iPod
This should take you out of disk mode and allow the iPod to boot up as it normally does.
B-rock -
How can I have both functions "Read Only" & "Write" mode on the same form?
Dear all,
How can I have both functions "Read Only" & "Write" mode on the same form? Is it possibile for this?
Please advice,
AmyThis is what I use in some dialogs:
PROCEDURE SET_QUERY_ONLY IS
-- Procedure Set_query_only
-- Rend les blocks non modifiables --
-- Disable menus Insert/Delete/Clear --
-- Entree :
-- Sortie :
-- Ent/Sortie :
-- Creation : FD 10/2003
-- Modification :
LC$Block Varchar2(30) ;
BEGIN
Set_Menu_Item_Property('Edit.Insert', ENABLED, PROPERTY_FALSE ) ;
Set_Menu_Item_Property('Edit.Remove', ENABLED, PROPERTY_FALSE ) ;
Set_Menu_Item_Property('Edit.Clear', ENABLED, PROPERTY_FALSE ) ;
Set_Menu_Item_Property('Action.Save', ENABLED, PROPERTY_FALSE ) ;
LC$Block := get_form_property( NAME_IN('System.Current_Form'), FIRST_BLOCK ) ;
-- Tous les blocs en Query only --
While LC$Block is not null Loop
Enable_Block( LC$Block, FALSE ) ;
LC$Block := get_block_property( LC$Block, NEXTBLOCK ) ;
End loop ;
END;
PROCEDURE ENABLE_BLOCK
PC$Block in Varchar2,
PB$Enable in Boolean Default TRUE
) IS
-- Procedure Enable_block
-- Rend le bloc Enable / Disable --
-- Entree : PC$Block (nom du bloc Forms)
-- : PB$Enable (TRUE ou FALSE)
-- Sortie :
-- Ent/Sortie :
-- Creation : FD 10/2003
-- Modification :
BEGIN
If PB$Enable Then
Set_Block_Property( PC$Block, INSERT_ALLOWED, PROPERTY_TRUE ) ;
Set_Block_Property( PC$Block, UPDATE_ALLOWED, PROPERTY_TRUE ) ;
Set_Block_Property( PC$Block, DELETE_ALLOWED, PROPERTY_TRUE ) ;
Set_Menu_Item_Property('Edit.Insert', ENABLED, PROPERTY_TRUE ) ;
Set_Menu_Item_Property('Edit.Remove', ENABLED, PROPERTY_TRUE ) ;
Set_Menu_Item_Property('Edit.Clear', ENABLED, PROPERTY_TRUE ) ;
Set_Menu_Item_Property('Action.Save', ENABLED, PROPERTY_TRUE ) ;
Else
Set_Block_Property( PC$Block, INSERT_ALLOWED, PROPERTY_FALSE ) ;
Set_Block_Property( PC$Block, UPDATE_ALLOWED, PROPERTY_FALSE ) ;
Set_Block_Property( PC$Block, DELETE_ALLOWED, PROPERTY_FALSE ) ;
Set_Menu_Item_Property('Edit.Insert', ENABLED, PROPERTY_FALSE ) ;
Set_Menu_Item_Property('Edit.Remove', ENABLED, PROPERTY_FALSE ) ;
Set_Menu_Item_Property('Edit.Clear', ENABLED, PROPERTY_FALSE ) ;
Set_Menu_Item_Property('Action.Save', ENABLED, PROPERTY_FALSE ) ;
End if ;
END;Francois -
My current project in the Events Library has gone into list mode. ie a single clip on the left one above another, so showing only about 7 clips. How can I get it back into normal horizontal mode?
That's about what it's supposed to look.
How do You want it to look ?
a. You can change places by using this
b. May be You changed this top right symbol of an hard disk ?
c. or changed the number of frames to be viewed ?
d. OR - it can (at least for me) be so that You think of how it looks in iPhoto. (To me a very common mistake)
Yours Bengt W -
How can we execute the BDC session in error mode through se38 programme
Dear Experts,
How can we execute the BDC session in error mode through se38 programme....
we can execute the session in the below 2 ways
1) Through SM35 we can process the session manually in foreground/Error mode or Background also.
2) through RSBDCSUB (standared Program) we can process the session in back ground.
But i want to process the session in foreground or Error mode..Do we have any standared program for process the session in foreground or error mode.
Please suggest.
Regards,
Bussa.Hi,
SAP was smart enough to provide this little program: RSBDCCTU
Sandra
Edited by: Sandra Rossi, 15 minutes later
Maybe the answer to your question is just to use CALL TRANSACTION ... USING ... (see the example in RSBDCCTU). You can also generate such a program using transaction SHDB
Maybe you are looking for
-
I migrated my java application using BC4j from Jdeveloper 9.0.3.4 to Jdeveloper 10.1.2.1.0. When I run my BC4j model it runs fine but when I execute the view object using BC4jContext in my action code I am getting following error: Error Message: JBO-
-
I'm sure Firefox has a shortcut so I don't have to retype often-used text over and over again (like my name, address, phone #). If anyone remembers using WordPerfect, "macros" was their tool for accomplishing this. What's the shortcut in Firefox?
-
Hi, To short close service PO, we are putting final entry sheet tick in ML81N for the last entry sheet. But if invoice is already parked/posted against the last entry sheet, and if the said service PO is having pending quantity it does not allow to p
-
Dynamically resizing table control
Hi all, I have designed a table control in the screen. in that, I have fixed the number of columns (7) using Fixed coulmns option in the screen painter. But, when the user selects an option (radio button) in the screen, I will hide two columns of the
-
Wireless deployment on remote site
Hi all, I will deploy a 4400 series WLC and APs in HQ and about 10 remote sites soon. I have some requirments, the HQ and remote sites are running VPN, the WLC will be placed in HQ, the AP will run H-REAP mode and each site will have 2 SSID, one for