4,248 Topics

Member Avatar for
Member Avatar for Shanti C

Hello All, I am new to JSP. Currently i am working on jsp project with mysql. I got stucked with jsp date and time which supports mysql datetime format. [I need to do more time calculations in my project.] Please come up with your suggestions. Thanks in Advance. SHANTI.

Member Avatar for Shanti C
0
188
Member Avatar for lse123
Member Avatar for peter_budo
0
77
Member Avatar for siva ganesh
Member Avatar for ~s.o.s~
0
35
Member Avatar for PythonNewbie2

Hello, I'm exploring some technologies and JSP with JSF 2.0 and Primefaces seems really cool. I'm new to all of these, but I'm a fast learner. I wondering if I can create the web app I want withh JSP/JSF/Primefaces? Here's a basic description of the app: 1. Users log in …

Member Avatar for ~s.o.s~
0
93
Member Avatar for manish250

hello all i have a directory in which a lot of log files are there which are text files.i want to search a particular no in all logs and want 4 fields of logs corresponding to that no. for tht i am using a script in which i am cutting …

Member Avatar for peter_budo
0
87
Member Avatar for Web_Sailor

Hi, I have a submit button in my JSP page. I also have drop down menus and text area in my form. Now my condition is like if drop down values or text area are null in this case if a user wants to submit he should get an alert …

Member Avatar for rakhi4110
0
880
Member Avatar for Jemo2008

type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 34 in the jsp file: /job_link_insert.jsp Syntax error, insert "AssignmentOperator Expression" to complete Assignment <%@ page import="java.sql.*"%> <% …

Member Avatar for ~s.o.s~
0
506
Member Avatar for fahadyousaf

i want to insert date in ms-access database entered by user using jsp. please help me in this issue ...

Member Avatar for javaAddict
0
79
Member Avatar for p.saiprasad
Member Avatar for niks4all

hello all... I am reading an excel file and displaying it with some background images (added by me)using jsp,apache(poi).now the problem is I should send this displaying content to many mails and this content should be in body and not as an attachment....... can anyone help me please....hoping for your …

0
38
Member Avatar for rkyakkala

Hi, Note:selected item is not seen in the drop down list its going to default one. In my jsp application i am having two drop down lists (contract and devicename) when i selected contract name proper device name is loading in the select list of device name But in contract …

0
69
Member Avatar for Letscode

Hey, I'm new to Javascript and I have a frameset and I need to dynamically change the Sizes of each frame. How to I do that?? This is my frameset definition:: <frameset rows="8%,87%,5%" > <frame id="logo" name="banner" src="logo.aspx" noResize scrolling="no"> <FRAMESET cols="73%,27%"> <FRAME id="mainframe" name="mainframe" src="Default.aspx" scrolling="no"> <FRAMESET rows="8%,92%"> <FRAME …

Member Avatar for parith
0
179
Member Avatar for maria_megha

