Re: Spring+Tomcat

2018-12-13 Thread Adlet Azhibek
>
> thanks a lot for your help! I got project with .jars in "lib" from
> previous developer. And I should update version of my spring, so I thought
> that there is a way to download tomcat with all libs in it. Now I inserted
> all neccessary libs manually one-by-one, and it works.
>
>


Re: Spring+Tomcat

2018-12-13 Thread Luis Rodríguez Fernández
Hello Adlet,

Regarding the deployment of spring in tomcat: I would recommend  you to
keep the application libraries (spring and others) in your WEB-INF/lib. You
can have a look at this fantastic tutorial [1].

About websockets: keep in mind that tomcat has out-of-the-box websocket
support. Nevertheless should not be a problem if you choose to use another
implementation that integrates better in your app. Me in the past I did
deploy some websockets [2] applications in tomcat and they worked.

Hope it helps,

Luis

[1] https://www.baeldung.com/spring-boot-war-tomcat-deploy
[2] https://github.com/Atmosphere/atmosphere



El jue., 13 dic. 2018 a las 5:51, Adlet Azhibek ()
escribió:

> *Hi all!*
> how should download a new version of tomcat with *necessary (.jar) files in
> a "lib" directory? I need, for example, "**spring-websocket-5. 1.3. RELEASE
> .jar" in "lib". What should I do? I've downloaded necessary jar files from
> *
> https://mvnrepository.com, *but it doesn't work**.*
>
>
>
> *best regards, Adlet Azhibek*
>
> *a.azhi...@cloudmaker.kz *
>
> *adl.c...@gmail.com *
> *+77474821894*
>


-- 

"Ever tried. Ever failed. No matter. Try Again. Fail again. Fail better."

- Samuel Beckett


Re: Spring+Tomcat

2018-12-13 Thread Olaf Kock
On 13.12.18 05:51, Adlet Azhibek wrote:
> *Hi all!*
> how should download a new version of tomcat with *necessary (.jar) files in
> a "lib" directory? I need, for example, "**spring-websocket-5. 1.3. RELEASE
> .jar" in "lib". What should I do? I've downloaded necessary jar files from *
> https://mvnrepository.com, *but it doesn't work**.*

Define "necessary": No Spring library is necessary for tomcat, so most
likely you can't download Tomcat anywhere *with* all the libraries that
you need for an arbitrary application.

If you have the libraries, you can copy them to tomcat's lib directory
yourself. Or better, bundle them in the webapp's WEB-INF/lib directory
for any webapp that requires them.

If you're a developer/vendor of an application that runs on Tomcat, your
installation instructions (and ideally the delivery package) should
include the libraries that your application requires (and that you're
willing to support). To equip your development environment with the
necessary dependencies, you'll need to use the appropriate way
prescribed by your build tool. E.g. if you use Maven, and you declare a
dependency as "provided", you better make sure that it is provided.

But ideally, have everything that you need in your webapp bundled in
WEB-INF/lib, rather than in tomcat's global lib/ directory.

Does that help, or did I miss an obvious aspect?

Olaf



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Spring+Tomcat

2018-12-12 Thread Adlet Azhibek
*Hi all!*
how should download a new version of tomcat with *necessary (.jar) files in
a "lib" directory? I need, for example, "**spring-websocket-5. 1.3. RELEASE
.jar" in "lib". What should I do? I've downloaded necessary jar files from *
https://mvnrepository.com, *but it doesn't work**.*



*best regards, Adlet Azhibek*

*a.azhi...@cloudmaker.kz *

*adl.c...@gmail.com *
*+77474821894*


Re: Problem in spring-tomcat project

2011-10-15 Thread Pid
On 14/10/2011 17:41, Anisha Karki wrote:
 I am following the tutorial:
 http://static.springsource.org/docs/Spring-MVC-step-by-step/part2.html
 
 on developing and configuring the views and the controller. But i am getting
 following error:
 
 
 org.apache.jasper.JasperException: /index.jsp (line: 1, column: 1) The
 absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in
 either web.xml or the jar files deployed
 
 
 I have already copied jstl.jar and jsltl-standard.jar to WEB-INF
 folder but the problem is not solved. How to solve this problem ?any
 help would be
 appreciated.

Is this a Spring tutorial question or a Tomcat question?
You don't mention anything about Tomcat.


p




signature.asc
Description: OpenPGP digital signature


Problem in spring-tomcat project

2011-10-14 Thread Anisha Karki
I am following the tutorial:
http://static.springsource.org/docs/Spring-MVC-step-by-step/part2.html

on developing and configuring the views and the controller. But i am getting
following error:


org.apache.jasper.JasperException: /index.jsp (line: 1, column: 1) The
absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in
either web.xml or the jar files deployed


I have already copied jstl.jar and jsltl-standard.jar to WEB-INF
folder but the problem is not solved. How to solve this problem ?any
help would be
appreciated.


Sincrely,
Anisha Karki