Hi!
I'm new to ejb. I've created the session bean in one computer. And i want to access that session bean from the another system. How to do this?
Thanks in advance :-)
Hi All,
I have a string say string s ="C:\\Data" , I have an array which contains some strings containg "C:\Data" in the beginning i.e. string[] arr = new {"C:\\Data\abc.xml","C:\\Data\Test\hello.cs"};.
I have to remove the string "C:\Data" from each entry and have to combine it with another string say string fixed = "D:\\Data".
What is the best way to do it, please help as I am a new programmer in C#.
Hi all,
I'm trying to set a view script to be executed in addition to the currently requested action view script. I want to do this from the controller action itself in a way that this new view script output will be available from the layout $this-layout()-content helper.
I found the setView() method but don't know how to use it from the controller.
Thanks a lot.
Hi. I'm trying to use cURL to forward on a http request from a form in a web application I'm developing. Essentially I need to submit the same form twice on different servers, for the second server I'm adding some security measures to the post data.
I can receive $_POST information on the second form perfectly fine, however I'm having major troubles with my $_FILES - I've tried separating the two so there's a separate request for post and files data but still no luck.
Is this possible?
Hi ,
I am trying to remove attributes of a DOM element using below statement in javascript.
var res = nodes.removeAttribute("style");
but the res is always "undefined" it seems that the removeAttribute function does not return anything (I tested it on firefox browser)
How can I identify that the attribute is successfully removed or not ?
Thanks,
Sourabh
Hi guys,
I have been doing some searching but have not been able to find an answer for this so thought I would ask here as the people here know everything :)
I am trying to combine these 2 update queries into one query.
UPDATE addresses SET is_default='0' WHERE id!='1'
UPDATE addresses SET is_default='1' WHERE id='1'
I assume this should be too hard to accomplish but i cant seem to work it out :(
Thanks
Paul
Hi,
I'm dealing with a HTTP sockets project, I have to send 2 HTTP GET requests from my java code like this :
Request 1 : call page X
Page X is setting a cookie.
Request 2 : call to page Y
as you see to access the content of page Y i cookie must be present...
how to accept a cookie from java code please ?
Hi,
in bash I need to compare two float numbers, one which I define in the script and the other read as paramter, for that I do:
if [[ $aff -gt 0 ]]
then
a=b
echo "xxx "$aff
#echo $CX $CY $CZ $aff
fi
but I get the error:
[[: -309.585300: syntax error: invalid arithmetic operator (error token is ".585300")
What is wrong?
Thanks
Hi All,
I am eager to know the difference between ac onst variable and a static variable.
As far as I know a const is also static and can not be accessed on instance variable that's same like static , then what is the difference between them ?
Please explain ...
Hi,
I write a little ruby script, which sends me an email when a new commit added to our svn.
I get the log with this code:
log = `/usr/bin/svnlook log #{ARGV[0]}`
When I run my script from bash I get good encoded character in the email, but when I try it and create a new commit I get wrong hungarian characters.
I commited this:
tes
oéá
I get this in the email:
Log: tes
?\197?\145?\195?\169?\195?\161
How can I solve this issue?
Hi,
I am new to this android platform.now I am Working on TTS(Text to Speech).what I am trying to do is that when i enter the text in the Text area it has to be converted to speech,when i click the speak button.can anyone help me out.Thanks in Advance.
hi,
Can anybody explain me the most interesting feature of C language apart from other languages.
Am expecting some nice replies , so that every one can brush up their own programming skills
i can tell you specifically structure and class.
/Kanu__
hi,
In my application i write the code like this
byte [] byt=new byte[ Convert.ToSbyte(textbox1.tex)];
it is giving the error that input string was not in a correct format.
Hi,
I would like to make an if command that checks the value of my UISearchBar in that way if the value of the UISearchBar is equals to " " or multiple spaces without words and chars, an alert will popup.
Well, I don't need help with the creation of the alert but I do need help with the if command and the spaces.
I know how to do it with multiple "if" command but I want with only 1.
Thanks!
Hi all,
Please help me about my doubts on excel and php. I need to do the following process on excel report generation using php
to change cell's font styles
to change cell's BG color
to change cell's width
Hi everyone
Currently developing a multi-lingual website, Users can access the front page using url with format below:
http://mydomain.com/en/
http://mydomain.com/fr/
Problem is here. URL without last "/" (http://mydomain.com/fr) caused page not found problem
Here is the rule
RewriteRule ^/?([^./]+)/(.*)$ $2?lang=$1 [L,QSA]
Can anybody help ?
Thanks in advance
Hi Experts,
I have a tables with data like this
Id BookId TagId
34 113421 9
35 113421 10
36 113421 11
37 113421 1
38 113422 9
39 113422 1
40 113422 12
I need to write a query (SQL Server) which gives me data according to the tags say if I want bookIds where
tagid =9 it should return bookid 113421 and 113422 as it exists in both the books, but If I ask data for tags 9 and 10 it should return only book 113421 as that is the only book where both the tags are present.
Thanks
Parminder
Hi there, I've got several MPEG files that I'm using on my site - the first time the user clicks on the link, it will open up and play about 3/4 of the video, the second time it will play entirely?
Was thinking it might be a proxy issue, but happening in both dev and prod. Any ideas?
Hi,
I have a person table that contains the following fields:
id, name, parent_id.
the parent_id is actually a FK for column id.
the data should look like this (Like a pyramid):
"id" "name" "parent_id"
"1" "I am the Top Father" "1"
"2" "My Father Is 1" "1"
"3" "My Father Is 2" "2"
"4" "My Father Is 2" "2"
How is my bean suppose to look like?
Thanks
Hi ,
I am new in iphone and i am on the final stage of my first project for iPhone.I need some help in Inapp purchase implementation.I need to give a free version of my app for thirty days and then force the user to buy the app.Please let me know how can i start implement this.Looking forward for valuable advices.
Thanks in advance.
HI ALL,
I got an error java.lang.UnsatisfiedLinkError, I am not getting wat the problem is.
public static void main(String[] args) {
try {
System.loadLibrary("pfcasyncmt");
}catch(){
}
}
ERROR-
xception in thread "main" java.lang.UnsatisfiedLinkError: no pfcasyncmt in java.library.path
hi friends,
I am using AVAudioplayer to play some sound. But once I make it stop using [player stop](where player is the object of AVAudioplayer] It is not starting again to play after some time when I call method [player play], So can any one tell me how to do the same in my application??
The play will again call using NSTimer method, after some delay of time.
Thanks in advance...
Hi Guys,
could you help me with following questions.
How do i get the:
absolute/relative current url
http://www.example.com/subdir/controller/action
/subdir/controller/action
absolute/relative application url
http://www.example.com/subdir/
/subdir/
I could of course use native php to get it but i think i should rather use ko3 functions.
Any idea how that works?
Thanks in advance!