-
XMLHttpRequest: network error 0x2eff. this operation cannot be completed due to error 00002eff.
write the program for uploading files in java. There is no problem with deployment on other servers in Aliyun. but after deployment in the customer s own server room, my visit to the upload page IE11 reports the following error SCRIPT7002: XMLHttpReq...
-
Java: the front and rear ends are separated and the back-end (tomcat), is run with IDEA. How are the front-end pages deployed during the development phase?
for testing and production deployment, just throw the front-end page to nginx
but at the time of development, how do you deploy the front-end page?
...
-
Tomcat servlet HTTP Status 405? Method Not Allowed
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
resp.setContentType("text html;charset=gb2312");
PrintWriter out = resp.getWriter();
out.println("<htm...
-
The maven project successfully added values to cookie in eclipse, but failed to add values to tomcat when deployed.
the project generates a number immediately after the user has successfully logged in. "token " is added to cookie as the key. Running in eclipse and using 360, Google browser can see this cookie value. However, when deployed to a remote tomcat server, ...
-
On the problem of garbled codes in Servlet
character encoding has been set before getting parameters
req.setCharacterEncoding("GB2312");
but it s still garbled
...
-
Whether there is a problem with the tomcat multi-service deployment website
I configured a service and a website in tomcat, so when I started, I found that the memory consumption was very high, and the website crashed and exited without knowing why. I wonder if it is because of the use of multi-service? ...
-
Tomcat has been running for a period of time, but it has not been reported correctly, but it cannot be accessed.
tomcat can be accessed normally at the beginning, but after a week or two of operation, it cannot be accessed normally, and it does not report an error, but it just cannot be accessed, which is very strange. jdk and tomcat are both 32-bit, is that the r...
-
Urlrewrite does not work. Two domain names point to the same project under the same IP.
the website is divided into foreground and background, and there are 2 domain names.
enter domain name 1 to access the foreground enter domain name 2 to access the background
but I can only see after typing in my browser.
"this page does not wor...
-
How to prevent side notes in tomcat
I used multi-service to deploy multiple websites, and now there is a question, that is, how to prevent side notes between these sites? That is to say, if one of them is hacked and placed in the backdoor, how to restrict the access path of this backdoor t...
-
About the output of tomcat catalina.out, can you create it by service?
is that a service, outputs a catalina.out, so that it is not all mixed up and it is difficult to observe the problem ...
-
The project can't be opened by me.
before IDEA was updated, it was obviously adjusted not to delete the setting, but I don t know why the setting was restored. This is not the point. Today, the updated Javaweb project entered the project as it was after IDEA modified the code to open tom...
-
Tomcat startup error problem! Hurry!
1.Tomcat made a mistake when starting this project, and all other projects can run normally. Please attach the error chart .
2.:TomcatTomcatserver pathdeploy pathweb.xmlurlxmljarjar
XML
...
-
Idea compilation tomcat 8.5 source code cannot compile jsp to class
compile tomcat 8.5 source code successfully, start successfully, access localhost:8080 Times Unable to compile class for JSP error. Access to non-jsp (such as ico,png) resources is normal.
configure environment:
:
:
used solution: when searching...
-
Tomcat 404 java spring mvc
web.xml
<servlet>
<servlet-name>mvc-dispatcher< servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet< servlet-class>
<load-on-startup>1< load-on-startup>
...
-
What are the skills of printing logs?
in daily development, we always encounter all kinds of anomalies. If there are anomalies, we need information to analyze and analyze, and the information usually comes from logs. In our company, some modules have a few G logs a day (too many). Some logs ...
-
The controller layer gets the value returned by the aop method
problem description: basically prevents users from making malicious requests, limits the number of visits per unit time , and then makes an aop, but I can t get the return value of the aop method in the controller layer, as follows:
@Pointcut("...
-
After changing the server, Wechat official account program stopped recording failed, solve?
Today, the server of the program has been changed, and the program can run, and WeChat Pay has no problem, that is, when calling Wechat to stop recording API (wx.stopRecord), fail,
Code:
function wxRecStop(recNext) {
wx.stopRecord({
succe...
-
Ask questions about push, database, Android
this semester, the teacher gave a project, which is to design a push system. The main function is to realize the function that the server pushes data to the mobile or PC, and the mobile or PC can feedback the data. Because I am a mechanical student, I d...
-
Idea2017.3 configuration Tomcat prompt Port is not specified
I downloaded intellij idea2017 3.3,3.4 to configure tomcat both reported errors: Invalid Data:Port is not specified HTTP port 8080 JMX port 1099 AJP port 1099
No reply to the corresponding question can be found on the Internet, and tomcat is also n...
-
The direct copy of the link will not be 302, if the application directly on the website jumps automatically, it will be 302.
the front end uses the vuejs, back end to deploy on the tomcat server using java spring, and the background directory of the request for access to the dist, front end through 8080 is webapp. now there is a problem: visit a top-up page at the front end. ...