3,760 Topics

Member Avatar for
Member Avatar for techkar

hi experts, Here there is a requirement in my project, like sending a automatic mail to a particular person,at particular time. [B]for examples[/B]: If there is an expiry date for a customer's account, a week before the expiry date a mail should be send to the customer as a remainder. …

Member Avatar for flakita227
1
2K
Member Avatar for ub_old

How can i send all requested parameter to included jsp. [CODE] <jsp:include page="/page"> ??????????? </jsp:include> [/CODE]

Member Avatar for jwenting
0
90
Member Avatar for mimsc

Wsup..basically I have a html file saved in another folder in Eclipse..I want to call a jsp and once I call it...I want the html code to show up...here's what I have "cp-termsofUse.jsp" [code= java] <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> …

Member Avatar for mimsc
0
139
Member Avatar for jnora

Hello, Please, i need to know the JDBC code (applying servlet) to use with mySql to generate account balances from my customer_table having three columns(i.e. DEBIT, CREDIT,BALANCE) in the following format: CR-------------------------DR----------------------BALANCE 30................................5..................................25 2..................................3..................................24 I can only use 'select sum....' code to get the sums of both DR and CR …

Member Avatar for jwenting
0
85
Member Avatar for blaykm

Hi I have a web Application which uses servlets. As soon as any user Logs i create a folder for the user and the files uploaded by the user are stored in that folder. Now when the users Logs out of the Application I am supposed to delete the folder …

0
60
Member Avatar for engheba

hello for downloading a file ,can anyone tell me how to download a file using portlet jsr 168 coz i've searched and found nothing i could do and i am newbie in portals and java script.Thx

0
50
Member Avatar for sania12

hi all, I know bits and pieces of JSP. I have done many projects in PHP. I have got to do an assignment of developing on screen virtual keyboard with in 1 week. Am having no idea of how to start with it. Please help me with a basic outline/ …

Member Avatar for jwenting
0
55
Member Avatar for staneja

