我有一个Jsp页面,从数据库和每个数据浏览中显示几个记录,在点击服务器上有一个提交纽吨更新数据库。
For example my JSP displays:- CustomerName Customer City SubmitButton.
因此,我希望,每当客户要求获得有关该客户的数据时,先提交纽顿。
能够用 submit子显示数据,但无法从服务器上更新记录。
我有一个Jsp页面,从数据库和每个数据浏览中显示几个记录,在点击服务器上有一个提交纽吨更新数据库。
For example my JSP displays:- CustomerName Customer City SubmitButton.
因此,我希望,每当客户要求获得有关该客户的数据时,先提交纽顿。
能够用 submit子显示数据,但无法从服务器上更新记录。
每个省都以自己的形式提交纽顿,并有一个隐藏的领域,由你通过浏览。
<td>
<form action="servleturl" method="post">
<input type="submit" value="Edit" />
<input type="hidden" name="id" value="${customer.id}" />
</form>
</td>
那么,你就只能 gr笑自己。
String id = request.getParameter("id");
Customer customer = customerDAO.find(Long.valueOf(id));
// ...
I ve got an index.jsp with [snip] <% String name = request.getParameter("name"); String pass = request.getParameter("pass"); String globalname = "webeng"; String globalpass = "2009"; ...
I am using Tomcat to host JSP and using IIS 7.0 to host aspx (C# + .Net 3.5 + VSTS 2008), and I have some session transfer issue from JSP page to ASPX page. JSP page is in one domain and all other ...
I am setting the value(kind of default value) for a drop down select value from action class in a page(given below). When the page loads the value is beig displayed but the other elements of the ...
I have a requirement where in the JSP page itself is created by the user and stored in the database. When viewing results we need to render this JSP to the client, evaluating all tags inside this JSP. ...
I m essentially trying to do the following on a Java/JSP-driven web site: User supplies a password Password is used to build a strongly-encrypted archive file (zip, or anything else) containing a ...
I m setting up an existing application on a new Tomcat 5.5 server connecting to a Postgres database (running on Debian Lenny). When I access it I get a series of stack traces with the following root ...
I have an ArrayList and i am trying to display it in a table ..... ArrayList rows = .... ..... <table cellspacing="1" cellpadding="4" border="3"> <tr> <TH>...
I m trying to deploy a java application to appspot (google appengine). I m new to java, so bear with me. When I run the application locally from eclipse, it runs fine. After uploading it to google ...