Posts

What's an Application layer? -

I think I understand business logic layer and data access layer, but what does the application layer word mean? Is this something you use in distributed applications? Part of this project, which is unique to the actual application.

asp.net mvc - how will you do this in MVC custom route? -

www.yoursite.com/image/ I need to know here that the Controller Action, and Global .sx routes : The character is not valid The path segment of the URL, Then you have to either put it in sign language, or delete it altogether after that, you can specify that the value of the route should be assigned to the balance of the URL. routes.MapRoute ("Image", "image / {* url}", new {controller = "image", action = "index"}); For the url http://www.yoursite.com/image/images.google.com.ph/images/nav_logo7.png , the above paths will execute with a url argument with code> "images.google.com.ph/images/nav_logo7.png" . Also note that a URL authorization can be composed of a domain name and a port number, which is also encoding : (www.google.com:80) Will happen.

php - Adding amount to background-position on click (jQuery) -

I am very new to js and jquery, please stand by me. I want to change the background position and # 1 when adding # button to # 1, clicking on # button 1 takes 1% at # 1 and ## while clicking on button 2 How do I get it in jQuery? Hey, Bonus Question: These are going to be dynamically generated via PHP. Like this: $ i = 1 while ($ i & lt; = 5) Is it possible to use php in JS-scripts? : $ Div [$ i] = 'div' $ I; $ Left button [$ i] = 'left left' $ I; $ Rightbath [$ i] = 'rightboot' $ I; $ I ++; Endwhile; Or how to learn a loop in JS;) Edit: Follow the questions: How can I update a text field with this value as I click on the button? And how can I modify it if I also want to add button above / below? Thanks a lot! Thanks in advance! -Simon like this: function makeClicker (index) {$ ('# Leftbutton' + index) .click (function () {var bPos = $ ('# div' + index) .css ('background-position'); bPos = bPos.replac...

java - How can I determine the J2ee application server type and version? -

I have to know the information about the application server running in my AJB. System Properties have lots of information about Java and operating systems, but I should know what type of application server and version if possible. Is there a way to independently apply this information (JMX perhaps)? Alternatively, is there a webpreader specific way to get this information? Take a look through that available. It seems that you may have some information you are looking for.

c# - How can I add a line break or html inside of a Panel? -

I am trying to create a menu with the following code. But I can not understand how each linkbutton will be displayed on different lines. MenuPanel.Controls.Clear (); Förch (form list f form) {if (f.IsActive == "y") {FormUserControl fc = (FormUserControl) LoadControl (f.StartControl); Linkbutton lb = new link button (); Lb.Text = fc.Title; MenuPanel.Controls.Add (pound); // I want some kind of line break}} to insert the square Use a line break ... MenuPanelControlSaidAd (new Little Control (" Or use CSS to create your link block-level elements ... # menu one {display: block; }

merge - How to identify conflicting commits by hash during git rebase? -

When I'm struggling in a merger using git rebase , how do I Can I identify the source of conflict? before git rebase - -continue , but sometimes the difference between files is not enough: I want to see commit logs and commitment of DIF which only fail to implement the tree that works in the works I have read in other questions that git log --merge shows that if I was using git merge then the parent's you have to come. I tried it in any way, when I had to face the conflict and I was Fatal: -Merges without MERGE_HEAD? said. How can I identify the problematic commitment? short answer if it says Patch 0001 failed message failed for F $ head -1 .git / rebase-apply / 0001 to ad1c7739c1152502229e3f2ab759ec5323988326 Mon September 00 00 : 00 2001 Use the git show ad1c77 to get SHA ad1c77 of the failed commitment, and then to see it Please. Long Answer Start with this tree: a --- B --- C --- D \ E --- F --- G $ git checkout G $ git...

C# Regex quick help -

I am trying to read a text file, and then breaks it from each line that is "\ n". Then do it again and type regedix. string content = file. Read all the text (filename); String [] firefox = file name. Sample ("\ r \ n"); String prefix = prefix = regesx. Match (Firefox, @ "(\ d)"). Group [0]. value; File. Application all text (working format 2 + "configuration.txt", prefix); string [] Firefox = file name. Sample ("\ r \ n"); Does not work at all What I want to do, runs the regex front line of content and then write each line after regex so ... filename: Hero 123 Hero 243 Hero 5959 writes this: 595 5959 OK , Everybody is suggesting some of the bases in which I started the regex with a 20-line Inge about the end result. I've got to parse it out of the line. var rows = file. Read Line (Basic Path); File. Select All Lines Merge (Newpath, Lines. (L = & gt; Reggae. Match (l, @ "\ d +"). Valu...