3,760 Topics

Member Avatar for
Member Avatar for mimsc

Sup fellas...another question..how Can I pass my jsp as the contents of a email message. The way we send email around here is we set the parameters of a form into a DB table and a cron job sends the emails out [code] String address= "suggestaservice@agentadvantage.com" String name = request.getParameter("name"); …

Member Avatar for mimsc
0
108
Member Avatar for UnforsakenX

I'm trying to figure out how to get results from a database query to be displayed on a listed page and if the user wants to know more about the results they will click one of the dynamically generated items that is hyperlinked. This will then bring the user to …

Member Avatar for UnforsakenX
0
106
Member Avatar for alsoumhi

Hi Friends hope you are fine, my question is how to send a respond message created by a servlet to a specific e-mail. let's say I create a registration servlet, this servlet will send a respond message to an e-mail , instead of showing the respond message as a web …

Member Avatar for peter_budo
0
66
Member Avatar for CodeBoy101

Hello to all, I was wondering how to run servlets using Glassfish V2. I'm using NetBeans 6.5 and need to use servlets, but I don't want to install Tomcat to do so, any suggestions?

Member Avatar for peter_budo
0
124
Member Avatar for Rapmanseele

I have a problem with tomcat 5.5. I always have to start a service manually.So what can I do in order to make it start automatically?

Member Avatar for peter_budo
0
83
Member Avatar for llazar

Is it possibile to insert SQL in JSP? If you have examples about how to connect to a MySQL database from a JSP web page, how to view, edit, create tables please send. I am looking forward to receive some code about JSP & MySQL. Yours sincerely, Laurian Lazar

Member Avatar for kvprajapati
0
260
Member Avatar for alsoumhi

hi all , I have a simple question , let's say we have a servlet program and a web page . the question is how to make a servlet calls the web page and sends it as a respond to any request coming to the servlet. Is there any statement …

Member Avatar for kvprajapati
0
96
Member Avatar for memegha123

can anybody tell me how do i create a link that forces a .doc file to download on the client computer or if that's really difficult to do without a ftp server.. then how can i display the file in browser as pdf

Member Avatar for memegha123
0
87
Member Avatar for mimsc

I did a google search and found that PHP uses: $_SERVER['HTTP_USER_AGENT'], which would give the following result, should I visit a page: [code] Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; en-us) AppleWebKit/528.16 (KHTML, like Gecko) Version/4.0 Safari/528.16 [/code] is their any functionality in java that will do the same?? …

Member Avatar for ThinkFree
0
95
Member Avatar for alsoumhi

hi all , my question is how to create a hypertext link in servlet so if the user click it, it shows another web page or a message .

Member Avatar for Thirusha
0
83
Member Avatar for kinger29

I have a passkey to authenticate access to a web service in the code of one of my java serlvets. How easy is it for someone to view the code for my java servlet when it is on my web server? It would pose a security risk to my entire …

Member Avatar for Alex_
0
158
Member Avatar for Ayeman

Actually i download the source code of forum website from a website but there is no documentation about interfaces code contain java and servlet classes. i send this code with email tell me how this code interact with interfaces and what are the names of interfaces and how many textareas …

Member Avatar for kvprajapati
0
38
Member Avatar for harshit99

hii i will to code a submit button so that a mail is generated carrying the information of the client to a destined email id form the database. i want this email created and sent without the user seeing the content, eg when u register at some site u get …

Member Avatar for kvprajapati
0
69
Member Avatar for Alex_

Hello. I'm starting to have a headache at solving this. I work in Eclipse IDE and run the project on tomcat server. What i do is this: i have a form, like this: [code=html] <form method="GET" action="http://localhost:8080/BookShelf/ComputeSearch"> <p>Book <input type="text" name="book" size="7"/></p> <p>Chapter <input type="text" name="chapter" size="5"/></p> <p>Verse <input type="text" …

Member Avatar for Alex_
0
117
Member Avatar for peggie1990

