Plz have a look to it..
Hello friends,
i've to make a final yr project... so i have decided to make a mail server in JAVA w/o using any mail server APIs.. do u people think its a good project to work on...??? my profs r saying that these softwares r already in the market.. so they want me to work on something different... n i have no idea of what shud i make.. i m totally confused.. right now i m just thinking of making a mail server... if u have any good projects then u r most welcome to tell me..
For mail server i read many RFCs of different protocols.. but i m not getting any good logical description on how to start with a mail server... n i m not et all interested in getting a already written code.. i really want to work on it..
i've this request that plzz show be a better way... i m really in need of it..
Thanking u in advance !!
Hello friends,
i've to make a final yr project... so i have decided
to make a mail server in JAVA w/o using any mail
server APIs.. do u people think its a good project to
work on...??? my profs r saying that these softwares r
already in the market.. so they want me to work on
something different... n i have no idea of what shud i
make.. i m totally confused.. right now i m just
thinking of making a mail server... if u have any good
projects then u r most welcome to tell me..
For mail server i read many RFCs of different
protocols.. but i m not getting any good logical
description on how to start with a mail server... n i
m not et all interested in getting a already written
code.. i really want to work on it..
i've this request that plzz show be a better way... i
m really in need of it..
Thanking u in advance !!How about something to turn this sort of crap into real English.
Similar Messages
-
Very urgent! plz have a look at this
hi
can anybody help me to develop a jsp page in which
i want to include 3 dynamic dependant lists .
Ex:-->Country-->state-->district-->city
all the values r stored in MySql tables.
independently i am able to display all the values for the first time(default)
but when i change the opiton for country,then the state field values r to be changed and the district ,city fields should be set empty.when i select a STATE-->then district should get the values related to that state. and so on.
But i didn't get how to do this.
plz help me?
awaiting a quick response form you
thank youAJAX code: to populate each combo use seperate ajax call. then populate the combobox.
function getHTTPObject() {
var xmlhttp;
if (window.XMLHttpRequest) // if Mozilla, Safari etc
xmlhttp = new XMLHttpRequest();
else if (window.ActiveXObject){ // if IE
try {
xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
catch ( e ){
try{
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
catch ( e ){}
return xmlhttp;
function myAJAX(string1) {
var URL = "requiredAction.do";
var queryString = "name="+escape(string1);
httpObject.open( "Post", URL, true );
httpObject.onreadystatechange = callBackFn;
httpObject.setRequestHeader( "Content-Type", "application/x-www-form-urlencoded" );
httpObject.send(queryString);
function callBackFn() {
if (httpObject.readyState == 4)
if (httpObject.status == 200)
var result = httpObject.responseText;
//code here to manipulate result
var valarray=attrVal.split(","); //get the result in a comma delimited string from action class (also from BO resultset)
for (var i=0; i < valarray.length;++i){
addOption(document.getElementById("combobox"), valarray, valarray[i]);
function addOption(selectbox,text,value)
var optn = document.createElement("OPTION");
optn.text = trim(text);
optn.value = trim(value);
selectbox.options.add(optn); -
Very useful to every one if any one finds answer plz have a look
i want to pass the value to the fieldcatlog
and we will pass the value
gwa_fieldcatlog-fieldname = 'kunnr'.
gwa_fieldcatlog-tabname = itab.
gwa_fieldcatlog-seltext_l = 'meta customer'.
gwa_fieldcatlog-outputlen = '15'.
append gwa_fieldcatlog to git_fielcatlog.
My question is instead passing the lenth to output length there is one field in fieldcat log which we need to pass something to it so tthe output lenght will adjust itself ( no need to drag the alv grd it will adjust excatly how many letter that many).which i have worked so long aback..can y one gives the answer ..
i check with fix_col
which it is not working when i pass it is not working..
plcheck once and reply as soon as u can..
regards
satish.vHi,
kindly let me know ,where the internal table comes into picture, u r preaparing a fieldcatalog ryt...here u are using manual filling of the field catalog....the fields which are there in the internal table for those ....
also u have another option as
use the FM "REUSE_ALV_FIELDCATALOG_MERGE",it will fill the fieldcatalog with appropriate lenghts...if u want instead of standard ,custom one then we can modify the field catalog..
check the belwo sample code
Declaration of local workareas and internal tables
DATA: li_sort TYPE slis_t_sortinfo_alv, "For Sort ALV
lwa_fieldcat TYPE slis_fieldcat_alv.
Declaration of local constants
CONSTANTS : lc_long_text(1) TYPE c VALUE 'L'.
*pt_fieldcat TYPE ty_fieldcat
*--Call the functino module to get the field catalog.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = v_repid
i_internal_tabname = 'I_FINAL'
i_inclname = v_repid
CHANGING
ct_fieldcat = i_fieldcat
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
LOOP AT i_fieldcat INTO lwa_fieldcat.
CASE lwa_fieldcat-fieldname.
WHEN 'GRIR'.
lwa_fieldcat-ddictxt = lc_long_text.
lwa_fieldcat-seltext_l = text-003.
lwa_fieldcat-do_sum = 'X'.
MODIFY i_fieldcat FROM lwa_fieldcat
INDEX sy-tabix TRANSPORTING ddictxt seltext_l do_sum.
CLEAR lwa_fieldcat.
WHEN 'GR'.
lwa_fieldcat-ddictxt = lc_long_text.
lwa_fieldcat-seltext_l = text-004.
lwa_fieldcat-do_sum = 'X'.
MODIFY i_fieldcat FROM lwa_fieldcat
INDEX sy-tabix TRANSPORTING ddictxt seltext_l do_sum.
CLEAR lwa_fieldcat.
WHEN 'IR'.
lwa_fieldcat-ddictxt = lc_long_text.
lwa_fieldcat-seltext_l = text-005.
lwa_fieldcat-do_sum = 'X'.
MODIFY i_fieldcat FROM lwa_fieldcat
INDEX sy-tabix TRANSPORTING ddictxt seltext_l do_sum.
CLEAR lwa_fieldcat.
WHEN 'NETWR'.
lwa_fieldcat-do_sum = 'X'.
MODIFY i_fieldcat FROM lwa_fieldcat
INDEX sy-tabix TRANSPORTING do_sum.
CLEAR lwa_fieldcat.
ENDCASE. " CASE lwa_fieldcat-fieldname
ENDLOOP. " LOOP AT i_fieldcat INTO lwa_fieldcat
ENDIF. " IF sy-subrc <> 0
This function module is used for displaying the ALV report
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = v_repid
is_layout = wa_layout
it_fieldcat = i_fieldcat
i_default = c_chk
i_save = c_save
is_variant = wa_variant
it_events = i_events
is_print = wa_print
it_sort = li_sort
TABLES
t_outtab = i_final
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Regards,
Nagaraj -
Plz have a look at this problem
hello
I am getting an exception,
Cant figure out why this is happening........any help will be appreciated
thanks
Exception in thread "main" java.lang.StackOverflowError
at java.util.HashMap.get(HashMap.java:300)
at javax.swing.UIDefaults.getResourceCache(UIDefaults.java:279)
at javax.swing.UIDefaults.getFromResourceBundle(UIDefaults.java:271)
at javax.swing.UIDefaults.get(UIDefaults.java:145)
at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:44)
at javax.swing.UIDefaults.getUI(UIDefaults.java:734)
at javax.swing.UIManager.getUI(UIManager.java:1012)
at javax.swing.JLabel.updateUI(JLabel.java:256)
at javax.swing.JLabel.<init>(JLabel.java:145)
at javax.swing.JLabel.<init>(JLabel.java:216)
at javax.swing.DefaultListCellRenderer.<init>(DefaultListCellRenderer.java:73)
at javax.swing.DefaultListCellRenderer$UIResource.<init>(DefaultListCellRenderer.java:303)
at javax.swing.plaf.basic.BasicLookAndFeel$2.createValue(BasicLookAndFeel.java:590)
at javax.swing.UIDefaults.getFromHashtable(UIDefaults.java:214)
at javax.swing.UIDefaults.get(UIDefaults.java:144)
at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:44)
at javax.swing.UIManager.get(UIManager.java:952)
at javax.swing.plaf.basic.BasicListUI.installDefaults(BasicListUI.java:769)
at javax.swing.plaf.basic.BasicListUI.installUI(BasicListUI.java:862)
at javax.swing.JComponent.setUI(JComponent.java:673)
at javax.swing.JList.setUI(JList.java:493)
at javax.swing.JList.updateUI(JList.java:508)
at javax.swing.JList.<init>(JList.java:403)
at myProject.<init>(myProject.java:11)
at check.<init>(check.java:4)
at myProject.<init>(myProject.java:12)
at check.<init>(check.java:4)
at myProject.<init>(myProject.java:12)
at check.<init>(check.java:4)
at myProject.<init>(myProject.java:12)
at check.<init>(check.java:4)
at myProject.<init>(myProject.java:12)
at check.<init>(check.java:4)
at myProject.<init>(myProject.java:12)
at check.<init>(check.java:4)
at myProject.<init>(myProject.java:12)
at check.<init>(check.java:4)
at myProject.<init>(myProject.java:12)
at check.<init>(check.java:4)
import javax.swing.*;
import javax.swing.event.*;
import java.awt.*;
import java.awt.event.*;
public class myProject extends JFrame implements ActionListener{
JButton search=new JButton("Search");
DefaultListModel df=new DefaultListModel();
public JList list1=new JList(df);
check c=new check();
public myProject(){
search.addActionListener(this);
//test.addActionListener(this);
public void design(){
//list1.setSize(442,310);
JPanel jp1=new JPanel();
jp1.add(search);
//jp1.add(test);
getContentPane().setLayout(new BorderLayout());
getContentPane().add(list1,BorderLayout.CENTER);
setVisible(true);
getContentPane().add(jp1,BorderLayout.SOUTH);
setSize(450,180);
//pack();
public static void main(String []args){
myProject j=new myProject();
j.design();
public void actionPerformed(ActionEvent event) {
myProject j=new myProject();
if(event.getSource()==search){
list1.removeAll();
Object p[]={"hi","hello"
df.addElement(p[0]);
df.addElement(p[1]);
c.testing();
public class check {
myProject mp=new myProject();
public check() {
public void testing(){
mp.df.addElement("how");
}you have the same line as an attribute of your "check" class
the problem comes from here, you have to delete it;
your problem is that you try to access the same instance of "myProject" in different parts of your program, but you don't know how to do it
to "share" a unique instance, you can either use the singleton pattern, or pass the myProject instance as a parameter in the constructor of your "check" class ; this way, "mp" will always refer to the same object, whereas in your code, each time you create a new instance, you refer to a new object -
Hi i have tryed looking for my high definition device driver for my acer
Hi i have tryed looking for my high definition device driver for my acer
I have looked on the acar web site and i cant find it at all i am on windows 7 and the updates didn't install it
can some 1 help me find it plz or give me a website to get itYou might want to repost your inquiry to the Acer experts in the
Acer Notebook Support Forum.
Carey Frisch -
My iMac just crashed, and I had some documents open in Pages that were unsaved. Is there a temporary file or backup file that I can access as on a PC? (I have just looked in Timemachine which I had operating, but it did not seem to have any temp files in it at all - not sure what it would be useful for then).
Any suggestions?Question asked and answered several times.
If you didn't save, nothing is recoverable.
iWork apps don't create temp files so, as far as you on't save something, Time Machine can't archive it.
Yvan KOENIG (VALLAURIS, France) mardi 5 juillet 2011 12:25:31
iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
Please : Search for questions similar to your own
before submitting them to the community
To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer ! -
Can some one have a look at this php script?
Ok! hear's the script! It work's fine! but with one problem.
when I get the email it look's like this>
Base Color: NaturalTread Color: Black
What I want the email to look like is>
Base Color: Natural
Tread Color: Black
ie i don't want all the "var's" on on line!
Hear's my php code>
Can someone have a look to give me some poniters?I too am learnig. And just found this>
<?php
$sendTo = "******@hotmail.com";
$subject = "Combo Test Two";
$headers = "From: " . $_POST["name"];
$headers .= "<" . $_POST["email"] . ">\r\n";
$headers .= "Reply-To: " . $_POST["email"] . "\r\n";
$headers .= "Return-Path: " . $_POST["email"];
$message .= $_POST["baseColor"] . "\r\n";
$message .= $_POST["treadColor"] . "\r\n";
mail($sendTo, $subject, $message, $headers);
?>
u need to put Line-Feed & Carridge Return:
\r\n
And good luck to you! Thanks for the help my friend! -
I have an iPhone 5 and when i lightly tap on the back top part of my phone it sounds like something is rattling inside. Only on the top part of the phone, not on the bottom. I am wondering if anyone knows what this may be and should i have it looked at?
Definitlely have it looked at. That could be a hardware deffect on the maker(apple) so there could be a definite replacement option.
-
Is it possible to open iPhoto twice under os-x lion, to create a photobook on one desktop and to have a look to the photos in full size on the other desktop?
Ok let me ask you IF the IT department of your workplace does NOT want OS X installed on "THEIR" (The Companies) computers because of what they think is some type of security issue why are you trying to go against their wishes and install OS X on a computer that is NOT owned by you.
That could cost you your job.
If you continue down this path you will screw up the Windows install and have to take the system back to the IT department to get it fixed. What do you think they will say at that point?
Do as you like but you would be better off just buying your own Mac computer if you are set on using OS X as your personal operating system. -
can anyone help please.. since iCloud came on the scene My all in one printer keeps saying it is not USB connected. what do I do
I have been looking for over a week now and even chatted with the USA but cannot get it to work.
I am really strugglingThanks
someone named Eloisa she gave me a phone no. or visit hp.com/uk
cannot make head nor tale of it all. I am old. and find everything hard to undertstand -
Have a look at my RFC call, it doesn't return anything
Hi all,
In my project, I create a RFC Model named 'SCO' which will call bapi function 'BAPI_SALESORDER_CREATEFROMDAT1', if successfully a SALEDOCUMENT should return.
below is the code in my custom controller
public void wdDoInit()
//@@begin wdDoInit()
Bapi_Salesorder_Createfromdat1_Input input =
new Bapi_Salesorder_Createfromdat1_Input();
wdContext.nodeCSOC_Input().bind(input);
input.setOrder_Header_In(new Bapisdhead());
input.addOrder_Items_In(new Bapiitemin());
input.addOrder_Partners(new Bapipartnr());
//@@end
public void executeBapi( )
//@@begin executeBapi()
try {
wdContext.currentCSOC_InputElement().modelObject().execute();
} catch (WDDynamicRFCExecuteException e) {
// TODO Auto-generated catch block
System.err.println(e.getMessage());
e.printStackTrace();
} finally {
// wdContext.nodeCSOC_Input().invalidate();
//@@end
In my view(TestSOCView) I mapped a node named SOC_Input has the structure
Order_Header_In
-Distr_Chan
-Division
-Doc_Type
-Sales_Org
Order_Partnr_In
-Partn_Numb
-Partn_Role
Order_Items_In
-Material
-Req_Qty
Output
-Return
--Message
--Type
-Salesdocument
I have a very simple view which has only one button and two textview (one bind to Output-Salesdocument, another to Output-Return-Message)
In my action method, I have the code
public void onActionCreateSO(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActionCreateSO(ServerEvent)
IOrder_Header_InElement newHeader =
wdContext.currentOrder_Header_InElement();
IOrder_PartnersElement newPartner =
wdContext.createOrder_PartnersElement(new Bapipartnr());
IOrder_Items_InElement newItem =
wdContext.createOrder_Items_InElement(new Bapiitemin());
newHeader.setSales_Org("1000");
newHeader.setDoc_Type("OR");
newHeader.setDistr_Chan("10");
newHeader.setDivision("00");
// wdContext.nodeOrder_Header_In().addElement(newHeader);
newPartner.setPartn_Role("SP");
newPartner.setPartn_Numb("1000");
wdContext.nodeOrder_Partners().addElement(newPartner);
newItem.setMaterial("TEST2");
newItem.setReq_Qty("00001000");
wdContext.nodeOrder_Items_In().addElement(newItem);
wdThis.wdGetSOCControllerController().executeBapi();
//@@end
This is all my implementation, I dont know why there's always nothing retrieved, even no Return Message.
I of course have the right JCO connection, if not, this view will not display.
My wonder is my initilization for two table maybe wrong:
input.addOrder_Items_In(new Bapiitemin());
input.addOrder_Partners(new Bapipartnr());
because I know there's a method
set<Node>(AbstractList)
but this is not java.util.AbstractList, I dont know how to initiate this list.
And if I follow the turtorial which will enable the line after execution
wdContext.nodeCSOC_Input().invalidate();
This will make my application run only one time, the second time a NullPointerException will be thrown. So there's also a question: what's the usage of this line?
Any one have a look at my problem? Thanks in advance
And at last,
Happy New Year to everyone.
Wish you all a nice new year.
best regards,
WilliamHello William,
Try using the following code:
public void wdDoInit()
//@@begin wdDoInit()
Bapi_Salesorder_Createfromdat1_Input input =
new Bapi_Salesorder_Createfromdat1_Input();
//@@end
public void onActionCreateSO(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActionCreateSO(ServerEvent)
<b>/*** Instantiate the Structure ***/
/// <Name of the Structure> = <Order_Header_In></b> Order_Header_In newHeader =
new Order_Header_In();
newHeader.setSales_Org("1000");
newHeader.setDoc_Type("OR");
newHeader.setDistr_Chan("10");
newHeader.setDivision("00");
wdContext.currentBapi_Salesorder_Createfromdat1_Input().setOrder_Header_In(newHeader);
<b>*** Instantiate the Structure ***/
/// <Name of the Structure> = <Order_Partners></b> Order_Partners newPartner = new Order_Partners();
newPartner.setPartn_Role("SP");
newPartner.setPartn_Numb("1000");
wdContext.currentBapi_Salesorder_Createfromdat1_Input().modelObject().addOrder_Partners(newPartner);
<b>*** Instantiate the Structure ***/
/// <Name of the Structure> = <Order_Items_In></b> Order_Items_In newItem = new Order_Items_In();
newItem.setMaterial("TEST2");
newItem.setReq_Qty("00001000");
wdContext.currentBapi_Salesorder_Createfromdat1_Input().modelObject().addOrder_Items_In(newItem);
wdThis.wdGetSOCControllerController().executeBapi();
//@@end
This will work.
<b>
Please reward appropriate points</b>
Bala -
is there a way to organise the files in itunes media into playlists? i have a large playlist that i wish to add to a hard drive but i don't want to have to look up each file location separately.
You cannot put music onto your iPod without using iTunes, that what iTunes is for.
It's also not a good idea to wipe the music from your computer and having it only on your iPod. We see countless posts here from people who have done just that - and then lost everything when the iPod needs a Restore. Even if you never need to Restore your iPod, what happens when you eventually replace the iPod? You'll be back here asking how to get the music from one iPod to another. That's not easy to do, we see countless posts about that too!
A much better idea is to buy an external drive (a proper external drive, not simply an iPod) and put your large amount of music onto that drive. Then point your iTunes Library to that drive. However, you need to remember two things:
You still need a backup of that Library.
Using an external drive as your iTunes Library means that the drive must be connected and ready to read before starting your iTunes programme. If it isn't, then iTunes will look on the C: drive - and you will find no music in your Library. (Once again, lots of posts about that as well!) -
Can you have a look at this video and give advice please?
Hi Guys,
Can you have a look at this video-
http://www.youtube.com/watch?v=UA0x3bQUW-g
I shot it for a friend at a hotel. Can you let me know if if works ok / stutters etc. on your computer.
I edited hdv pal / ppro cs3 then adobe media encoder to H 264 1280 x 720 25fps bitrate min 2 max 4. keyframes 25.
It looks pretty bad i think at the normal youtube. It looks a lot better when you hit the 'watch in hd' but begins to stutter.
Do you have any advice?
Many thanks
scottFirst, thank you for doing a very nice piece. I'm a tad bit tired of the "in-your-face" skateboarding pieces. The young lady is also "easy on the eyes."
Second, I looked at the piece in both resolutions, and also after all buffering had completed. The only things that I saw were one Transition at about the 1/4 point that seemed to have about a 1-frame "glitch," or something. Two of the Titles also did not seem to fade-up/move-in at the same pace, or with the same smoothness as the others. Even looking at movement, like the flag (again near the 1/4 mark - sorry that I did not write down the exact TimeCode), I did not notice any stuttering. I'd better get this out of the way right now, I'm viewing on my laptop's 17" 1680x1050 nVidia GeForce 8800M GTX-512MB display, with full hardware acceleration.
Not sure what you, and Dan, are seeing. I'm usually a pretty critical observer, though might be missing something important. If you can give me a TimeCode and where, in the frame, you're both seeing the problems, I'll be glad to give it another go.
Good luck,
Hunt
PS I like the mood that both the visuals and music convey. My wife also made note of the URL, for our next trip to the UK in October. -
I want to move a selection (a person) into an image of a brick wall and have it look like the person was painted on the wall. Can it be done? Using CC on iMac. Thanks
Yes of course its Photoshop. Cut the person out copy to clipboard paste onto toe brick wall document and texture the layer using a displacement map for the brick wall. Look for Photoshop tutorials on using a displacement map.
-
Java is designed to have a look and feel equivalent to????
Java is a programming language designed to have a look and feel equivalent to:
a. VB
b. C++
c. Cobol
d. NotesScript
Cheers!If you mean look and feel from a language perspective, Java was heavily influenced by C++.
Since this is a multiple choice question quoted verbatim from either a textbook or your homework, I assume that you aren't really interested in any more information than that.
Maybe you are looking for
-
Connecting SAP with Excel (Beginner)
Hello! I'm new to the SAP scripting. On my company we use lots and lots of Excel spreadsheet lists with sales orders and projects, which is why i need to learn to connect those lists with SAP. I have a list of sales orders in Excel starting downwards
-
System_imode_too_large error in sap
Hi Experts, In Quality system program is giving system_imode_too_large error. Could you please tell me how can i resolve this, Regards, Rama Krishna.
-
When I click "burn CD" my CD is ejected.
Hello, Several months ago my computer suddenly decided to stop burning music CDs with itunes. When I insert a CD iTunes tells me I've inserted a blank disc. I can select the desired playlist and click the "burn disc" button. (The last playlist I trie
-
HDCP Error - and a possible solution
I saw some earlier threads on problems people ran into with HDCP errors -- basically viewing HD movies on external displays. Here's my story: I am using 13" MacBook 2GHz Intel Core Duo (The MacBook 5,1) 1Tunes 9.1 MiniDisplay port The video out is th
-
Record narration in Powerpoint 2013 with returns to previous slides
Hi, I am trying to record narration on a Powerpoint slide show (Powerpoint 2013). However I discovered that I can go only forward with slides. When I return to a previous slide the audio simply overwrites the narration of the first visit to the slid