4,248 Topics

Member Avatar for
Member Avatar for claudiu_is

I'm having a session problem with jsf. I've googled abut sessions and none of the results answer this question: what happens when a user logs in, copies the link, logs out and pastes the link in the browser? They say that I should validate the user when the page loads …

Member Avatar for claudiu_is
0
99
Member Avatar for sandy183

hi, i'm trying to build a web page which permits the user to login before accessing the contents of the site. the login works fine (i did it using jsp), but i am not able to logout properly, that is, when i click on a "logout" hyperlink, it sends me …

Member Avatar for shajidbasha
0
230
Member Avatar for shweta797

hi, my problem is that i have a database where i have stored information month wise of various user and i want that user details in month wise and its shows too but when its move to another column like means in next month like jan to feb its creats …

Member Avatar for shweta797
0
118
Member Avatar for jsmith9990

Hai . I'm Smith. In this section We have to discuss about JSP. I want to know more about JSP.I thnk the people interested in JSP will help me out to find out some answers. How is a JSP processed ?

Member Avatar for samtben111
0
88
Member Avatar for crazydj

Hi everyone! I want to secure my URL to my webapplication so that nobody can get straight to the maps on the server wich are in the url. Can anyone help me with this? Thx

Member Avatar for peter_budo
0
25
Member Avatar for romcas6

I'm a neewbie in this help what's wrong with this one.. <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %> <%@ page import="java.sql.*" %> <% //create a Connection, Statement, and ResultSet object to connect to the database Connection con = null; Statement stmt = null; ResultSet rs = null; String queryText …

Member Avatar for nschessnerd
0
81
Member Avatar for new_2_java

Hi all, I am trying to compile the following class, but I keep getting this error message. Class: [code] package com.tool; public class WebTopBrowserTreeTag extends com.documentum.webtop.control.WebTopBrowserTreeTag { protected Class getControlClass() { return com.tool.WebTopBrowserTree.class; } } [/code] Error: [code] com/tool/WebTopBrowserTreeTag.java:4: cannot access javax.servlet.jsp.tagext.TagSupport file javax\servlet\jsp\tagext\TagSupport.class not found public class WebTopBrowserTreeTag extends …

0
71
Member Avatar for vinithktp

