我正在使用servlet来使用J2ME,但每当运行这个时都会收到以下错误消息.
错误:
java.sql.SQLException:[Microsoft] [ODBC SQL Server驱动程序] [SQL Server]第1行:'password'附近的语法不正确.)
public class GetNpostServlet extends HttpServlet
{
@Override
protected void doGet(HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException
{
// Same code appears in doPost()
// Shown both places to emphasize that data is received thru
// different means (environment variable vs stream),
// yet processed the same inside the servlet
String acct = req.getParameter("account"),
pwd = req.getParameter("password");
String balance = accountLookup(acct, pwd);
if (balance == null)
{
res.sendError(HttpServletResponse.SC_BAD_REQUEST,
"Unable to locate account.");
return; …Run Code Online (Sandbox Code Playgroud) 我想用android中的文本和按钮创建头文件(在左侧和左侧的Cetner和Buttons中的文本),我已经尝试但根本没用,请指导我...我怎么能为我做这个应用
android android-widget android-emulator android-intent android-layout