kengyiam Ng

Greenhorn
+ Follow
since Aug 28, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by kengyiam Ng

Dear all,
Recently, I had upload my applications(Servlets and Jsp) and web.xml which I developed in tomcat 3 to an apache server hosted by a company.
What the administrator told me was I had to name or map all my .jsp files in my web.xml file inorder to view the .jsp files.
What I knew before was mapping of servlets in web.xml but not any .jsp files.
Please kindly advise me on how the code like when mapping .jsp files on the web.xml file.
Thanks alot.
Warmest regards,
Keng Yiam
20 years ago
JSP
Dear all, I just bought a Samsung X430 and I intend to transfer my Midlet into this phone. Can anyone please kindly advise me on how to transfer the midlet into my phone? Shall I just transfer the .jad or .jar or both files? Any way to transfer? If using GPRS, how do I achieve it? Thanks
20 years ago
Dear all,
May I know how to read data from a POST request other than using a request.getParameter() method in a JSP page? Any methods will do except using getParameter() in my JSP pages.
Please kindly advise me on this.
Thanks in advance.
20 years ago
JSP
Dear all,
I have read the Pager Tags example but still could not even get the output that I want when I use the example code with my database extraction in the Pager Tags documentation?
My sample code is as below:
__________________________________________________<%@ page language="java"
import="java.io.*,
java.sql.*,
java.util.*,
com.kengyiam.epz.database.ConnectDB"
%>
<%@ taglib uri="http://jsptags.com/tags/navigation/pager" prefix="pg" %>
<pg ager>
<pg aram name="keywords"/>
<%
ConnectDB connDB = new ConnectDB();
Statement stmt = connDB.getConnect();
ResultSet rs = stmt.executeQuery("SELECT Make FROM Make ORDER BY Make");
%>
<% while(rs.next()){ %>
<ex:searchresults>
<pg:item>
<%= rs.getObject(1).toString() %>
</pg:item>
</ex:searchresults>
<% } %>
<pg:index>
<pg:first>
<a href="<%= pageUrl %>">[ (<%= pageNumber %> |< Previous ]</a>
</pg:first>
<pg rev>
<a href="<%= pageUrl %>">[ (<%= pageNumber %> << Previous ]</a>
</pg rev>
<pg ages>
<a href="<%= pageUrl %>"><%= pageNumber %></a>
</pg ages>
<pg:next>
<a href="<%= pageUrl %>">[ Next >> (<%= pageNumber %> ]</a>
</pg:next>
<pg:last>
<a href="<%= pageUrl %>">[ Last >| (<%= pageNumber %> ]</a>
</pg:last>
</pg:index>
</pg ager>
____________________________________________________
Can you please kindly tell me where my mistake is?
Thanks alot,
Warmest regards,
Yiam
20 years ago
JSP
Hi,
Let say I intend to use Javascript, how do I extract data from Make and Model table and import them to Javascript array dynamically?
20 years ago
JSP
Dear all,
I have been trying for weeks and just could not get this solve. Please kindly advise me.
I have 2 database table: (Make: Make_Id(Pri Key), Make) and (Model: Model_Id(Pri Key), Make_Id(Foreign Key), Model).
I intend to create a JSP page which will produce two combox(combox1 and combox2). Combox1 will retrieve "make" from table Make, while Combox2 will retrieve "model" from table Model and combox2 will automatically change when combox1 change.
I have used Javascript to get the effect but still could not get it done.
Can you guys please help me out and advise me in details.
Thanks alot.
20 years ago
JSP
Dear all,
Can you guys please kindly advise me on how to restrict the number of items(eg. 10 items per page) being display in a JSP page, and leave the remaining items that is not being display to other pages, maybe page 2 or page 3 depending on the number of items from the search result?
Thanks alot.
Warmest regards,
Keng Yiam
20 years ago
JSP