can you explain with a simple example what is jsp pagination? i ve been trying to understand the folowing code in a project..pls help ********** [code]if(appList!=null){ int pageNoPerPage=0; // Per page only 5 Page Numbers will display if(numPages%2==0) pageNoPerPage=numPages/2; // 9/2 => 4 page no per page else pageNoPerPage=(numPages/2)+1; // …

0
66
Member Avatar for abeautifulmind

Hi techies, i'm a final year student of B.Tech in C.S from India, for final year project i'v chosen e-commerce, the platform would be Java, using jsp for coding, dreamweaver for designing...n ms access for data base. Guys, pls help me out in deciding how should i go about it.....i …

Member Avatar for ahmed e-com
0
3K
Member Avatar for ronnieaka

[B]intro: [/B]i'm a 19yr old in 3rd yr doing btech in computer science. i chose to graduate in that coz i was interested in computers and programming,not like other brickheads wanting to do mba after a technical graduation. ok, in the last 2 yrs i've progressed only as much to …

Member Avatar for absolute_zero
0
316
Member Avatar for nikita.chandra

Hi i am using a popup calendar for my project which is in dd/mm/yyyy format and mysql database has the date format as yyyy-mm-dd, my issue is that when i insert date in the database following exception occurs : Exception foundcom.mysql.jdbc.MysqlDataTruncation: Data truncation: Incorrect date value: '29/12/2010' for column 'DateOfJourney' …

Member Avatar for Shanti C
0
88
Member Avatar for helpplx

Hello guys, this is my first jsp thread ever so excuse me if it's a bit retarded, anyways, me and my mate are creating a webpage in .jsp , a project in IntellaJ 10.0 and we've been using apache tomcat to view the progress of the webpage but now it …

Member Avatar for Shanti C
0
1K
Member Avatar for rakesh4java

[CODE]import java.io.*; import java.text.*; import java.util.*; import javax.servlet.*; import javax.servlet.http.*; public class getname extends HttpServlet { public void init(ServletConfig config) throws ServletException { super.init(config); } public void destroy() { } public void doPost(HttpServletRequest request,HttpServletResponse response) throws IOException, ServletException { String name = null; PrintWriter out = response.getWriter(); if(request.getParameter("txtname") != null) …

Member Avatar for rakesh4java
0
25K
Member Avatar for maria_megha

In a login page of a jsp project which is almost nearing completion I created a link to google..While clicking it says page cannot be displayed?.What can be the posible reasons?

Member Avatar for javaAddict
0
59
Member Avatar for manthra

hi all, I'm new to jsp.can any one help me to set URL authentication ?i.e., the user should use the link only by login not by typing in the URL. can anyone plz???

Member Avatar for javaAddict
0
116
Member Avatar for steveh000

Hi Guys I am really stuck and cant think for the heck is wrong with this. I have a basic login jsp page that gets a username and password from a page and then sends them to a login Authentication jsp script, i use [code]<sql:query var="dbData" > SELECT * FROM …

0
96
Member Avatar for manish250

hello all i have a jsp project when i run this project using netbeans it gives the following exception in browser as follows org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 28 in the generated java file The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory …

Member Avatar for manish250
0
490
Member Avatar for priyanarayana

hai i am new to jsp .I want to create a jsp page where user can enter details and on clicking save button the details should be stored in a file and it should open a terminal in linux.

0
58
Member Avatar for Carlog

Hi, my pagination works good but I'm not able to understand how generate a fixed number of links to the pages. For example, I need to have 5 fixed links in this way: 1 - 2 - 3 - 4 - 5 > if I click on the third page …

0
68
Member Avatar for sureshksk

In my web application After logout , if i click back button, browser is showing the visited jsp pages.How to prevent(or remove history) browser from doing this ,after Logout. I tried following.But no use [code] <% response.setHeader("Pragma","no-cache"); response.setHeader("Cache-Control","no-store"); response.setHeader("Expires","0"); response.setDateHeader("Expires",-1); %> [/code] please help on this. Regards, suresh

Member Avatar for sureshksk
0
879
Member Avatar for khaled_jawaher

i am new in jsp.i am trying to use useBean in jsp to run a class named hi. i am using apache tomcat as a web server.i placed the file hi.class as well as the file that i named it date.jsp which uses the hi class in the folder webapps …

Member Avatar for khaled_jawaher
-1
1K
Member Avatar for khaled_jawaher

i am new in jsp.i am trying to use useBean in jsp to run a class named hi. i am using apache tomcat as a web server.i placed the file hi.class as well as the file that i named it date.jsp which uses the hi class in the folder webapps …

Member Avatar for Ezzaral
0
178
Member Avatar for Abinaya Infy

Hi all, I have two questions. 1) How to refresh a page in jsp even if the javascript is not supported by the browser or if it is disabled? 2) How to get the path of the window in js? Thanks in advance.

Member Avatar for Shanti C
0
122
Member Avatar for Web_Sailor

Hi... I am creating an HTML Table in my JSP page taking values from text file. Now the problem comes when I read the file again to update the Table content. In this case I have to refresh my whole page to see updated Table. :icon_cry: How can I refresh …

Member Avatar for Shanti C
0
1K
Member Avatar for gunbuster363

What is java and the whole bunch of things. I only know how to use eclipse to write java project, probably java 1.4. Can someone give me a picture about the whole bunch of java things such as jsp servlet spring struts hibernate J2EE glassfish J2EE 5 J2EE 6 EJB …

Member Avatar for stultuske
0
113
Member Avatar for amitbhanot

Hi could someone tell me how to write a EJB module in NetBeans IDE/ MyEclipse. i am using NetBeans 6.9.1. not able to figure out what type of project to select from the choices? i am trying to write a Remote interface, a Home interface, Session Bean, ejb-jar and a …

0
63
Member Avatar for himmat.m4

Hi, I making project in struts2 so please tell me how can send some variable from action class to jsp and how those variable get on jsp page. Thanx in advance.

0
43
Member Avatar for fraenckel

I'm setting up a validation xml file for a struts2 based web app. I'm getting an error when the file (CustomerAction-validator.xml) is loaded. At the top of the xml file, I have the following [CODE]<!DOCTYPE validators PUBLIC "-//OpenSymphony Group//XWork Validator 1.0.2//EN" [B]"http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd"[/B]>[/CODE] The Tomcat error I get(I can't easily cut …

0
87
Member Avatar for IBANGS

Hi all, pls can dataTable jquery plugin be integrated in struts frame work? I actually want to use this plugin to create rich table in jsp. help me plsssssssssssssss. thanks

Member Avatar for stultuske
-1
58
Member Avatar for rushhour2

Hi all, I am having a little problem with displaying results from a search html form which forwards onto a servlet for processing, then the results are displayed in a jsp web page. The html form contains a [CODE]<select>[/CODE] for a drop down list to select what term to search …

0
89
Member Avatar for prtzy

I am completely new to jsp. I have to design a website prototype for a project on doctor directory search using jsp. It uses database(ms access) to store data like doctor info and all. As i will not be hosting this website online , all the code (client side + …

0
56
Member Avatar for jlovesfishiee

Hi, I am a beginner learning about java language and netbeans, and have a few questions I would like to ask. I want to create a new JSP page to allow a user to add new attributes/items, or to update the attributes in a database/table that I already have. How …

Member Avatar for jlovesfishiee
0
242
Member Avatar for vinit trivedi

dear friends plz ask me website list which contain ready jsp project for download. plz answer me fast its so urgent plz thanks in ADVANCE............(happy new year in ADVANCE alsoooooooo) D.M.Y.K.(dua mei yaad rakhna)

Member Avatar for masijade
-2
82
Member Avatar for LianaN

Hi! I'm new to Android OS and all this stuff. So, I tried to develop a HelloAndroid api as it is described [URL="http://developer.android.com/resources/tutorials/hello-world.html"]here[/URL]. However, when I try to Run the HelloAndroid, the error message occurs. It is also strange that by selecting Run->Run, the "Android Application" option does not appear …

Member Avatar for MarkitoMagic
0
114
Member Avatar for nikita.chandra

Hi all, I am creating a dynamic website and i need to use a online chat option. Please tell me if there are any javascript or open source code for that which can be used in Jsp page as i am using jsp and servlet for my website. Please help …

Member Avatar for ~s.o.s~
0
93
Member Avatar for anand01

Dear friends I am beginner to jsp ...I want to upload files to server .. I am using the the following code. saveFile = "C:\\Program Files\\Apache Software Foundation\\Tomcat 5.5\\webapps\\ROOT \\Extrusions\\" + saveFile; FileOutputStream fileOut = new FileOutputStream(saveFile); Now i want to save the file into my server ..what should i …

Member Avatar for ~s.o.s~
0
116
Member Avatar for nikita.chandra

Hi all, I am trying to send email using a java class and gmail mail server given below is the code for this but its not working UnknownHostException found.I have replaced all the email addresses with actual email addresses. [CODE] import javax.mail.*; import javax.mail.internet.*; import java.util.*; public class Mail { …

0
85
Member Avatar for IBANGS

Hi all, please which of the tag libraries, can i used in creating rich table which will display column header, accept data from the user,add new row, delete row and store data in the appropriate database in jsp. thank you

0
52
Member Avatar for anithajerome
Member Avatar for peter_budo
0
66
Member Avatar for ellenski

Hi, We were asked to make a subscription type of form. Details needed are username, password, first name, last name, etc. My problem has something to do with the password validation. when i feel in the password field and the re-type password field, both of them should be checked. If …

Member Avatar for ellenski
0
7K
Member Avatar for aramesh1989

hi I have to use https protocol in my project. But I dont know how to use it thorough servlets plese guide how to use it. I am using Websphere as my application server. How to congigure it for Https

Member Avatar for aramesh1989
0
100
Member Avatar for adobe1

I have this problem it go thus; E=MC~2(change in mass*C square) where E=energy produced(in joule),M=change in mass(in kg),C=speed of light(3.0*10`8ms~1) work of EINSTEIN. I was asked to write a computer program to calculate the energy produce when mass is know. pls help.

Member Avatar for adobe1
0
53
Member Avatar for shrutinr

Hi.. I m haiving problem in retrieving selected data from combobox of servlet page . I have combobox in servlet and want to display selected value in d same page.. please help me to resolve this problem.. Here is my code: [code=java]PrintWriter pw=response.getWriter(); pw.write("<h1>Welcome to Shopping cart</h1>"); pw.write("<form name=myform method=post>"); …

0
67
Member Avatar for sarika15m

dis is my first page regpage.jsp where i am filling all data when i click on submit it calls insertreg.jsp i can see in browser but it doesnt display anythin.Please help me. Thanks, Sarika [code]<%-- Document : index Created on : Nov 4, 2010, 9:32:00 AM Author : sarika.sharma --%> …

Member Avatar for Shanti C
0
76
Member Avatar for nikita.chandra

Hi all, I just wanted to know that which is the best and cost effective web hosting service provider for jsp,servlets and Mysql database. thanks

Member Avatar for peter_budo
0
191

The End.