Hey, I really need you guys help as I had been searching info on displaying blob images from database for weeks:( I tried to add in the code that i think would display however it only display the path instead if the image. [CODE]<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@ …

Member Avatar for peggie1990
0
1K
Member Avatar for ThinkFree

Please help me in setting apache-tomcat-6.0.20 on linux. When I use the code [QUOTE]sh startup.sh[/QUOTE] I see this. [QUOTE] Using CATALINA_BASE: /home/apinder/apache-tomcat-6.0.20-src Using CATALINA_HOME: /home/apinder/apache-tomcat-6.0.20-src Using CATALINA_TMPDIR: /home/apinder/apache-tomcat-6.0.20-src/temp Using JRE_HOME: /usr/java/jdk1.6.0_14/[/QUOTE] No error message is shown here, but if I open [url]http://localhost:8080/[/url] tomcat default page doesn't open. I haven't changed …

Member Avatar for ThinkFree
0
125
Member Avatar for jeff_00789

Hi, i want to know how to extract values from drop down box for processing in next field. In my file first drop down has list of countries taken from a database. I want to show location of that particular country in the other dropdown. The list of all locations …

Member Avatar for manfosys
0
180
Member Avatar for java_programmer
Member Avatar for ThinkFree

Want to create a small project for online exam using jsp. As of now I am unable to find, how can I > Get random questions from mysql database > Put the timer, so that the exam result is shown automatically after the specified time for exam is over More …

Member Avatar for ThinkFree
0
362
Member Avatar for ravi_kos

I want to create a forum for the college. Could anyone tell me the [U]suitable platform or software[/U] that supports forum creation.

Member Avatar for kvprajapati
0
100
Member Avatar for swathirao

I have installed on Linux Tomcat 5.5. I have no problem accessing jsp pages. However, I have problem accessing a test hellow world servlet. I tried the following url on my local tomcat on win xp and it worked. [url]http://localhost:8080/hw[/url] Attached is a copy of my web.xml file I used …

Member Avatar for ayaz786
0
104
Member Avatar for farahshafilla

my code : ********uploadImage.jsp************* [code=JSP]<form action="UploadImage" method="post" enctype="multipart/form-data" name="productForm" id="productForm"><br><br> <table width="400px" align="center" border=0 style="background-color:ffeeff;"> <tr> <td align="center" colspan=2 style="font-weight:bold;font-size:20pt;"> Image Details</td>[/code] ******UploadImage.java****** [code=Java]import java.io.*; import java.sql.*; import java.util.*; import java.util.regex.*; import org.apache.commons.fileupload.servlet.ServletFileUpload; import org.apache.commons.fileupload.disk.DiskFileItemFactory; import org.apache.commons.fileupload.*; import javax.servlet.*; import javax.servlet.http.*; public class UploadImage extends HttpServlet { @Override public void …

Member Avatar for kvprajapati
0
2K
Member Avatar for alsoumhi

Hi all , I have a servlet program, this program will get a user name and password from a web page. I need to check the user name and passsword entered by user with a data file has all user names and passwords. the thing is I know how to …

Member Avatar for alsoumhi
0
88
Member Avatar for prasannakarthik

Hi, I like to add textbox based on the user selection in drop down box,I have used an function to do that but its not workin,also i like to append the selected value(from drop down) to the input from the text box. Cheers! lpk

Member Avatar for CoSIS1
0
3K
Member Avatar for nipa.pillai

I want to create a tabbed menu using jsp. Any example would be helpful so that i can start working on it.

Member Avatar for CoSIS1
0
308
Member Avatar for alsoumhi

hi all , I am new to this forum I have a simple question why getParameter() doesn't work with me . My java server page is as follow: [code=Java] import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class InputServlet extends HttpServlet { public void doGet(HttpServletRequest request,HttpServletResponse response)throws IOException, ServletException { String …

Member Avatar for alsoumhi
0
270
Member Avatar for nipa.pillai

Below is the scenario.. First Page Second Page Radio button 1 Radio button 2 Submit. I select the first Radio Button and submit and then i go to second page where i have some content. Now when i go back to first page the same radio button which i had …

Member Avatar for kvprajapati
0
253
Member Avatar for CoSIS1

Hi everyone ; I have read The JFreeChart Class Library Version 1.0.13 Installation Guide and I follow the instruction there but I got some errors while the Installation; allow me to show the steps that I have followed and the errors I got : 1. Download jfreechart-1.0.13.zip and jcommon-1.0.16 files …

0
65
Member Avatar for CoSIS1

Hi everybody, I am going to develop a web application by using jsp, in this application when I retrieve multiple rows from table into form as following : [code=jsp]<%Vector v1,v2; jmm.Database database = new jmm.Database(pageContext.getServletContext().getRealPath("/WEB-INF/config.txt")); database.jdbcConnect(); String sql; sql = "select question_text from tableA where type = 'Student'' "; v1=database.jdbcMultipleRowQuery(sql); …

Member Avatar for CoSIS1
0
123
Member Avatar for CoSIS1

Hi everyone; I have table contains question and answer columns , the answer either yes or no , I want to count the answer yes and answer no then compare the two results and if the count(answer) yes is greater than count (answer) no print yes else print no I …

Member Avatar for CoSIS1
0
188

The End.