Questions tagged [web-development-server]

Use this tag for questions related to a Web-development Server, i.e. the backend/server side of a web application, when it comes to its development.

can be used in several situations, so please use one or more additional tags to better describe your case.

1473 questions
6
votes
4 answers

Play! framework. create a new view

I created a new project using the play console now, by default I got in my views directory two files: main.scala.html index.scala.html I want to add a new view file. I call it "forums.scala.html" now, I know that in order to render a view you…
socksocket
  • 4,271
  • 11
  • 45
  • 70
5
votes
3 answers

How would I go about creating a Django + SvelteKit webapp?

I've already gotten my fair share of Bootstrap and Django but never tried out other frontend frameworks like Angular, React, etc. and finally wanted to try SvelteKit. So I'm really inexperienced and new with this sort of stuff. Currently I've…
fullstacknoob
  • 161
  • 1
  • 7
5
votes
1 answer

Bootstrap on GH-Pages

I have had a personal webpage that I host on github-pages for years. That is simple HTML structure and works just fine on gh-pages. Recently I found a cool website template on bootstrap (https://bootstrapmade.com/) that I'd love to use on my github…
Rotail
  • 1,025
  • 4
  • 19
  • 40
5
votes
5 answers

Django 3.x: AttributeError: module 'django.contrib.admin' has no attribute 'display'

from django.contrib import admin from .models import Shop @admin.register(Shop) class ShopAdmin(admin.ModelAdmin): @admin.display(description='Name') def upper_case_name(self,obj): return("%s" % (obj.name)).upper()
Akhil99
  • 63
  • 1
  • 6
5
votes
2 answers

Github 500 error the page can not be loaded

please help me , ı cant create a repository due to the error. after clicking the continue to layouts , 500 error appears on the page. ı refreshed it but ıt didnt work. ı use opera and stil having same problem.
harrison
  • 51
  • 1
  • 1
  • 2
5
votes
1 answer

What is the best way to handle conditionally required arguments in a FastAPI app?

I am developing a FastAPI application. I have with the following schema class Address(BaseModel): address_string: str = Field(None) address_street: str = Field(None) addres_number: str = Field(None) I like to have the field…
Nicolas Martinez
  • 719
  • 1
  • 6
  • 23
5
votes
1 answer

How to find URL Registrations (not Reservations)?

Is there a windows command to list the process IDs and Names of application holding a specific URL registration? I am after the applications that has made registrations under the following URL namespace. http://localhost:55987/ I am aware that URL…
Social Developer
  • 405
  • 5
  • 16
5
votes
2 answers

What is the core functionality of the 'secret' option in express-session?

I am trying to understand the functionality and relevance of the 'secret' option in express-session. I have already tried browsing online for some information regarding this, but couldn't find anything substantial. This is what I found on the npm…
mirror06
  • 63
  • 1
  • 7
5
votes
3 answers

"Chrome detected unusual code" error in previously working iframe

I had a perfectly working PHP page with an iframe inside. Suddenly it stoped working in Chrome with this error: Chrome detected unusual code on this page and blocked it to protect your personal information... Any idea how to solve it?
Adrián E
  • 1,683
  • 2
  • 14
  • 24
5
votes
1 answer

HTTP ERROR: 503 when i run app-engine locally

I try to debug my java servlet with app engine locally: /opt/appengine-java-sdk-1.9.42/bin/dev_appserver.sh -p 8090 /Users/me/proj/src/main/webapp and i see: Oct 01, 2016 9:26:27 AM com.google.apphosting.utils.jetty.JettyLogger info INFO: Started…
Elad Benda2
  • 13,852
  • 29
  • 82
  • 157
5
votes
1 answer

SpringMVC: The precedence of @RequestMapping and Static Resource serving

I have the following mapping for a controller handler method: @RequestMapping(value = "login.html") public String doLogin(Model model) { return "login"; } And I have the following configuration for static *.html resource: public void…
smwikipedia
  • 61,609
  • 92
  • 309
  • 482
5
votes
1 answer

PHP built-in development server: disable caching

Sometimes I like to use PHP's built-in development server to work on quick stuff like so: php -S 127.0.0.1:8888 However I seem to run into heavy caching issues from time to time where I need to restart the server in order to see even simple HTML…
Ryan Bosinger
  • 1,832
  • 2
  • 16
  • 25
5
votes
3 answers

How to save user input without backend

I am just learning JavaScript and web development in general and I was wondering if what I want to do is possible. I would like to write a JavaScript quiz that saves the answers a user inputs without needing a backend. Is this possible? If it is…
Manny_G
  • 333
  • 3
  • 11
5
votes
1 answer

fatal: did you run git update-server-info on the server? - Not using github

1. I followed the following tutorial to setup git for web development on my private server. Using git for Deployment Im getting the following error while using git push origin master fatal:…
wdphd
  • 905
  • 6
  • 15
  • 25
4
votes
2 answers

I can view httpOnly cookies in browser

I thought that httpOnly cookies were only available to read in a http request. However, when I open up Firefox dev tools, I can see the cookies' value. Is this normal?
1 2
3
97 98