I have downloaded the source code of a jsp (preferred for SUN Enterprise Applications) website. In the above Code, only config. java and config can be modified. jsp (preferred for SUN Enterprise Applications) can be run.
I can't do it a few times. Let's take a look.
Config. java source file:
Package myshop;
Public class config {
// --- About database settings ---
Public String DBdriver = "org. gjt. mm. MySQL (the best combination with PHP). Driver ";
Public String DBname = "503 room ";
Public String DBuser = "503 room ";
Public String DBpwd = "503 room ";
Public String DBurl = "jdbc: MySQL (the best combination with PHP): // localhost: 3306/" + DBname + "? User = "+ DBuser +" & password = "+ DBpwd;
Public String systemURL = "http: // localhost: 8080/myshop ";
Public String systemFolder = "/myshop /";
}
Running error prompt:
Description The server encountered an internal error () that prevented it from fulfilling this request.
Exception
Org. apache (the most popular WEB server platform on Unix ). jasper. jasperException: Unable to compile class for jsp (preferred for SUN Enterprise Applications) An error occurred at line: 64 in the jsp (preferred for SUN Enterprise Applications) file:/myshop/head. jsp (preferred for SUN Enterprise Applications) Generated servlet error: C: apache (the most popular WEB server platform on Unix) Software Foundationomcat (a very useful JSP running platform) 5.0workCatalinalocalhost \ _ orgapache (the most popular WEB server platform on Unix) jsp (the preferred choice for SUN Enterprise Applications) myshophead_jsp (the preferred choice for SUN Enterprise applications ). java: 106: cannot resolve symbolsymbol: variable SystemURL location: class org. apache (the most popular WEB server platform on Unix ). jsp (the first choice for SUN Enterprise applications ). myshop. head_jsp (preferred for SUN Enterprise Applications) out. print (SystemURL); ^ An error occurred at line: 68 in the jsp (preferred for SUN Enterprise Applications) file:/myshop/head. jsp (preferred for SUN Enterprise Applications) Generated servlet error: C: apache (the most popular WEB server platform on Unix) Software Foundationomcat (a very useful JSP running platform) 5.0workCatalinalocalhost \ _ orgapache (the most popular WEB server platform on Unix) jsp (the preferred choice for SUN Enterprise Applications) myshophead_jsp (the preferred choice for SUN Enterprise applications ). java: 112: cannot resolve symbolsymbol: variable SystemURL location: class org. apache (the most popular WEB server platform on Unix ). jsp (the first choice for SUN Enterprise applications ). myshop. head_jsp (preferred for SUN Enterprise Applications) out. print (SystemURL); ^ An error occurred at line: 68 in the jsp (preferred for SUN Enterprise Applications) file:/myshop/head. jsp (preferred for SUN Enterprise Applications) Generated servlet error: C: apache (the most popular WEB server platform on Unix) Software Foundationomcat (a very useful JSP running platform) 5.0workCatalinalocalhost \ _ orgapache (the most popular WEB server platform on Unix) jsp (the preferred choice for SUN Enterprise Applications) myshophead_jsp (the preferred choice for SUN Enterprise applications ). java: 114: cannot resolve symbolsymbol: variable SystemURL location: class org. apache (the most popular WEB server platform on Unix ). jsp (the first choice for SUN Enterprise applications ). myshop. head_jsp (preferred for SUN Enterprise Applications) out. print (SystemURL); ^ An error occurred at line: 73 in the jsp (preferred for SUN Enterprise Applications) file:/myshop/head. jsp (preferred for SUN Enterprise Applications) Generated servlet error: C: apache (the most popular WEB server platform on Unix) Software Foundationomcat (a very useful JSP running platform) 5.0workCatalinalocalhost \ _ orgapache (the most popular WEB server platform on Unix) jsp (the preferred choice for SUN Enterprise Applications) myshophead_jsp (the preferred choice for SUN Enterprise applications ). java: 121: cannot resolve symbolsymbol: variable SystemURL location: class org. apache (the most popular WEB server platform on Unix ). jsp (the first choice for SUN Enterprise applications ). myshop. head_jsp (preferred for SUN Enterprise Applications) out. print (SystemURL); ^ An error occurred at line: 75 in the jsp (preferred for SUN Enterprise Applications) file:/myshop/head. jsp (preferred for SUN Enterprise Applications) Generated servlet error: C: apache (the most popular WEB server platform on Unix) Software Foundationomcat (a very useful JSP running platform) 5.0workCatalinalocalhost \ _ orgapache (the most popular WEB server platform on Unix) jsp (the preferred choice for SUN Enterprise Applications) myshophead_jsp (the preferred choice for SUN Enterprise applications ). java: 125: cannot resolve symbolsymbol: variable SystemURL location: class org. apache (the most popular WEB server platform on Unix ). jsp (the first choice for SUN Enterprise applications ). myshop. head_jsp (preferred for SUN Enterprise Applications) out. print (SystemURL); ^ An error occurred at line: 76 in the jsp (preferred for SUN Enterprise Applications) file:/myshop/head. jsp (preferred for SUN Enterprise Applications) Generated servlet error: C: apache (the most popular WEB server platform on Unix) Software Foundationomcat (a very useful JSP running platform) 5.0workCatalinalocalhost \ _ orgapache (the most popular WEB server platform on Unix) jsp (the preferred choice for SUN Enterprise Applications) myshophead_jsp (the preferred choice for SUN Enterprise applications ). java: 128: cannot resolve symbolsymbol: variable SystemURL location: class org. apache (the most popular WEB server platform on Unix ). jsp (the first choice for SUN Enterprise applications ). myshop. head_jsp (preferred for SUN Enterprise Applications) out. print (SystemURL); ^ An error occurred at line: 77 in the jsp (preferred for SUN Enterprise Applications) file:/myshop/head. jsp (preferred for SUN Enterprise Applications) Generated servlet error: C: apache (the most popular WEB server platform on Unix) Software Foundationomcat (a very useful JSP running platform) 5.0workCatalinalocalhost \ _ orgapache (the most popular WEB server platform on Unix) jsp (the preferred choice for SUN Enterprise Applications) myshophead_jsp (the preferred choice for SUN Enterprise applications ). java: 131: cannot resolve symbolsymbol: variable SystemURL location: class org. apache (the most popular WEB server platform on Unix ). jsp (the first choice for SUN Enterprise applications ). myshop. head_jsp (preferred for SUN Enterprise Applications) out. print (SystemURL); ^ An error occurred at line: 78 in the jsp (preferred for SUN Enterprise Applications) file:/myshop/head. jsp (preferred for SUN Enterprise Applications) Generated servlet error: C: apache (the most popular WEB server platform on Unix) Software Foundationomcat (a very useful JSP running platform) 5.0workCatalinalocalhost \ _ orgapache (the most popular WEB server platform on Unix) jsp (the preferred choice for SUN Enterprise Applications) myshophead_jsp (the preferred choice for SUN Enterprise applications ). java: 134: cannot resolve symbolsymbol: variable SystemURL location: class org. apache (the most popular WEB server platform on Unix ). jsp (the first choice for SUN Enterprise applications ). myshop. head_jsp (preferred for SUN Enterprise Applications) out. print (System