Raghu Jamwal

Greenhorn
+ Follow
since Dec 28, 2000
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 Raghu Jamwal

Well I got around it using loopback i.e localhost IP 127.0.0.1.
I guess you're right about the relay part
Thanx
23 years ago
Hi Javed
Do you need to display the flash image in a webpage?If so copy and paste the code that is generated by flash in the html page,in the place where you want the image to be,and ensure that all your .swf files are in the root directory, eg:if your page is in /html/demoapp/yourpage.html then the swf files shouls be in the demoapp directory.
Hope that helps.
23 years ago
JSP
Hello 007
First of all you have posted your question in the wrong forum.There's another forum for your question about JSP.
Anyway in a nutshell, the answer is that connection pooling make a "pool" of all your connection and releases them as and when required, so it is faster and saves you from the hassel of making all the connections yourself.
23 years ago
Hello
I'm using using javamail to send mail in my JSP application.The mail works within its own domain but if you send to other domains the email doesn't get sent.What could be the problem?
This the code:
<jsp:useBean id="mail" class="bean.mailbean" scope="page" />
<%@ page import="javax.mail.*" %>
<%@ page import="javax.mail.internet.*" %>
<%@ page import="javax.mail.event.*" %>
<%@ page import="java.io.*" %>
<%@ page import="java.util.*" %>
<%@ page import="java.util.Random" %>
<%@ page import="java.sql.*" %>
<%
String name=request.getParameter("name");
String loginname=request.getParameter("loginname");
String emailaddress=request.getParameter("emailaddress");

Random cl = new Random();
int aa=cl.nextInt();
String aas=Integer.toString(aa);
if(aas.startsWith("-"))
{

aas=aas.substring(1,4);

}
else
{
aas=aas.substring(1,4);

}
String password=loginname+aas;

String newline = System.getProperty("line.separator");
String mailto=""+emailaddress+"";
String mailfrom="someone@bharatnet.com";
String subject="Hello";
String from="Bharatnet.Com";
String to="Dear "+name+","+newline+"";
String mess="Your Login Name is :"+loginname+""+newline+
"Your password is :"+password+""+newline+newline+
"You are requested to change this password as soon as possible "+newline+
"in you own interest .";
String mailhost="192.168.1.75";
mail.setMailto(mailto);
mail.setMailfrom(mailfrom);
mail.setSubject(subject);
mail.setFrom(from);
mail.setTo(to);
mail.setMess(mess);
mail.setMailhost(mailhost);
boolean b=mail.sendMessage();
if(b)
{
//out.println("Your mail has been sent");
}
else
{
//out.println("Your mail is NOT sent");
}
// out.println(b);
23 years ago
Hello
I would like to sort records in a database and display them using the "next" and "prevoius" buttons.It could be like first five records then the "next" button,then 5 more records and a "next" and previous" button.
How do I do this?
Thanks in advance.
Hello
I want to use environment variables in my JSP pages like HTTP_REFERER and such.How do I go about it?
Any help would be appreciated.
23 years ago
Hello
I have a applet that runs perfectly on IE 4x,5x browsers but it gives a null pointer exception when runninng in Netscape Navigator 4.7, on the web server and refuses to load.However it runs perfectly when called from the local hard disk, on both IE and Netscape.What could be missing?
p.s.There are no security issues.
23 years ago