|
|
If you have any question just let me know! I'll try to help you out! 
|
|
|
|
|
Concerning Servlets (spec 2.0):
1) What is the ideal methodology for handling client HTTP requests coming in for a servlet?
- Using Threads?
a) -> Is it not resource-heavy to have a million clients do a million requests at a time?
b) -> Does this only lightly affect the CPU/memory/stability on the server?
c) -> What methodology is used in real-world applications?
|
|
|
|
|
CsTreval wrote: 1) What is the ideal methodology for handling client HTTP requests coming in for a servlet?
Depends. While classing HTTP servers fork for every requests, modern servers don't.
CsTreval wrote: a) -> Is it not resource-heavy to have a million clients do a million requests at a time?
Of course, even some thousand clients will bring your server to it's knees. And forking and creating a new process is more bloated that a small thread
CsTreval wrote: b) -> Does this only lightly affect the CPU/memory/stability on the server?
Are you doing huge computation?
CsTreval wrote: c) -> What methodology is used in real-world applications?
We use threading on an assumption that our server is capable enough to handle the request. When we find we are unable to serve one, we either, refuse connections or send an HTTP 5xxx
Beauty cannot be defined by abscissas and ordinates; neither are circles and ellipses created by their geometrical formulas.
Source
|
|
|
|
|
Hi,
I have a Sharepoint list named Employee. Employee has different views - Details and Projects. Now I have included the below code in master page under PlaceholderTitleBreadcrumb.
<asp:ContentPlaceHolder id="PlaceHolderTitleBreadcrumb" runat="server">
<SharePoint:ListSiteMapPath runat="server" SiteMapProviders="CurrentNavSiteMapProviderNoEncode"
RenderCurrentNodeAsLink="false"
PathSeparator=""
PathDirection="CurrentToRoot"
ParentLevelsDisplayed="6"
CssClass="s4-breadcrumb"
NodeStyle-CssClass="ms-sitemapdirectional"
CurrentNodeStyle-CssClass="s4-breadcrumbCurrentNode"
RootNodeStyle-CssClass="s4-breadcrumbRootNode"
NodeImageOffsetX=0
NodeImageOffsetY=353
NodeImageWidth=16
NodeImageHeight=16
NodeImageUrl="/_layouts/images/fgimg.png"
RTLNodeImageOffsetX=0
RTLNodeImageOffsetY=376
RTLNodeImageWidth=16
RTLNodeImageHeight=16
RTLNodeImageUrl="/_layouts/images/fgimg.png"
HideInteriorRootNodes="true"
SkipLinkText="" />
</asp:ContentPlaceHolder>
Under SharePoint:VisualUpgradePreviewStatus,I have put the below code:
<div id="bCmp">
<asp:SiteMapPath SiteMapProvider="SPContentMapProvider" id="CMap" runat="server"/>
</div>
Details and Projects are two options available in quicklaunch menu which will direct to the respective page.
Its showing the breadcrumb navigation but if you select Details or Projects,the breadcrumb shows Employee. How to show the view name? ie, if user selected the Details,it should show Details in breadcrumb.
|
|
|
|
|
Any help would be highly appreciated 
|
|
|
|
|
Hi,
Theres a requirement like, give different image links for different sites in left navigation bar. There are 5 sites to be listed out.So I have put them in a table format by hiding quick launch menu( I modified the master page).Everything is working fine. But the next requirement is ,hovering on each link / when the link is active,it should show orange color. The following is the code of one site in master page
<table style="background:blue" >
<tr id="ex1">
<a href="www.google.com" >
<td style="background-color:blue; width: 148px; height:40px;" valign="middle">
<label id="lblGoogle" >
<img src="www.google.com" alt="" width="33" height="23" class="ms-viewselector-arrow" style="float: left"/>
<a id="imgGoogle" href="www.google.com">
<span class="style9" style="vertical-align:middle">
Google</span></a></label>
</td>
</a>
</tr>
</table>
And in the css file I have written the below for hover:
#ex1:hover
{
background-color:orange !important;
color:white !important;
}
Instead of having ex1 as id, I have tried it with class. Even that is not working fine. Please help.
Many thanks
|
|
|
|
|
If you move the id ex1 to the td element it will change to orange when hovered.
vbmike
|
|
|
|
|
Thank you vbmike. it worked. 
|
|
|
|
|
Hi There,
I developed a web application using PIE, MVC4, Razor in VS2010.
It's working fine in IE8, but some operations are slow. For example, open a dialog, open Jquery DatePicker, TimePicker, click a button to switch content, enter text into a textarea. If I run it in FireFox or Chrome, those operations are acting constantly. But problem for me is that both FireFox and Chrome ignore all my CSS about 3D looking buttons, shadow texts. Could someone advise me what may be the cause of slow action in IE8 and how to fix it? Thanks in advance!
|
|
|
|
|
So I figured out my WCF Reporting service on my own for the most part. From a public standpoint, the service is required to allow users to do the following:
1. Add reports to the queue.
2. View the queue
3. View available reports
The service privately is responsible for managing the queue, processing the reports, and notifying the requester when the report is done, but that is outside the scope of what I am here for.
In regards to item's one and two, I want to return a list from the service to the client of either available reports or reports in the queue.
The service is connected to the database via EF as is the client. I could have the client request the information from the DB, but I think it is better for the service to provide the information.
My question is this: Do I need to create some kind of handler class to handle the data from the db and serve it to the client. Something that works as the datacontract and datamembers? Or is there some way that I can serve the data from the service without having to create these helper classes?
Obviously I am still new to the WCF service architecture, so I appreciate the patience.
Cheers, --EA
|
|
|
|
|
hi eddieangel,
First, you yourself should know what the actual function of WCF itself ...
as explained in the description of his by microsoft or mentors about WCF, as the data link service, the latest technology in addition to its webservice before ... this is a first-time assuming I know WCF, and certainly his most important in WCF is a service that with extentions. svc and its interface ...
there was DataContract or DataMember is the WCF its Properties,
and of her, you can add another Helper class calss-its,
You can add Business Logic or DataLayer like EF or Connection String or else it ....
and respond to your question, his answer is that you can express all of his in WCF ... whatever ..
I wish there was a little light to determine his or her choice in the style of your code ..
|
|
|
|
|
I'm writing using HTML5 and CSS3 and viewing using IE10 on Windows8.
Within an article with a constant width, and height set to auto in the CSS the more text I put in the more the 'height' of the article expands down the page to encompass it. This is fine for most pages e.g.: http://www.jgdprojects.co.uk/CANbusdesign.htm[^].
But now I want a 'Contacts' page with little text and a picture (img, jpg ). However the article doesn't expand to encompass the picture but stops when the text stops whilst the image overflows the background and border.
What am I missing to have it expand the article to encompass the image as well?
|
|
|
|
|
Hi All,
I am working on a website currently . this website needs to be coded again i.e. to say this website will be started afresh.
I need some help on latest trends that I can use in the development.
currently it is developed in asp.net, sqlserver, JQuery ,AJax, SOA.
PLease give some supportive suggestions : I am planning for MVC and entityframework.
apart from this i also need some help on writing optimised code to maintain security, speed etc.
Regards
Puja
website enhancement tips needed
|
|
|
|
|
Hello All,
I am not sure if my question would be appropriate with my title, but still I will try my best to describe. I am developing wordpress plugin which would give me the real time live visitors (which means peoples who are visiting my site at the moment). I don't know how to google it cause I think I am somehow messing up with the search key word, cause every time I put up a search it shows me paid adds. I know this is a simple logic I also know it has got something to do with the Javascript. I don't need the code I just need the logic here, can anyone help me on how to do this? Any help would be really appreciable.
Regards.
|
|
|
|
|
hi Tarek Showkot,
you can use it with SignalR technology ...
This will be more depth prior to its architecture SignalR ..
SignalR recommended for asp.net, and also for Java, such as gdi yan presented by its makers Damian and David ...
but if you're using PHP, you can see the following URL on the use of its in this URL ...
http://forums.asp.net/t/1904617.aspx/1?SignalR+from+PHP[^
|
|
|
|
|
Hello,
Making a plan new website which based on WordPress. I purchased new domain but i don't know who we can configure to WordPress panel on website. So please let me know how we can configure?
Regards,
David Kroj
|
|
|
|
|
|
This way is very costly as well as time taking process. Can you provide me any link and way how we can resolve that?
|
|
|
|
|
So, you want to configure WordPress panels on your website? Do you mean the Admin Panel, or the Options panel or do you mean one or more of those widgets? Or do you mean configuring WordPress Themes that effect the anatomy of WordPress (such as sidebars, tag clouds, menu's etc). This I why I gave you a reference to two books so you could yourself take the trouble to refine your needs.
And I will give you another reference ... DIGGING INTO WORDPRESS By Chris Coyier and Jeff Starr ... Go visit their website http://digwp.com/[^] where you will find masses of information.
David Kroj wrote: very costly as well as time taking process
Make the time. Spend a little bit of money on resourceful books etc. It will be to your benefit!
Nothing in computing is free. Take the time to read a book or two, if need be, get some video tutorials from YouTube (or CodeProject TV if there is any for WordPress), go to WordPress themselves and read some of their free tutorials. But then, as the company you work for claims to specialize in WordPress, ask them for literature to borrow.
modified 1-Aug-19 21:02pm.
|
|
|
|
|
|
You should have said you were having troubles installing WordPress. That is a different question than "configuring WordPress"!
Also, for future reference, don't refer to anybody as "Dear", it is not the done thing! Some people here and elsewhere get quite annoyed when you do 
modified 1-Aug-19 21:02pm.
|
|
|
|
|
Sorry, but all of your posts are nothing but spam and will be removed.
|
|
|
|
|
Why python is used?
I mean what actually the language can do?
-Toywarrior
modified 21-Nov-20 21:01pm.
|
|
|
|
|