Questions tagged [webcontext]
16 questions
13
votes
3 answers
How to control the web context of Spring Hateoas generated links?
We are building an API and are using Spring RestControllers and Spring HATEOAS.
When the war file is deployed to a container and a GET request is made to http://localhost:8080/placesapi-packaged-war-1.0.0-SNAPSHOT/places, the HATEOAS links look like…

Nathan Russell
- 3,428
- 5
- 30
- 51
9
votes
4 answers
Wildfly in Eclipse is adding the Maven SNAPSHOT to the web context
I'm having a new problem when we moved to a Wildfly 8.x server in eclipse.
My project is called PayloadSvc. The first part of the pom.xml looks like…

user3669653
- 354
- 1
- 8
- 15
4
votes
0 answers
The above error occurred in the component:
npm test is answering like this. What about my Context.consumer?

edatokmak
- 41
- 1
- 2
2
votes
1 answer
Saving a file in a UWP web context
I recently developed a universal application for Windows 10 with UWP web context (so JavaScript and HTML) and I would like to save a text file. It works well on a browser (Chrome, Firefox, Edge,...) but not in the application.
Can someone help me?…

Vandendaelen Clément
- 31
- 3
2
votes
1 answer
Multiple Jira instances on a single Tomcat 6 server?
I have a feeling this is a stupid question but I can't find the answer anywhere...
I need to deploy 2 Jira instances on asingle Tomcat server, I can't figure out how to pass in the jira.home property
The documentation says I need to:-
Add a web…

David Hayes
- 7,402
- 14
- 50
- 62
2
votes
1 answer
Accessing the WebContext class in XAML
The generated App.xaml.cs file contains this
private void Application_Startup(object sender, StartupEventArgs e)
{
// This will enable you to bind controls in XAML files to WebContext.Current
// properties
this.Resources.Add("WebContext",…

Peter Wone
- 17,965
- 12
- 82
- 134
2
votes
1 answer
Dynamically compile and include JSP(X)s outside Web Context Root
I have a web application heavily using jspx-files and jsp:include-includes which is deployed from the same jar to several hundred contexts in tomcat. Currently we can only modifying the layout of each individual instance by changing CSS or…

chammp
- 822
- 1
- 10
- 20
1
vote
1 answer
Default servlet mapping for different deployment environments
We want to deploy our application on Tomcat, WebLogic, WebSphere and JBoss. Our application's web.xml needs to contain a mapping to the default servlet.
For Tomcat this servlet is named "default", so our mapping would appear as:
…

James
- 1,237
- 4
- 22
- 43
1
vote
1 answer
Silverlight4 WebContext
I have built a Silverlight 4 application and I have hit a problem.
I have split my application into multiple xaps(different sub-systems) to reduce downloading / improve performance as not all subsystems are needed by every user.
However I want to…

David
- 3,519
- 1
- 24
- 30
0
votes
1 answer
Some WebKit2GTK WebContext functions missing from opensuse webkit2gtk4-devel c-headers
My installed version webkit2gtk4-devel 2.40.0 doesn't have all the functions, which are stated from the WebKitGTK documentation found here.
The currently missing functions, which I have come across are (there are probably…

chm46e
- 21
- 3
0
votes
2 answers
Java - load file from web context
I can't figure out why fi.exists() returns false here. I can browse to the file via the browser at contextPath+"/images/default.png
String contextPath = req.getContextPath();
File fi = new File(contextPath+"/images/default.png");
exists =…

mrcrag
- 310
- 3
- 16
0
votes
1 answer
webcontext on Artifactory 7.x
I am struggling to set the webcontext on artifactory 7.x, but I cannot make it work no matter what I try. I know that on artifactory 5.x and 6.x there is an option in the menu for that, but in 7.x it's different.
Why I try :8082/ it's working, but I…

user3581412
- 33
- 1
- 7
0
votes
0 answers
WARN:oejw.WebAppContext:Thread-5113: Failed startup of context o.e.j.w.WebAppContext- java.lang.NullPointerException
Our project has two servers if one server is closed then it should connect to the another one. But I'm getting this error while doing so. It is not connecting either.
WARN:oejw.WebAppContext:Thread-5113: Failed startup of context…

Nisha Serosia
- 13
- 3
0
votes
1 answer
set contextpath for EJB3 webservice on Weblogic 11g
I build a web service with ejb3 and maven (EAR File),code First, JAXWS, Without WSDL and without WAR, only ejb, with Eclipse, the service works in JBOSS but now i need put the service in Weblogic 11g.
With JBOSS i have the…

Kaltresian
- 961
- 3
- 14
- 32
0
votes
1 answer
sending data from local context to web context (WINJS)
I have a program where i have a page in the local context and within this page i have got an iframe where the content of it is in the web context. Now I would like to send some data from the local context to the web context. How do i do…

Safari
- 3,302
- 9
- 45
- 64