Forum: JSP Jun 4th, 2009 |
| Replies: 2 Views: 450 you muz know alot more info too. like the SMTP server name for yr web provider. Example, Singnet uses mail.singnet.com.sg |
Forum: JSP Jun 4th, 2009 |
| Replies: 3 Views: 441 request method is one of the more basic one you sure u dont know that? or are you facing a different set of problem? |
Forum: JSP Feb 12th, 2009 |
| Replies: 2 Views: 608 Oo my bad reali should be at java forum. Anyway i maaged to solve it thx for the help.
String t122="AA0001";
char t22=t122.charAt(5);
String t32=String.valueOf(t22);
char t42=t122.charAt(4);... |
Forum: JSP Feb 8th, 2009 |
| Replies: 2 Views: 608 Hi iwould like to check if there is any function that allows me to take the last 4 char or a String? Or the 1st two char of a String? I require this because i require to have a auto increase product... |
Forum: JSP Jan 19th, 2009 |
| Replies: 9 Views: 2,420 while (rs.next()) {
String abc=rs.getString("YourVariableInContactDatabase");
out.print("<a href=\"viewdata.jsp?value1="+abc+"\">"+abc+"</a>");
}
Is this wat u mean? |
Forum: JSP Jan 19th, 2009 |
| Replies: 6 Views: 1,314 sure
i put it in a
<div style="overflow: auto; width: 780px; height: 530px;">
</div>
thus it is still equally neat. |
Forum: JSP Jan 19th, 2009 |
| Replies: 3 Views: 1,967 %@page import="java.util.*"%>
<%@page import="java.lang.*"%>
<%@page import="java.sql.*"%>
<%@page import="java.text.*"%>
<%@page import="java.util.Date"%>
<%@include file="DBConnect.jsp"%>... |
Forum: JSP Jan 19th, 2009 |
| Replies: 3 Views: 1,967 <script language="javascript">
function mul1()
{
String a = document.getElementById("one").value;
// document.getElementById("second").setAttribute("value",a);
<% String sql22 =... |
Forum: JSP Jan 19th, 2009 |
| Replies: 3 Views: 1,967 Any one got hints how to do this?
I got 3 drop down list initally all 3 contains 4 option A,B,C,D.
After selecting A from 1stdrop down list,the 2nd and 3rd drop down list are left with B,C,D.... |
Forum: JSP Jan 19th, 2009 |
| Replies: 6 Views: 1,314 After trying various ways i found alternative =p thanks for the help =) |
Forum: JSP Jan 16th, 2009 |
| Replies: 6 Views: 1,314 I tried viewing it in FireFox still doesnt work |
Forum: JSP Jan 15th, 2009 |
| Replies: 5 Views: 3,330 I will recommend validation that prevents users from typing in some keys like ;( who uses this in username)
this can be done by a quick search on google with the key words Char Code. Hope this helps |
Forum: JSP Jan 15th, 2009 |
| Replies: 6 Views: 1,314 Is It possible?
Tried this but all i see is blank haha
while (rs.next())
{
String c=rs.getString("ProductID");
String d=rs.getString("ProductName");
String e=rs.getString ("ProductImage");... |
Forum: JSP Dec 19th, 2008 |
| Replies: 7 Views: 2,519 i hae only learn servlet for a few days so i have no idea where to start. Any reali basic guide to teach the baisc? |
Forum: JSP Dec 19th, 2008 |
| Replies: 2 Views: 858 THanks for the help i have a idea how to do it =) |
Forum: JSP Dec 19th, 2008 |
| Replies: 7 Views: 2,519 I know how to do most of it except the
"servlet does his deleting job".
Can i have a example for this?
Is it possible not to use a servlet but just coding ?
I am terribly bad at servlet. |
Forum: JSP Dec 19th, 2008 |
| Replies: 2 Views: 858 Is it possible to restrict the file type for a uplaod form? |
Forum: JSP Dec 19th, 2008 |
| Replies: 7 Views: 2,519 I am just wondering if i want to delete a file using coding how can i do it using jsp?
Example i have a file name pig.jpg in my root folder and I wish to delete this file as i no longer use this any... |
Forum: JSP Sep 17th, 2008 |
| Replies: 3 Views: 1,130 Oh i see thanks for the help.
Do you have any idea how yahoo will allow that? |
Forum: JSP Sep 17th, 2008 |
| Replies: 3 Views: 1,130 <%@ page import="java.lang.,java.util.,javax.mail.,javax.mail.internet.,
javax.activation.*" %>
<%
String p_to = "abc@hotmail.com"; // Please fill in your email here
String p_from =... |