In order to avoid an error while linking a CSS and JS file, the files must come under the jsp folder and hence, a user will be able to find the files there. The user must return back by a folder and then use the given algorithm:-
<script src="../../Jquery/prettify.js"></script>
The file the user would have saved will be located in the /jsp/<somefolder>/ where the <link /> and <style /> elements are included. The user must use an absolute URL due to the reason for links being stored in a common file. Please note that while attempting to rectify the relative pathing by including a second "../" one must be aware that the /jsp where the files are stored, can be damaged.