The view path doesnot exist.It is working fine on local but when deploy on server the view path doesnot exits.
Related
I have created a database of flashcards using MySQL workbench. I have set up the localhost in workbench so I can access the database from my app when I open my app on my localhost:3000.
When I deploy my Next.js app on Vercel I open the page through the vercel weblink and everything works – I guess this is beacuse it is on the same computer that is hosting the local server.
However, when I open the same weblink on my phone or another computer I am getting empty spaces where the flashcards from the database usually are.
I tried to set up a remote server in workbench (i don't know if that is the correct course of action) , however I could not get it to work.
If someone could just push me in the right direction as to what I need to learn or do in order to access the Mysql database I've created on my computer from anywhere on any device.
jsp page is not loaded instead the browser shows "com.mysql.jdbc.Driver". Database is connected to MySQL query browser from Netbeans 8.1. Why the page is not loaded? What is the remedy?
Some of the possible Issues :-
JDBC Driver i.e thin driver seems to be missing or not getting loaded while establishing the connection using JDBC Code in your JSP File.
Try to do the following as mentioned below:-
1.Add your mysql-connector-java-5.1.13-bin.jar in the LIB folder of your Java Project .
2.Right click in you project; click on "Clean and Build";
After that go to the netbeans project folder;
3.Try executing a Your Project and your JSP page should be able to connect to the DB using JDBC API Code.
I added a report project to my existing solution in VS2015, built some reports and now I am trying to deploy the project to a report server. I have gotten the URL from the config manager ( http://MyServer/ReportServer_SQLEXPRESS ) and put that in the report project properties as the target server URL.
When I click Deploy I get an error saying "The specified report server http://localhost/reportserver could ot be found.
I have no idea where it is getting this localhost reportserver URL from, that is not what is saved in the properties. The Report project is inside a solution with an MVC project. Do I need to change something at the Solution level?
Turned out I had to run VS as an administrator, I assume because of the permission on the remote server.
I am running an apache server on computer A. I use computer B with ubuntu desktop and A lamp server to develop code because it's more portable. I use ftp to put html files on computer A and they can be opened by connecting to computer A's ip via the browser, all simple enough. Now I would like via a link on my default page index.html to be redirected to an html file stored in a shared folder on computer B. Is such a thing possible and if so how can I make apache render the html page at such a location as smb://<network location>/var/www?
mkdir /var/www/remote # assuming your current document root is /var/www/
mount smb://network.host/var/www /var/www/remote/
Once you have it working you can edit /etc/fstab to make it permanent, or script step 2.
This will keep your current local server working, and allow you to access the remote path at http://127.0.0.1/remote/
My question is I know that a server application can access the data stored at server but cannot access teh data stored at client machine as this is a security issue and Browsers not allow this. But in case of localHost (when my local pc is acting as a server) I should be able to access the files from my PC(the local PC on which the application is running). But that is not happening.
Why i m not able to access a simple image file form my local C:\ drive by localhost. The URL i used was file:///c:/image.png but if i store this image any where under home directory of tomcat i m able to access it. WHY ??
I m using it as <'img src="file:///c:/image.png>
Thanks for any considerations..
The problem is with this part:
The URL i used was file:///c:/image.png but if i store this image any
where under home directory of tomcat i m able to access it.
If you want to access the file through Tomcat after placing it in Tomcat's document-root, then the URL to use (assuming you haven't changed the default port setting) is:
http://localhost:8080/image.png
Content hosted by the web-server needs to be accessed through the web-server. A file:// URL bypasses any sort of server, and basically directs the browser to look directly in the local filesystem. So it should also work if you were to do:
file:///C:/path/to/tomcat/home/image.png
But in that case you are not going through Tomcat. You're just pointing the browser at the tomcat folder in your local filesystem.
Edit: I don't think many browsers will not allow file:// urls in tags in hosted documents. Doing so could cause the appearance of a security hole, as if you could guess the name of an image file on someone's local filesystem you could then post a webpage that made it appear as if your server had somehow grabbed their personal image file.