can anyone help me please. I'm using eclipse IDE and apache tomcat 9.0.12. I'm trying to do my assigment where we have to create html and java file. My html file works just fine but the problem occurs when im trying to get the data from java file. I already watch youtube and google but their problem is different than mine. I dont have typo or any simple problem .. I think it is a path problem but i don't know how. it seems like eclipes coudlnt find where my java file located.[[enter image description here](https://i.stack.imgur.com/RJ7Ed.png)](https://i.stack.imgur.com/cbOZl.png)
i trie to check typo, change localhost path , no different
Related
I am developing a java web application in Netbeans and I would like to know how to get the path of the following file, which I need to read. In the following image I indicate which is the route that I want to know.
I'm using PrimeFaces 6.
Thanks!
I'm trying to convert oracle forms FMB files to XML. To do this I'm using forms developer 10's native Java tool. This works fine on my local computer but I'm trying to automate the conversion process on a server.
I've taken the main folder "Dev10G" from my forms install directory and added it to the server, but I'm getting the error that you can see in the screenshot. I'm trying to avoid doing a full install of forms developer on the server if I can help it. Has anyone any suggestion on what I might try next.
Thanks
You need to exit the bat file in textpad.
You will then need to change the paths.
I you need extra help feel free to checkout my note how to do it here
https://oracleformsinfo.wordpress.com/2011/12/16/batch-script-for-fmb-to-xml-and-xml-to-fmb/
I am encountering a problem in which upon selecting an xhtml file from my project and selecting run on server (apache tomcat) I get the following error 'The file "http://localhost:8080/projectname/faces/index.xhtml" could not be found.
I tried following an example, to make sure I was doing things correctly (setup, creating files correctly), example site:
http://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.jst.jsf.doc.user%2Fhtml%2Fgettingstarted%2Ftutorial%2FJSFTools_tutorial_JSF20.html
However it returns similar error only with instead of index as above it is login.
Hope this is enough information, I can supply more info such configuration details as well as images if they are needed. I hope someone has had this exact same problem!
Thanks!
I was able to fix this problem by deleting my eclipse files, and other associated files. Then re-installing them. This fixed the error. I am sure there is a better way of doing this (I hope so anyway) but this will work.
i keep getting this error ive been looking at it for a day now and im just beat. i was wondering if anyone can help me.
this is the error
Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: 'http://localhost:8080/Learn/messagebroker/amf'
when i do this locally on tomcat server on local development machine it works fine when i brought it over to linux im getting this error.
i dont know what to do anymore it should be straight forward but i'm having no luck.
i do have a web.xml and i see a broker for my remote access so i just dont know what it could possibly be. i would appreciate any help anyone can offer.
Miguel
ok i figuered it out. when i brougth my project over to linux tomcat expects to see all the java classes, flex config files and web.xml file under the root/web-inf. I wish i can change that but thats just the way it works. I was hoping with blazeds i can just put my files on a server and it would all work but thats not the case so if your like me and are new to the whole blazeds scene. Be careful you will nee to change the server web.xml file along with adding additional files under the ROOT/WEB-INF directory. One thing that helped me alot was the LOG files under tomcat_instal/LOG/logfilename.
Good luck to you
I'm generating a custom Word documents in my web application using the .mhtml format. Previously this was working fine. I assemble the document and write it to a directory then give a link to the file (with a .doc extension). Recently my template has changed to include embedded images. Now when I attempt to save and open a file from the web app, Word refuses to open it. It just shows a message "Cannot open file .." with the path. When you view the help it says something about lack of memory which is bogus.
When I open the exact same file from my localhost server it works fine. The two files (local and production) are identical. I've tried adding the site as a Trusted Site - no luck.
Any ideas?
Jeff
Sounds like the webserver does not annotate with a correct mimetype.
Is the downloaded file identical with the one present in the webserver? Do a byte-wise comparison.
Also try other browsers to see. IE has some quirks.
Solved issue by switching to plain HTML format with images as external links.