to this servlet i have to get values of to,from address and filename from a jsp though all jar files are put in class path the servlet is not recognized public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { try{ String to = request.getParameter("to"); String from = request.getParameter("from"); String …

Member Avatar for vinithktp
0
182
Member Avatar for memocool

Hello everybody i'm here for the first time n i hope you can help me i have to do a project for web-based course i didn't get the full idea yet my friend told me to do a web site like Hotmail or yahoo but i don't know how to …

0
43
Member Avatar for Kevin392

Would appreciate any assistance.... Logfile of Trend Micro HijackThis v2.0.2 Scan saved at 9:45:56 PM, on 11/19/2007 Platform: Windows XP SP2 (WinNT 5.01.2600) MSIE: Internet Explorer v7.00 (7.00.6000.16544) Boot mode: Normal Running processes: C:\WINDOWS\System32\smss.exe C:\WINDOWS\system32\winlogon.exe C:\WINDOWS\system32\services.exe C:\WINDOWS\system32\lsass.exe C:\WINDOWS\system32\svchost.exe C:\WINDOWS\System32\svchost.exe C:\WINDOWS\system32\LEXBCES.EXE C:\WINDOWS\system32\spoolsv.exe C:\WINDOWS\system32\LEXPPS.EXE C:\WINDOWS\Explorer.EXE C:\WINDOWS\ehome\ehtray.exe C:\WINDOWS\system32\hkcmd.exe C:\WINDOWS\system32\igfxpers.exe C:\Program Files\Java\jre1.5.0_06\bin\jusched.exe C:\Program Files\Intel\Modem …

Member Avatar for Kevin392
0
142
Member Avatar for mimsc

Hi I want to populate my second drop-down menu based off of the value selected on my first drop down. Is there a function or a way of doin g this... P.S my code is in a JSP: [code=java] <% Vector theStates = WeatherDAO.getWeatherStates(); %> <html> <head> <meta http-equiv="Content-Type" content="text/html; …

Member Avatar for tommybobby
0
74
Member Avatar for abhishek2301

Hi, I am using a JSP from to collect data from user and then inserting those values into a table in MySQL.But it is returning 'null' always.I am able to query the DB and view the entire table and everything else is fine. But the INSERT is not working somehow!!! …

Member Avatar for tommybobby
0
148
Member Avatar for binayraja

Dear sir, I am using jsp(Model View Controller platform) for making web site. I have to create dynamic treeview by quering data from database. I think I have to use ajax , jsp code for making tree. Can anybody help me. Thanks.

Member Avatar for tommybobby
0
152
Member Avatar for hidash_in

hi, i am using tomcat server to executing the jsp files. my task is to open an application while clicking the hyperlink it throws an popup error msa Access is Denied. and also i used the path of a file in href it also not opening a file. give me …

Member Avatar for jspEthusiast
0
100
Member Avatar for hidash_in

[B]how to open any exe file using java. i alrerady used the Runtime.getexec() code. but when i refresh the page the application is opening. my thought is the application should be open after clicking the button in jsp page. if u have any code send me.[/B]

Member Avatar for masijade
0
117
Member Avatar for harbir

I am using structs to try and get the "update" functionality working. I have a list of items appearing in the jsp page, "viewItem.jsp" . I am getting this list from the database. At the moment I am just displaying the item description, but item id is also available in …

Member Avatar for lookof2day
0
125
Member Avatar for kabir15

hi everybody! i am a new programmer in jsp. i am working on project where i would like to use crystal report.But i donot know how to connect with crystal report using jsp.so would anybody please help me. looking forward for answer. Thanks kabir

Member Avatar for peter_budo
0
59
Member Avatar for Bharath15

Hi can somebody help me i am new to developing. ADD the new record to the existing database table at the end of all rows.Something like registration form details. <%@page import="java.sql.*" %> <% String fisname=request.getParameter("firstname"); String lstname=request.getParameter("lastname"); String sex=request.getParameter("gender"); try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con=DriverManager.getConnection("jdbc:odbc:Bharath"); Statement st=con.createStatement(); DataInputStream din=new DataInputStream(System.in); while(rs.afterlast()) …

Member Avatar for peter_budo
0
122
Member Avatar for princestasnley
Member Avatar for arunprashanth

Hi In my servlet program , i retrive some records from my database. These records should be print in another jsp page.so how to pass records from servlet to jsp. how to do it and what are the way to do? Thanks in advance by arun

Member Avatar for lookof2day
0
99
Member Avatar for chicago1985

I have a Servlet that checks for information and if there is an issue it forwards the message to presentation page (JSP). Now I want to stop using conditions in scriptlets in the JSP. Please advise how I can do it in this situation in my Tomcat 4.1.27 container. I …

Member Avatar for lookof2day
0
82
Member Avatar for ceyesuma

Can anyone tell me the proper steps to go through to collect data from a jsp send it to getters and setters in bean? Presently I am learning the wrong way. If I knew how to set variables in a bean then I would need to know what some code …

0
44
Member Avatar for kc8pdr
Member Avatar for sillyboy
0
299
Member Avatar for arvin6

hi guys am new to the forums n a beginner in software could u pls tell me how to connect to MS access using JSP regards, arvin6

Member Avatar for peter_budo
0
52
Member Avatar for nagaharish

Hi all, I would like to know whether there is any one who is hosting Tomcat/JSP with SVN. Please reply me if anybodyknows it, Thanks in advance. Regards, Harish

Member Avatar for masijade
0
397
Member Avatar for bryanau

Alright so I created a website using HTML. I later found out that I had to store links via .jsp and use a database so i made an index.jsp page instead. The first couple sections look like this: [code]<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %> <!DOCTYPE html PUBLIC "-//W3C//DTD …

Member Avatar for sillyboy
0
104
Member Avatar for pesho318i

hey guys, I'm realtively new to jsp, and I want to create java objects and use them later in the jsp code. Here's what I do: [CODE]<%! public static java.util.List attrTypesArray = new java.util.ArrayList(50); public static boolean myBool; attrTypesArray.add("aaaa"); pageContext.setAttribute("attrTypesArray", attrTypesArray); pageContext.setAttribute("myBool", myBool); myBool = attrTypesArray.contains("aaaa"); %> <c:out value='${myBool}'/>[/CODE] However, …

Member Avatar for pesho318i
0
196
Member Avatar for mrityunjay22

i want a date selection form in jsp and that date variable should be caught in servlet so that i can insert date in mysql. its very urgent plz help me

Member Avatar for peter_budo
0
82
Member Avatar for laxmisaha

Hello ppl, I am working on a site these days, which is coded in JSP and based on J2EE technology.I have a requirement where i have to play a WAV/MP3 file on the JSP webpage. The file is saved in a database repository and is loaded in the output stream …

0
54
Member Avatar for snah1

Hello! I have problems saving values from checkboxes in the database. My jsp page contains several checkboxes (representing values from a static database table). When I choose one or a few checkboxes in my jsp, the values are passed to my SimpleFormController and they should be saved through the onSubmit …

Member Avatar for jwenting
0
137
Member Avatar for anonymous100

I am new to web development. Can somebody advise me on how I can pass an ArrayList from my JSP to action class. I have the following link in my JSP which links to an action class. <li> <A href="inboxMsg.do">Link to action</A></li> Can I pass the arraylist in the above …

Member Avatar for RVG123
0
284
Member Avatar for hamutathmu

Is there anybody know any "tricks or treat" of how to apply for a computer programming job? I graduated with a Computer Science degree in 2006 and has been desperately looking for a job since then. I'be been through countless job interviews and none of the employers accepted me AT …

Member Avatar for binoj_daniel
0
122
Member Avatar for mimsc

Hi, I'm basically just trying to submit this whole page into an email when I press submit at the bottoM...any suggestions? [code] <%@ page language="java" %> <%@ page import="trader.webservices.util.Utils" %> <%@ page import="trader.webservices.data.UserInfoDAO" %> <%@ page import="trader.webservices.data.UserDataVO" %> <%@ page import="java.util.*" %> <%@ page import="java.text.*" %> <% String theAcctName = …

Member Avatar for mimsc
0
118
Member Avatar for petzoldt01

I currently have a small Java project on my local setup (Im using Tomcat). I want to get this out on the internet, but not many hosts offer Java. Im not really looking for the cheapest host out there, but Im not very rich either. I just want something reliable, …

Member Avatar for peter_budo
0
78
Member Avatar for idgeitman

Hello, I've been trying to figure this out but still no luck, can anyone see what im doing wrong here?, the if statement just isn't working! Thanks, [code] <% String name = request.getParameter("username"); %> <% if ("name" == null) { %> <jsp:forward page = "invalid.jsp"/> <% } %> [/code]

Member Avatar for masijade
0
86
Member Avatar for mimsc

Can anyone see it..I can't find it [code] <% RequestDispatcher dispatcher = request.getRequestDispatcher("/jsp/ErrorPage.jsp"); UserDataVO userData = null; String username = request.getParameter("username"); String password = request.getParameter("password"); boolean loginOkay = false; boolean trialOkay = true; boolean pageError = false; boolean hasBlanks = false; String menuType = null; String adminServer=request.getServerName(); String javaAdminServer=request.getServerName(); if …

0
80
Member Avatar for kc8pdr

I was on sprint today and when you click on a phone the page get's see through and a windows open's open can someone tell me how to do it ?

Member Avatar for kc8pdr
0
59
Member Avatar for munna_dude

hi all i am new to jsp i am looking in to this example first... [CODE] <html> <head> <title>My first JSP page </title> </head> <body> <%@ page language="java" %> <% out.println("Hello World"); %> </body> </html> [/CODE] and save as helloworld.jsp at present am using linux machine i.e. fedora7. when i …

Member Avatar for masijade
0
63
Member Avatar for Jrock

Hey everyone. Brand new to the forums. I have been looking all over and could not find much help. I have found one instance of the problem but it always occurs in JBoss and I am running Tomcat. I am pretty new to JSP, XML, and servlets so bare with …

0
51
Member Avatar for shajiuddin

hello friends, plz give the kinks where I can download simple jsp projects Thank you

0
35
Member Avatar for Rajesh.D.N

Hi, I am new to mysql connectivity using jsp. but i have tried it with MS Access nd it worked out for me. I have installed jdk1.4, Tomcat5.0, mysql 4.1 and mysql_connector_odbc_3.51.21_win32.msi. For the following code i am getting error code 500.. I have set the Env paths as path …

Member Avatar for masijade
0
209
Member Avatar for Shubhra

On clicking on a link at(home.jsp), I ned to forward the request to another page(quickSearch.jsp). With this I have to pass two values to the page. What is the way out? I created a java script function for it as below function report_ref(refid) { <jsp:forward page="quickSearch.jsp"> <jsp:param name="refid" value='refid' /> …

0
74
Member Avatar for maulee

Hello , I have a java program that genrates a family tree using swing and I want to use that in my JSP page.For which I have convert it into an Applet.Can anyone tell me how to convert it into Applet or any other alternate solution.

0
23
Member Avatar for Shubhra

I want to create a filter tool in my jsp page which is required to be similar to the column filter in excel sheet. Do we have any such tool in HTML? Or is there any good alternative for this? Sorry for posting html query under jsp topic.

Member Avatar for peter_budo
0
70
Member Avatar for Shubhra

Hi All, I am new to jsp. I need to know how to execute certain code on a button click(submit). my form has a text box and a submit button. Onclicking it, it has to execute a SQL query and then forward the control to another jsp page. Where to …

Member Avatar for Shubhra
0
157
Member Avatar for 66eagle

opendata.jsp_____________ <% Class.forName("org.gjt.mm.mysql.Driver"); String url="jdbc:mysql://localhost:3306/mydata"; Connection con=DriverManager.getConnection(url,"root","123"); Statement smt=con.createStatement(); ResultSet rs; //int rs; %> counte.jsp_________________________________ <%@ page import ="java.sql.*"%> <%@ page import="java.util.*"%> <%@ include file="opendata.jsp"%> <%@ page contentType="text/html;charset=GB2312"%> <% request.getSession(true); int month,day,hour,today,total,select; String time; int sql; String errmsg=request.getParameter("errmsg"); GregorianCalendar calendar; calendar=new GregorianCalendar(); month=calendar.get(Calendar.MONTH)+1; day=calendar.get(Calendar.DAY_OF_MONTH); hour=calendar.get(Calendar.HOUR_OF_DAY); time="m"+String.valueOf(month)+"d"+String.valueOf(day); //sql="select * from counter …

Member Avatar for masijade
0
259
Member Avatar for midnightmomma

I woke up this morning to find a config/lsass.exe error which with hijack i managed to get rid of by the explorer continues to restart on me. Over and over non stop. I hope you can help. I have tried vundofix to no avail, atf cleaner doesnt help, my virus …

Member Avatar for midnightmomma
0
262
Member Avatar for Melzy

The class that my bean uses has an array textFields[407]. I have 407 textfields in my jsp file. I used a loop to make the textfields. So, it looks something like this: [code=JSP] <%for ( int i = 0; i < lineCount; i++ ) {%> <INPUT TYPE="TEXT" NAME="textFields"+i SIZE="4" MAXLENGTH="7" …

Member Avatar for lookof2day
0
266
Member Avatar for RatanKumar

Hi, I want to use struts-html:checkbox to insert/update a field in a table. I am using dynavalidatoractionform in struts-config and beanutils.copyproperties to populate these fields in a formbean i need this checkbox to be checked by default when the page comes up. on submit, it should send Y if checked …

0
56
Member Avatar for thekashyap

I needed to get links to some good Java, J2EE tutorials and was surprised that daniweb::Java didn't have a thread on that.. Of course it's easy enough having Sun provide tutorials on most things, there might be some covering specific topics in better ways. Anyway here are the links I …

Member Avatar for Ezzaral
1
895

The End.