hi all,
i hv a question.
my url is some thing like this
http://www.google.com?to=shishir&from=friend
and i hv 2 textfeild from where i m getting value of to and from.
i need to set those values of 2 textfeiilds into the URL
to="values from textfeild" from="value from textfeild"
to create a somewhat called a dynamic URL.
how can i do it
quick reply is always appreciated
regards
shishir
Hi all,
I have to design High Level Architecture for Liferay Project. Is there any sample document for Portal Architecture related to Liferay / J2EE?
Your swift reply shall be highly appreciated.
Thanks in advance
Gnaniyar Zubair
I am using Ubuntu 9.10 and I am a bit of a robotics enthusiast. I have used KiKS (in MATLAB for simulating Khepera robots), MobotSim (in Windows, simulates a point like robot using a BASIC editor) and Player Stage/Gazebo (with C/C++ on Ubuntu Linux).
My question, can MS Robotics Studio be installed in Ubuntu Linux using Wine (I am using 1.1.31) ? Has anyone done it ?
Thanks for your reply !
Hi friends, I have a javascript file main.js and five html files 1.html,2.html,3.html,4.html,5.html
I want to access the javascript file main.as in all files .
I have used in all of the five but I'm not able to access it . Is it possible to share the .js file among the html files.
Plz reply,
Thanks in advance
Prashant Dubey
Hi,
I want use OpenSSL in my application using jni with Android NDK but i unable to understand how can i do i don't exact process and even i don't have any sample code for that so any one can help me please send me a sample code or how to do this. I am waiting for reply.
Hello.
I'm trying to write a performance measurements library for Scala. My idea is to transparently 'mark' sections so that the execution time can be collected. Unfortunately I wasn't able to bend the compiler to my will.
An admittedly contrived example of what I have in mind:
// generate a timing function
val myTimer = mkTimer('myTimer)
// see how the timing function returns the right type depending on the
// type of the function it is passed to it
val act = actor {
loop {
receive {
case 'Int =>
val calc = myTimer { (1 to 100000).sum }
val result = calc + 10 // calc must be Int
self reply (result)
case 'String =>
val calc = myTimer { (1 to 100000).mkString }
val result = calc + " String" // calc must be String
self reply (result)
}
Now, this is the farthest I got:
trait Timing {
def time[T <: Any](name: Symbol)(op: => T) :T = {
val start = System.nanoTime
val result = op
val elapsed = System.nanoTime - start
println(name + ": " + elapsed)
result
}
def mkTimer[T <: Any](name: Symbol) : (() => T) => () => T = {
type c = () => T
time(name)(_ : c)
}
}
Using the time function directly works and the compiler correctly uses the return type of the anonymous function to type the 'time' function:
val bigString = time('timerBigString) {
(1 to 100000).mkString("-")
}
println (bigString)
Great as it seems, this pattern has a number of shortcomings:
forces the user to reuse the same symbol at each invocation
makes it more difficult to do more advanced stuff like predefined project-level timers
does not allow the library to initialize once a data structure for 'timerBigString
So here it comes mkTimer, that would allow me to partially apply the time function and reuse it. I use mkTimer like this:
val myTimer = mkTimer('aTimer)
val myString= myTimer {
(1 to 100000).mkString("-")
}
println (myString)
But I get a compiler error:
error: type mismatch;
found : String
required: () => Nothing
(1 to 100000).mkString("-")
I get the same error if I inline the currying:
val timerBigString = time('timerBigString) _
val bigString = timerBigString {
(1 to 100000).mkString("-")
}
println (bigString)
This works if I do val timerBigString = time('timerBigString) (_: String), but this is not what I want. I'd like to defer typing of the partially applied function until application.
I conclude that the compiler is deciding the return type of the partial function when I first create it, chosing "Nothing" because it can't make a better informed choice.
So I guess what I'm looking for is a sort of late-binding of the partially applied function. Is there any way to do this? Or maybe is there a completely different path I could follow?
Well, thanks for reading this far
-teo
hi friends
I am creating a flex application with application height 50 . I want a pop up to be displayed outside the main application in the browser. Is it possible?? Plz reply
Hi,
Can we set Title for a Menu Item in Android if it has an icon from drawable?
I have a icon for a Menu Item and if I set the icon then the title that is set for that Menu item is not visible.
Is this possible or not?
Hope to get a reply soon.
Regards
Sunil
I am using a notes client(v 7.0). I created a mail account with email id [email protected] in this client(obviously on domino server also). I want to auto reply to the mail which is sent to [email protected] with same subject line which must be appended with ";SUCCESS" at the end of subject line.
I've seen the about cross compilers reply at http://stackoverflow.com/questions/579695/how-do-i-cross-compile-c-code-on-windows-for-a-binary-to-also-be-run-on-unix-sol
and i would like to know how can i compile for sparc on x86 machine?
where can i find a good cross compiler?
I also need for HP OS .
if you link me to a good step by step tutorial
It will be the best
Thanks.
Elad.
Hi All,
I have four images in the Gallery View. When we do swipe from left to right or right to left the Gallery View moves all the images i.e if I swipe from left to right from the first image then it will move to all the four images.
What I want is that when I swipe it should only move to the next image. Can someone let me know how is this possible?
Hope to get a reply soon.
Regards
Sunil
i hv three textfeilds
to,from and message. and a button
when user fills these three and hits button,the values in these three textfield should be set in tableview.
everytime user hits the button,the value should be set at the top of thetableview,pushing other entries 1 row down,
how can i do this?
its kind of urjent
suggestions are always appreciated
hopeing for a quick reply
regards
shishir
I have an iPhone application that uses a timer and every time it creates some UILabel and places it onto the UISrollview. What i want is to clear the scroll view every time before it puts UILabel onto the ScrollView.
So guys please help me to clear the contents of the UIScrollView. I'm just not been able to do that.
Looking for your reply
Please can any one tell how to test ip camera surveillance system.... different scenarios...available open source tools etc....
I am fresher to this domain
please reply me
thank you
Hi,
This is simple question only...
i did a program in java that accepts input via command line arguments.
I get input of two numbers and operator in command line.
multiplying two numbers, i have to give input as 5 3 *.
But if i give like this, i cant get answer.
Y its not accept * in cmd....
waiting for reply guys...
Hello everybody!
Please advise library for working with soap in python.
Now, i'm trying to use "suds". And i can't undestand how get http headers from server reply
Code example:
from suds.client import Client
url = "http://10.1.0.36/money_trans/api3.wsdl"
client = Client(url)
login_res = client.service.Login("login", "password")
variable "login_res" contain xml answer and doesnt contain http headers. But i need to get session id from them.
Thank you.
Hello,
I want to access the shared folder information on Windows Server 2003. I tried it out with ManagementObject but it do not work on Windows Server 2003. It is working fine on Windows XP SP2.
Waiting for reply,
Thanks in advance..
Vinit
Is it better practice to write Bash scripts or Bourne scripts? My team writes Bourne scripts but I am not entirely sure why.
If this is a holy war question (ie: vim vs. emacs) please just reply: holy war.
Hi folks,
i have a simple aspx page. Here's the top of it:-
<%@ Page
Language="C#"
AutoEventWireup="true"
CodeFile="Foo.aspx.cs"
Inherits="Foo" %>
<%@ OutputCache Duration="3600" VaryByParam="none" Location="Any" %>
Now, every time I hit the page in FireFox (either hit F5 or hit enter in the url bar) I keep getting a 200 OK response. Here's a sample reply from FireBug :-
Request Headers:-
GET /sitemap.xml HTTP/1.1
Host: localhost.foo.com.au
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2)
Gecko/20100115 Firefox/3.6
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-au,en-gb;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Cookie: <snipped>
If-Modified-Since: Tue, 01 Jun 2010 07:35:17 GMT
If-None-Match: ""
Cache-Control: max-age=0
Response Headers:-
HTTP/1.1 200 OK
Cache-Control: public
Content-Type: text/xml; charset=utf-8
Expires: Tue, 01 Jun 2010 08:35:17 GMT
Last-Modified: Tue, 01 Jun 2010 07:35:17 GMT
Etag: ""
Server: Microsoft-IIS/7.5
X-Powered-By: UrlRewriter.NET 2.0.0
X-AspNet-Version: 4.0.30319
Date: Tue, 01 Jun 2010 07:35:20 GMT
Content-Length: 775
Firebug Cache tab:-
Last Modified Tue Jun 01 2010 17:35:20 GMT+1000 (AUS Eastern Standard Time)
Last Fetched Tue Jun 01 2010 17:35:20 GMT+1000 (AUS Eastern Standard Time)
Expires Tue Jun 01 2010 18:35:17 GMT+1000 (AUS Eastern Standard Time)
Data Size 775
Fetch Count 105
Device disk
Now, if i try it in Fiddler using the Request Builder (and no extra data) I also keep getting the same 200 OK reply.
Request Headers:-
GET http://localhost.foo.com.au/sitemap.xml HTTP/1.1
User-Agent: Fiddler
Host: foo.com.au
Response Headers:-
HTTP/1.1 200 OK
Cache-Control: public
Content-Type: text/xml; charset=utf-8
Expires: Tue, 01 Jun 2010 07:58:00 GMT
Last-Modified: Tue, 01 Jun 2010 06:58:00 GMT
ETag: ""
Server: Microsoft-IIS/7.5
X-Powered-By: UrlRewriter.NET 2.0.0
X-AspNet-Version: 4.0.30319
Date: Tue, 01 Jun 2010 06:59:16 GMT
Content-Length: 775
It looks like it's asking to cache it but it's not :(
Server is a localhost IIS7.5 on Win7. (as listed in the Response data).
Can anyone see what I'm doing wrong?
I have submitted the binary file of my application to apple on appstore.
But i dint configure the APP ID i mean i forgot to do that. Does it will affect my application for apple submission.
Should i do a developer reject and if i do that Can i upload the new binary ..
Please reply me as soon as possible i dont want ma application to get rejected by apple..
Hi,
I have two tables, one table has rowguid column and other has auto incremented column but both tables dont have primary key or foreign key. I want to create third table that store the relationship between above two tables. can somebody give me the correct and easiest way to do that. i m new using sql server. please reply me
I have developed a web application with fields Keyword,Latitude and Longitude.
I want to add one more field called Radius to the web application..
How should i proceed.
Waiting for the reply,
Thanks in advance