Hi there,
I am displaying some event data based on the todays event and a list of events in a week. Currently I am displaying all the events in form of list from the file, As the file contains out dated events as well but I want to display on the basis of today's date events and a week events then week after. In short I want to restrict the list on the basis of this and extract information. I know there is a class java.util containing Date class, but need some quick idea and help how can I do this? Can anyone quote example?
Thanks
hello,
I have created two (java web applcaion ). one acts as a Server , I created ( web service) into. the second acts as client , I created ( Web service client) into .
I created them in netBeans, and they run .
but now I want to run them out net beans , how I can do this?
I want any way to run out netBeans such as command prompt or an where.
if you have idia about running (.war) file , please tell me.
thanks in advance.
How are people handling the use of templates in their Go-based AppEngine applications?
Specifically, I'm looking for a project structure that affords the following:
Hierarchical (directory) structure of templates and partial templates
Allow me to use HTML tools/editors on my templates (embedding template text in xxx.go files makes this difficult)
Automatic reload of template text when on dev server
Potential stumbling blocks are:
template.ParseGlob() will not traverse recursively.
For performance reasons it has been recommended not to upload your templates as raw text files (because those text files reside on different servers than executing code).
Please note that I am not looking for a tutorial/examples of the use of the template package. This is more of an app structure question. That being said, if you have code that solves the above problems, I would love to see it. Thanks in advance.
I've developed a website in php codeigniter with the idea of using single physical instance of the code.
Here the logic i wanted to be is on login page user will chose the companyid which will be internally to the database name.
I want to know how to update the active_group variable according to the company id chosen by the user at the time of login.
Is there any way to do so.
I've just made a program with Eclipse that takes a really long time to execute. It's taking even longer because it's loading my CPU to 25% only (I'm assuming that is because I'm using a quad-core and the program is only using one core). Is there any way to make the program use all 4 cores to max it out? Java is supposed to be natively multi-threaded, so I don't understand why it would only use 25%.
I am using layered architecture in dotnet (mostly I work on web projects). I am confuse what layers should I use ?
I have small idea that there should be the following layers.
user interface
customer types (custom entities)
business logic layer
data access layer
My purpose is sure quality of work and maximum re-usability of code.
some one suggested to add common types layer in it. Please guide me what should be layers ? and in each layer what part should go ?
Hi,
I have an web project in asp.net in one of my computers which are connected internally through LAN. The database is in Sql Server kept in another computer. The LAN is connected well. There is no connection error in my programming also. But sometimes in this particular system the page is taking long time to be open, sometime it is showing some exceptions(not everytime again and again). What can be the problem? How can it be solved?
The same project is running good in other computers as well.
My network seems ok, as I can acccess the computer hosting SQL server.
I have a Hashmap object that i am getting on a jsp page.
HashMap<Integer,Gift_product> gift_hm = new HashMap<Integer,Gift_product>();
gift_hm.put(17,new Gift_product("doll",67));
now i need to iterate this and display content on jsp.
as Gift_product class contains two fields name and price
jsp output should be
serial no. product name price
17 Doll 67
How can i achieve it..
i have created iphone game.When i pause the game using pause button i quit cliking quit button...
Now when i start the game again ..the previous counter i created using this code...
[NSTimer scheduledTimerWithTimeInterval:1.0 target:self selector:@selector(updateTimerFunc) userInfo:nil repeats:YES];
the timer is 100 sec and moves to zero...now it start giving the difference of twwo ,,98,96,94
if i quit the game again ans start this time the difference will become of 4 96,92 ...its keep on increasing ....what is this issue?
kindly help
hi,
Can I use IsInRole with customized objects??
Like I want to do some operations only for Employee while other only for Managers.
How can I achieve this?
After reading this thread:
http://stackoverflow.com/questions/2792932/nsuserdefaults-not-present-on-first-run-on-simulator
I know it's quite easy to store some app data in the [NSUserDefaults standardUserDefaults]. But if other applications also happen to use the same key to store their data, is this possible that my app data gets overwritten?
Many thanks to you all.
I am working on an enterprise level product that is designed around SQL Server Express and specifically its features (views, concurrent users, stored procedures, CASE and IF statements).
Though we don't use any advanced SQL Server features, the database size limit of 4GB in the Express edition may up being a limitation. A work-around is that customers can move to more full-featured versions of SQL Server.
The problem is that SQL Server Express deployment is not easy, and the installer size is huge. This is a major drawback for someone looking to try our product. You don't want end-users to not buy a product because the download is huge.
Does anyone have any recommendations of a database that has a smaller footprint but all the features of Express and which can be migrated to express?
Hi, i would like to or need to use a database for my wpf project. It has to store "person" "team" "goals" and maybe 2 more things, nothing very big. Ive already used (worked) with databases in java / php (postgresql), but is there maybe an "easier" way to store the things.. i mean if the db is going to be big than i could use (postgre or mysql), but this one would be small.
I am developing game editor in C# that uses c++ lib files.
I want RTTI for C++ classes in C#.
Is it possible to get RTTI of C++ class in C#?
If yes how?
Hi
I need to do periodical background task fetching data from a weather site.
How in rails can I fetch json from a remote url and store it on the server? Also, there doesn't seem to be any point in storing this in a db so how in rails can I store a variable available to all users?
have a VS2005 windows service where i have the need to use 'useUnsafeHeaderParsing' as per documentation from MSDN.
as this is a library used within my windows service, i do not have a web.config to add httpwebrequest element and set useUnsafeHeaderParsing to true.
How would i go about achieving this in code. I tried
link text
and
link text
but that was a no show.
how trigger the action script when browser is closed in flex
what i want is when the browser is closed ,an alert has to be show to continue or not ,later the event to stored in the databse
plz help me