3,760 Topics

Member Avatar for
Member Avatar for iam_rob

Hi all, I'm currently building a login page for a JSP application, I've realised that im going to need to use sessions to recall the username on the login screen for other functionality. Unfortunately i'm very new to the whole web development approach and i've tried searching for guides on …

Member Avatar for iam_rob
0
226
Member Avatar for assoora

[COLOR=#000000]Hi all,[/COLOR] [COLOR=#000000] <br>[/COLOR] [COLOR=#000000]I've a JSP page that has 2 buttons one to bring data from database via a servlet & a java Bean, and the other is a next button.[/COLOR] [COLOR=#000000][COLOR=#000000] <br>[/COLOR] [/COLOR] [COLOR=#000000]i want to show the data from the database 4 rows per a page, i.e. …

Member Avatar for jwenting
0
139
Member Avatar for efui

Need help with creating a shopping cart in JSP :idea: . The problem is am very new to this environment(JSP) and I have undertaken a project to develop an e-commerce web-site with shopping cart linking to a MySQL database. The main goals of the shopping cart is to process orders …

Member Avatar for jwenting
0
1K
Member Avatar for hegRT

Hi there Im having a problem with my database connection...other instances of nearly the same code works but I cant understand why this isn't working My class which retrieves info from the data base is [code] /* * MuscleSchedule.java * * Created on 07 May 2007, 18:03 * * To …

Member Avatar for jwenting
0
282
Member Avatar for rajumurugan

Hi techies, I've a problem. My application runs in Tomcat. images are stored in the "images" folder which is in .war file in webapps folder. I've mentioned the image path in the jsps. It takes lot of time to load a page with smaller amt of dynamic content 'coz of …

0
57
Member Avatar for aruna_k_2006

import java.util.*; import java.text.*; class DemoDate { public static void main(String[] args) { Date date=new Date(); SimpleDateFormat sdf; // sdf=new SimpleDateFormat("hh:mm:ss"); //System.out.println(sdf.format(date)); // sdf=new SimpleDateFormat("dd MMM yyyy hh:mm:ss zzz"); //System.out.println(sdf.format(date)); sdf=new SimpleDateFormat("E MMM dd yyyy hh:mm:ss"); System.out.println(sdf.format(date)); } } i am getting current date and time but i want to …

Member Avatar for masijade
0
84
Member Avatar for suigion

Hi All, I am new in JSP. I would like to know how to pass a value from a textbox into a parameter?? [U]For example:[/U] Insert value into Emp (Name) value (????); The "????" should be the text when the user enter the name in "Name" textbox. Thanks in Advance, …

Member Avatar for ~s.o.s~
0
79
Member Avatar for franhurley

Hi all Im a a newbie here and am currently haveing my first go at servlets. I am using netbeans5.5 and apache tomcat 6.0 and trying a simple helloThere servlet. Every time I try and compile it either with command line javac command or netbeans I get the above error. …

Member Avatar for peter_budo
0
119
Member Avatar for aruna_k_2006

see my query is like this (select studentname from student where studentid='+studentid+') then i display in jsp like this st_16 //studentid .nikki //student names .nani //student names now second time when i add select student id st_17 now jsp i have display like st_16 .nikki .nani //first id's name + …

Member Avatar for aruna_k_2006
0
156
Member Avatar for Fenerbahce

Hi, When i press "end" button on keyboard, i want to see "pressed on end button" message on screen. How can i do this. I am new in Java. Thanks

0
63
Member Avatar for akhilesh.nitt

[B]hi all[/B] The Microsoft Jet database engine has an internal limit of 255 fields per query. but my Excel sheet containg more than this. and i have to fetch all the fields of the excel plz help me how can i fetch the data .. [B]thanx in advance [/B]

Member Avatar for jwenting
0
63
Member Avatar for jake_ryan

<div id="sidebar"> <logic:present name="userVO"> <logic:iterate id="element" name="userVO" property="features" indexId="i"> [B]<a href="<bean:write name="userVO" property='<%= "featuresLinks["+ i +"]" %>' />" class="sidebar"> <html:image src="<bean:write name="userV[I][U]O[/U][/I]" property='<%= "imagePaths["+ i +"]" %>' />"/> </a> [/B] </logic:iterate> </logic:present> <version data="11.01.04svp1"><sysinfo data=""></sysinfo></version> </div> I am trying to place a link with an image. However, I am getting …

Member Avatar for jwenting
0
77
Member Avatar for suigion

Hi all, I would like to know how to call a JSP function when the user click button. In JavaScript, I create a functon call AddUser(), the I call the function using OnSubmit. How do I do this in JSP?? Thanks in advance... :)

Member Avatar for jwenting
0
106
Member Avatar for piotrus

if i redeploy my webapp and try to access a protected page, it will show the login screen but after clicking login it just reloads the login page instead of sending me to the protected page. if i reload the login page it will give me access to the page …

Member Avatar for jwenting
0
265
Member Avatar for push

if i am run jsp from my system with tomcat server for one project. and if my friend run other jsp from same tomact server from ther system. My QUESTION IS how can link those 2 jsp file under same project folder but in different system....Please help me for this. …

Member Avatar for rgtaylor
0
79
Member Avatar for push

here 2 of us doing a same project, with tomcat 4.how to ling jsp page from my system to my friends system 4 accesing data from that page......please suggest me the solutions..............

Member Avatar for masijade
0
77
Member Avatar for push

Please any will u help me..... what is the need of using application scope at the any project for jsp. please give me examples of using application scope. and how to use taglib ..........please give examples which i can run and learn..........please...................................

Member Avatar for rgtaylor
0
104
Member Avatar for amaravanich

Hi All, Can you please give me sample app or tell me the way to generate ui templates for web components(as in agile technologies.), using beans and custom tags,meta data files,jsps. Its urgent please reply soon... Thanking you in advance

Member Avatar for jwenting
0
60
Member Avatar for imastudent

Hello guys! im a newbie in programming and i need help..Anyone familiar with array??below is the case and i hope someone can help me.. thx.. Write a program to assign seats on each flight of the airline’s only plane (capacity: 20 seats). Your program should display the following menu of …

Member Avatar for masijade
0
520
Member Avatar for npriya_it

Hi all, I must print the data collected from a jsp page into a table with rows n columns consisting of data accordingly.Can somebody help me with this?

Member Avatar for almasalkhi
0
101
Member Avatar for tmv105

Can anyone help me to store my result set into another object so that I can display it on my jsp page in a table. I can get output of my resultSet from a System.out.println(rs.getString(i)) stance. I tried storing each row in a vector and then each row of vectors …

Member Avatar for jwenting
0
134
Member Avatar for tmv105

I hope that I'm posting this correctly. I have populated a vector of my resultSet from a query. I tested it on an application side code and am now trying to access a method from my web side jsp. Here is my error page: org.apache.jasper.JasperException: Exception in JSP: /searchResults.jsp:32 29: …

Member Avatar for jwenting
0
65
Member Avatar for push
Member Avatar for nschessnerd

Hello all, I am writing a program so people can sign up for a class at a school. The class has a limited number of spaces and i was wondering if there was a way to show somer kind of live number of poeple in the class. also i would …

Member Avatar for soumyajit
0
78
Member Avatar for nschessnerd

Anouther question... is there anyway to get the time from a remote server (so it doesnt use the computers time)? Thanks M

Member Avatar for nschessnerd
0
109
Member Avatar for amtallah

please i want to convert string to datetime by using jsp and i hope to any one replay Example String s="mm/dd/yyyy" to Datetime s1=s:?: :?: :?: :?: :?:

Member Avatar for rgtaylor
0
118
Member Avatar for sanju21

At which level logging should work in project..show me the ways to use logging concept. I am using role based access in project..

Member Avatar for rgtaylor
0
112
Member Avatar for push

how to call javabean from jsp? i wanted to call javabean from jsp with in my own folder keeping at webapps folder. Pleasssssssssssssss help me for this.................:sad:

Member Avatar for push
0
88
Member Avatar for vinutha1309

hi... how to compile and run a servlet application using Tomcat5.5 ... where to place the class path......and how to run.... After compiling Java file I have placed .class file in ... C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\ROOT\WEB-INF\classes and my java file is in... C:\servlets/HelloWorld.java and i have accessed like this.... …

Member Avatar for rgtaylor
0
175
Member Avatar for akhilesh.nitt

Hi everyone, i m new to JSP, i want to create table in jsp,attribute will be selected by the Excel sheet which resides on server. client will see the table and he/she can edit or reset the table and these modification will be saved on server.next time when same user …

Member Avatar for rgtaylor
0
151

The End.