I am attaching a war file that prints hello using servlet This is code for web.xm [B][COLOR=#ff0000] [/COLOR][/B] [COLOR=#0000ff]<?xml version="1.0" ?>[/COLOR] [URL="file:///D:/sumit/WEB-INF/web.xml#"][B][COLOR=#ff0000]-[/COLOR][/B][/URL] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]web-app[/COLOR][COLOR=#0000ff]>[/COLOR] [URL="file:///D:/sumit/WEB-INF/web.xml#"][B][COLOR=#ff0000]-[/COLOR][/B][/URL] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]servlet[/COLOR][COLOR=#0000ff]>[/COLOR] [B][COLOR=#ff0000] [/COLOR][/B] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]servlet-name[/COLOR][COLOR=#0000ff]>[/COLOR][B]hello[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]servlet-name[/COLOR][COLOR=#0000ff]>[/COLOR] [B][COLOR=#ff0000] [/COLOR][/B] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]servlet-class[/COLOR][COLOR=#0000ff]>[/COLOR][B]servlet1[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]servlet-class[/COLOR][COLOR=#0000ff]>[/COLOR] [B][COLOR=#ff0000] [/COLOR][/B] [COLOR=#0000ff]</[/COLOR][COLOR=#990000]servlet[/COLOR][COLOR=#0000ff]>[/COLOR] [URL="file:///D:/sumit/WEB-INF/web.xml#"][B][COLOR=#ff0000]-[/COLOR][/B][/URL] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]servlet-mapping[/COLOR][COLOR=#0000ff]>[/COLOR] [B][COLOR=#ff0000] [/COLOR][/B] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]servlet-name[/COLOR][COLOR=#0000ff]>[/COLOR][B]hello[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]servlet-name[/COLOR][COLOR=#0000ff]>[/COLOR] [B][COLOR=#ff0000] [/COLOR][/B] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]url-pattern[/COLOR][COLOR=#0000ff]>[/COLOR][B]/hello[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]url-pattern[/COLOR][COLOR=#0000ff]>[/COLOR] [B][COLOR=#ff0000] [/COLOR][/B] [COLOR=#0000ff]</[/COLOR][COLOR=#990000]servlet-mapping[/COLOR][COLOR=#0000ff]>[/COLOR] [B][COLOR=#ff0000] [/COLOR][/B] [COLOR=#0000ff]</[/COLOR][COLOR=#990000]web-app[/COLOR][COLOR=#0000ff]>[/COLOR] [COLOR=#0000ff][/COLOR] [COLOR=#0000ff]but …

Member Avatar for ~s.o.s~
0
173
Member Avatar for gwong

Hi, I was wondering if it's possible to use the sprintf or any kind of print statements that formats your output into a particular format. The value that is passed to me is "45.0", and I would like the output to be displayed as "45.00". Thanks for any replies!

Member Avatar for gwong
0
161
Member Avatar for haroldjclements

I have a .jar file located in my program files that is from a third party and is require when running the bean on the web server. When running the app in a non jsp environment, I use the [code]java –cp {jar file name and location} [class name][/code] How do …

Member Avatar for jwenting
0
68
Member Avatar for naahamm

hello every one! i have a web site i have developed with php and jsp and am having problems trying to send messages to my contacts using javascripts. could anyone pls guide me?

Member Avatar for Ezzaral
0
57
Member Avatar for mimsc

So my user has successfully logged into their page...I have a "home" button link that I want to simply go back to this same page....when they press it...it takes them to the login screen....any suggestions?? here's my code snippet [code=java] <li class="first"><a href="cp-newmenu.jsp" target="_new" class="on">Home</a></li> [/code] thanx in advance

0
75
Member Avatar for tsrkapil

hi frds, i need code for pagenation using jsp servlet ....plz urgent........

0
51
Member Avatar for islam nigm

now as an example of validation i have this code [INLINECODE] <%@ page contentType="text/html" %> <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %> <html> <head> <title>User Info Entry Form</title> </head> <body bgcolor="white"> <form action="validate_jstl.jsp" method="post"> <input type="hidden" name="submitted" value="true"> <table> <c:if test="${empty param.userName}"> <tr> <td></td> <td colspan="2"><font color="red"> Please enter your Name </font></td> …

0
79
Member Avatar for devsa

hi, I was looking to solve this problem long time ago.My problem is: I have a link on jsp page (witch belong to a website ) when I click the link it suppose to give me the open/save/cancel dialog box to choose to open or save the specified file but …

Member Avatar for devsa
0
142
Member Avatar for mimsc

any suggestions?...im thinking somewhere between lines 163-185, but I'm stumped <%@ page language="java" %> <%@ page import="trader.webservices.data.LeadDAO" %> <%@ page import="trader.aabacrm.LeadsList" %> <%@ page import="trader.webservices.data.*" %> <%@ page import="trader.webservices.presentation.Lead" %> <%@ page import="trader.webservices.data.UserInfoDAO" %> <%@ page import="trader.webservices.data.UserDataVO" %> <%@ page import="trader.webservices.data.ButtonDAO" %> <%@ page import="trader.webservices.constants.UserConstants" %> <%@ page import="trader.webservices.util.Utils" %> …

Member Avatar for masijade
0
64
Member Avatar for saswati_mishra

Hi, I have a jsp page where the user is asked to do certain entries. Now if the user leaves any one of the entires as blank or as a wrong entry and presses the submit button, he gets an alert message. Now after the user presses okay,, the page …

Member Avatar for saswati_mishra
0
155
Member Avatar for staneja

Hi , i am trying to run Servlet since last 3 days , i have executed servlet so many times with same method but this time its troubling me . This is code of web.,xml <?xml version="1.0"?> <web-app> <servlet> <servlet-name>hello</servlet-name> <servlet-class>servlet1</servlet-class> </servlet> <servlet-mapping> <servlet-name>hello</servlet-name> <url-pattern>/hello</url-pattern> </servlet-mapping> </web-app> Aug 8, 2007 …

0
68
Member Avatar for staneja

I ahve created a directory Structure Sumit -> WEB-INF -> src -> classes and i putted Servlet file in src , compiled class file in classes folder and created Web.xml file in WEB-INF folder after that i craeted a war file ( I am not sure it should be inside …

Member Avatar for staneja
0
122
Member Avatar for staneja
Member Avatar for jwenting
0
60
Member Avatar for muskan

i am writing code and also the error i am facing in database connectivity in jsp to mysql .plz help me .thanx code import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.sql.Connection; import java.sql.*; import java.io.*; public class ConnBean { Connection conn; Statement st ; public ConnBean() { String sqlDriver= "com.mysql.jdbc.Driver"; …

Member Avatar for masijade
0
181
Member Avatar for sunithamcsit

hi everybody, I have one doubt , In my servlet there is a code to display day of the week,but it displaying from sunday-satday. But for me I have to display from Mon-Sunday. can any one suggest me how to change the day.

Member Avatar for masijade
0
126
Member Avatar for sunithamcsit

hi everybody, In my code i have to display day_of_week from Monday to Sunday. and as well as I have to display dates of that particular weeek dynamically.here iam highlighting the code that need to modify. please I structed here please help me to overcome this problem. If possible give …

0
75
Member Avatar for push

what is the difference between session and application scope at jsp. where we use session, application, page. can anybody give examples codes for this.

Member Avatar for rookie446
0
3K
Member Avatar for akash_msrit

hi i am displaying DATA retreived from the backend sql in table format. select col1,col2,col3..... from table1. Now i want to store col2,col3 in an array .and i want to add col2 and col3 values and display the result in col4. col1,col2,col3 are retrived from the database. please give me …

Member Avatar for sillyboy
0
144
Member Avatar for akash_msrit

hi i am displaying the data retrived from the database in table format. say col1 col2 col3 col4 12 15 15 13 15 16 the data displayed in col1,col2,col3 are retrieved from the database. now the problem is now i have to compute value for col4 (i.e col4= (15+15)/4) using …

Member Avatar for akash_msrit
0
94
Member Avatar for akash_msrit

Hi, I have a html table , in table i am displaying dates in column called date, now i want to compare dates in the date column with current system date. if any one have existing code(in jsp ,javascript) for this please forward me or any advise and suggestions are …

Member Avatar for jwenting
0
1K
Member Avatar for chandan_mishra

When ever I try to run my jsp page on a tomcat 5.5 server I get the following exception SEVERE: Servlet.service() for servlet jsp threw exception java.lang.NoSuchMethodError: javax.servlet.ServletContext.getResourcePaths(Ljava/lang/String;)Ljava/util/Set; at org.apache.jasper.compiler.TldLocationsCache.processTldsInFileSystem(TldLocationsCache.java:424) at org.apache.jasper.compiler.TldLocationsCache.init(TldLocationsCache.java:250) at org.apache.jasper.compiler.TldLocationsCache.getLocation(TldLocationsCache.java:224) at org.apache.jasper.JspCompilationContext.getTldLocation(JspCompilationContext.java:526) at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:422) at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:492) at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1552) at org.apache.jasper.compiler.Parser.parse(Parser.java:126) at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211) at org.apache.jasper.compiler.ParserController.parse(ParserController.java:100) at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:155) …

Member Avatar for chandan_mishra
0
96
Member Avatar for shaun09

Hi i'm a newbie trying to learn something. I downloaded ireport and have designed my report. It connects to the database and retrives the value with no problems. When i build the report i'm able to see it as a Pdf and it works. My question is how do i …

Member Avatar for Byaptia
0
255
Member Avatar for sunithamcsit

<% int currentRow = 0; [code] int startingRow = ParamUtils.getIntParameter(request, "startingRow", 0); int row_to_display = 200 ; String errcode = null ; try{ FPSProdMap[] oProdMap= dbFpsProdMap.getProdMap(sLang,1,200); if (oProdMap != null) { for (int i = 0; i < oProdMap.length; i++) { currentRow++; out.println("<TR><TD class='xRight' width='5%'>"+currentRow+"</TD>"); ------- } }[/code] here is …

Member Avatar for masijade
0
134

The End.