Skip servlet-mapping entry for springdispatcherHow do I efficiently iterate over each entry in a Java Map?Sort a Map<Key, Value> by valuesWhat's the difference between <mvc:annotation-driven /> and <context:annotation-config /> in servlet?Where to put default-servlet-handler in Spring MVC configurationAre WSDL's like spring dispatch servlet?Serving static content in Spring MVC (3.1.1)applicationContext not finding Controllers for Servlet contextDealing with “Xerces hell” in Java/Maven?append dispatsher servlet mapping to urlCode based Servlet Initializer doesn't behave the same as web.xml

How much cash can I safely carry into the USA and avoid civil forfeiture?

"Hidden" theta-term in Hamiltonian formulation of Yang-Mills theory

Two field separators (colon and space) in awk

What happens to Mjolnir (Thor's hammer) at the end of Endgame?

Is the claim "Employers won't employ people with no 'social media presence'" realistic?

Like totally amazing interchangeable sister outfits II: The Revenge

Why was the Spitfire's elliptical wing almost uncopied by other aircraft of World War 2?

Why didn't the Space Shuttle bounce back into space as many times as possible so as to lose a lot of kinetic energy up there?

Which big number is bigger?

How to write a column outside the braces in a matrix?

Can SQL Server create collisions in system generated constraint names?

On The Origin of Dissonant Chords

How to stop co-workers from teasing me because I know Russian?

How do I deal with a coworker that keeps asking to make small superficial changes to a report, and it is seriously triggering my anxiety?

How to pronounce 'c++' in Spanish

'It addicted me, with one taste.' Can 'addict' be used transitively?

Re-entry to Germany after vacation using blue card

Can someone publish a story that happened to you?

Who was the lone kid in the line of people at the lake at the end of Avengers: Endgame?

Retract an already submitted recommendation letter (written for an undergrad student)

Can an Area of Effect spell cast outside a Prismatic Wall extend inside it?

Rivers without rain

How to prevent z-fighting in OpenSCAD?

Coordinate my way to the name of the (video) game



Skip servlet-mapping entry for springdispatcher


How do I efficiently iterate over each entry in a Java Map?Sort a Map<Key, Value> by valuesWhat's the difference between <mvc:annotation-driven /> and <context:annotation-config /> in servlet?Where to put default-servlet-handler in Spring MVC configurationAre WSDL's like spring dispatch servlet?Serving static content in Spring MVC (3.1.1)applicationContext not finding Controllers for Servlet contextDealing with “Xerces hell” in Java/Maven?append dispatsher servlet mapping to urlCode based Servlet Initializer doesn't behave the same as web.xml






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















In my web project I am using only spring core. I don't have any @Controller annotation, I only have DAO (@Repository) and Service layers (@Service).



In this case can i skip my servlet-mapping entry for spring dispatcher?



 <servlet-mapping>
<servlet-name>springdispatcher</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>


If I use this entry, I have having issues in loading CSS and JS files because I have not handled them in my spring config xml.










share|improve this question




























    0















    In my web project I am using only spring core. I don't have any @Controller annotation, I only have DAO (@Repository) and Service layers (@Service).



    In this case can i skip my servlet-mapping entry for spring dispatcher?



     <servlet-mapping>
    <servlet-name>springdispatcher</servlet-name>
    <url-pattern>/</url-pattern>
    </servlet-mapping>


    If I use this entry, I have having issues in loading CSS and JS files because I have not handled them in my spring config xml.










    share|improve this question
























      0












      0








      0








      In my web project I am using only spring core. I don't have any @Controller annotation, I only have DAO (@Repository) and Service layers (@Service).



      In this case can i skip my servlet-mapping entry for spring dispatcher?



       <servlet-mapping>
      <servlet-name>springdispatcher</servlet-name>
      <url-pattern>/</url-pattern>
      </servlet-mapping>


      If I use this entry, I have having issues in loading CSS and JS files because I have not handled them in my spring config xml.










      share|improve this question














      In my web project I am using only spring core. I don't have any @Controller annotation, I only have DAO (@Repository) and Service layers (@Service).



      In this case can i skip my servlet-mapping entry for spring dispatcher?



       <servlet-mapping>
      <servlet-name>springdispatcher</servlet-name>
      <url-pattern>/</url-pattern>
      </servlet-mapping>


      If I use this entry, I have having issues in loading CSS and JS files because I have not handled them in my spring config xml.







      java spring spring-mvc






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 22 at 17:28









      Abhishek KAbhishek K

      267417




      267417






















          0






          active

          oldest

          votes












          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55304917%2fskip-servlet-mapping-entry-for-springdispatcher%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55304917%2fskip-servlet-mapping-entry-for-springdispatcher%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript