4,248 Topics

Member Avatar for
Member Avatar for Pranesh_Ashrit

Dear All, I have a web-application where there are two modes of operation i.e. User and Admin. I have pages index.html, user.jsp, admin.jsp in my jsp folder. The problem is the User can go to the browser and type the admin.jsp in the url and gets the admin page. I …

Member Avatar for javaAddict
0
108
Member Avatar for hardik.rajani

Hi. I am working on a HRMS system in J2EE. Here i need to verify mobile number through sms. I am reading about it from 2 days but didn't get anything except SMPP. It will take a long time for me to learn this and implement whole. I need suggestion …

Member Avatar for parry_kulk
0
137
Member Avatar for timaquerra

Hello, I made Web Service which connect to database and retrieve data. Web service works file, I can connect to database and get data, here is my code: [CODE] package mypack; import javax.jws.WebService; import javax.jws.WebMethod; import java.util.*; import java.sql.*; import getInfo.*; /** * * @author Aziz */ @WebService() public class …

0
65
Member Avatar for sueshi9

Please help! Avast detected a trojan called "Win32:Crypt-FOU[tri]" in a file called "fuhulila.dll"and I cannot delete or add to virus vault. Hijackthis log below: Logfile of Trend Micro HijackThis v2.0.2 Scan saved at 8:47:43 AM, on 12/1/2009 Platform: Windows XP SP3 (WinNT 5.01.2600) MSIE: Internet Explorer v7.00 (7.00.6000.16915) Boot mode: …

Member Avatar for sueshi9
0
261
Member Avatar for mimsc

I thought I got the class path right?? lines 89 and 94 throwing the error [code=java] <%@ page language="java" %> <%@ page import="trader.webservices.util.Utils" %> <%@ page import="java.util.ArrayList" %> <%@ page import="java.util.Vector" %> <%@ page import="java.net.URLDecoder" %> <%@ page import="trader.webservices.util.AABAHeaderFooter" %> <%@ page import="trader.webservices.data.UserDataVO" %> <%@ page import="trader.webservices.data.UserInfoDAO" %> <% RequestDispatcher …

Member Avatar for mimsc
0
579
Member Avatar for ceyesuma

The name of this question is jsf_book_recommendation Hello and Thank you in advance for any assistance. [B] System info: [/B] I use Netbeans,MySQL,glassfish [B] The Purpose of this post is: [/B] To see if any one has a good recommendation for a book to study JSF web app building. Preferably …

0
74
Member Avatar for rajeshmoyra

Hi, I felt trouble to solve the problem last few days.When I loguot as an user from an account the "Backward option is activated" by which with out giving password another user can enter the last Logout page which I don't desired. I follow Session object in jsp tags for …

Member Avatar for masijade
0
130
Member Avatar for redmaverick

I tried and succeeded in pulling out the info from the ms access database tables. But I am not able to pull out the images. They are in the text form. Is there any way to overcome this this is my code: [code] <html> <body> <%@ page import="java.sql.*,java.awt.Image" %> <% …

Member Avatar for ~s.o.s~
0
98
Member Avatar for panagos

Hello, i have to do a project that presents a form with 3 text fields like this [img]http://i47.tinypic.com/1jsw44.jpg[/img] type 2 numbers and then the symbol(+,/,*,-) and do the appropriate action. I am using [B][U]Tomcat 6.0.[/U][/B] I've done so far: [B][U]#[COLOR="Red"]simple.html[/COLOR][/U][/B] [CODE]<html> <body> <form method="post" action="simple.jsp"> Number_1<br> <input type="text" name="value1"><p> Number_2<br> …

Member Avatar for panagos
0
136
Member Avatar for Pranesh_Ashrit

I have used crypto class of javax to encrypt and decrypt the string. It works fine for few cases but for few it returns null. I am not getting the exact reason for this. kindly guide me. Here is my code[CODE]public String decrypt(String str) { try { // Decode base64 …

Member Avatar for masijade
-1
85
Member Avatar for saikatroy1985

As i am new to jsp, i need a solution for to connect login page with the database which is having username and password.

Member Avatar for peter_budo
1
100
Member Avatar for saurabhjj

hi, I have written my first pom.xml and on making a build it says, u are using java 1.3 you need 5 or above. I only have 1.6 installed in my system, Can anyone please help me, please tell me where do I need to check, I have checked all …

Member Avatar for peter_budo
0
31
Member Avatar for jainshammi
Member Avatar for Thirusha
-1
52
Member Avatar for jamojo

Hello everyone, I created a Java Class that retrieves files in a specific local drive\folder. Then I was able to retrieve it from the JSP page. Can I ask what is the best approach to create a JSP recordset paging (previous, next, page 1,2,3...) without using the database? For example, …

0
82
Member Avatar for sachinarora

hi, i have seen a code through some body on this site and apply it , it was working correctly but it no not on the site know can anyone please tell me the code of it ,the code was about 60 lines long

Member Avatar for kvprajapati
0
98
Member Avatar for ibanez270dx

Hey guys, I've very new to JSP, Java, and Netbeans and I'm having an issue... So I've got an ArrayList of User objects and I'm trying to iterate over the list in a JSP page to display the info. I've included the JSTL 1.1 jstl and standard libraries. Here is …

Member Avatar for ibanez270dx
0
5K
Member Avatar for alsoumhi

Hi all , I am trying to map a user to a jsp page when he tries to enter to a directory of my application using URL. let say my web directory is called school and it has a directory called pages . now I need to map a user …

Member Avatar for ~s.o.s~
0
314
Member Avatar for rickprospers

JSP Newbie: I have a piece of code that works perfectly within the <% %> brackets but I need it to work within the <%! %> brackets. Here is the code: ------------------------ [code=java]com.newatlanta.cfc.CFCProxy myCFC = new com.newatlanta.cfc.CFCProxy("xmpp", request, response); String jsonMsgData = "A test message"; Object[] myArgs = {jsonMsgData}; java.util.Map …

Member Avatar for ~s.o.s~
0
92
Member Avatar for atuleshchand

How to upload an XML file through JSP web interface and transform that XML using XSLT and return the HTML file for download.

Member Avatar for ejosiah
0
59
Member Avatar for musaka87

Hi all, I have the following requirement. I need to read html blob from database and include it in JSP using <jsp:include>. Can you tell me how to do that and is it at all possible? If not what could be the right way to archieve the same result? Best …

0
57
Member Avatar for abhishek.tyagi1

hi expert! i am new to jsp. i m using a html form to get user input. i want to collect all the information given by the user, using a javabean class with it's get and set property. and again i wat to display it to the user. i am …

Member Avatar for GHANSHYAM176
0
257
Member Avatar for atuleshchand

Hi Fiends, Does anyone have any idea of how to upload a ZIP file or any other file and perform some string manipulation on that file and return the new file for downloading through JSP on Jakarta Tomcat server. Thanks Atul

Member Avatar for peter_budo
0
40
Member Avatar for varsha21

my code runs fine with ie6 and ie7. but a drop down list is not working with ie8. I am not using any CSS. Can any one help me plzz. Thanks.

Member Avatar for masijade
0
70
Member Avatar for ankie

hello everyone...i am new to this community as well as jsp technology.I am working on a project using hibernate and spring and we r supposed to deploy our project using tomcat and jsp technology. I dont have much experience using Eclipse either. We are supposed to make an application on …

Member Avatar for peter_budo
0
236
Member Avatar for cms271828

Hi, I'm looking for some J2EE ideas, I have JSP hosting (1G hdd), and also access to MySql database, as well as perl/php, etc. I currently have a chess app, allowing users to play chess in 3D against each other or the computer that takes advantage of a few servlets …

0
79
Member Avatar for alsoumhi

Hi guys , I am trying to convert a web page to pdf , I have searched about this a lot but I did find any answer I have one program to convert using YAHP converter but I couldn't understand its parameters used in the program [code=Java]String fontPath = getParameter(args, …

Member Avatar for Airshow
0
112
Member Avatar for brittomyth

Hi friends i'm having a problem .... Task is i'm having record in the table [table name samp there i'm having names alone]....... I want to fetch the table records in the listbox ....i can able to extract the records but unable to fetch the records in the list box …

0
60
Member Avatar for moyphus

While Session Expire, i need to Call One Method... Normally when i click Logout, it will calls one method, the user status also set to logged out, then the session will also expire,.,.,But in this case, suppose the user directly closing the window means, after sometime the session will automatically …

Member Avatar for kvprajapati
0
80
Member Avatar for ceyesuma

The name of this question is “three JSF questions” Hello and Thank you in advance for any assistance. [B] System info: [/B] Netbeans,MySQL,glassfish [B] The Purpose of this post is: [/B] have someone look at the excel file (subscribe_app_notes2)at : [url]http://cid-b5cb457363230793.skydrive.live.com/browse.aspx/Public[/url] [B] The functionality of this code is: [/B] I …

Member Avatar for ceyesuma
-2
89
Member Avatar for bvssn

Hi, I need to create dynamic table in jsp and submit data to the server. What is the best way to do this? Anyone has sample code? thanks in advance, bvssn

Member Avatar for ddempsey96
0
1K
Member Avatar for dearjee

Hi, plz guide me which server side programming is good for current scenario and which should be learn,coz im going to learn JSP.Im confused coz there r numbr of langs there.. plz guide me. thnx in advance.

Member Avatar for dearjee
0
73
Member Avatar for dippy78

Please help me with code. I have create WebApplication/HelloServlet and Midlet using netbean 6.7 When i access Servlet using IE is see "Hello World!" But when i access the same from emulator calling it in Midlet. i see following code on my emulator screen. Is this the correct output? [code=html] …

Member Avatar for dippy78
0
133
Member Avatar for ijerald

Currently i am developing a discussion forum like daniweb with struts and hibernate for that i need a pagination using the same (struts and hibernate). Actually i tried pagination using display tag in struts but not using hibernate and but it is not suitable for my requirement. If you have …

0
43
Member Avatar for ceyesuma

The name of this question is seperatin_view_model Hello and Thank you in advance for any assistance. [B] System info: [/B] Netbeans,MySql,glassfish, [B] The Purpose of this post is: [/B] to have someone look at my exel file where my question concerning packaging,and beans and faces-conf.xml and the concept of seperation …

Member Avatar for ceyesuma
0
95
Member Avatar for madhu28

i have a list of size 3 in my controller i say int noofcards=List1.size(); which returns me the value 3 i want to print this value in my jsp. How do i do it ? i tried this way Controller [code=java]request.setAttribute("noofcards",noofcards);[/code] jsp [code=JSP]<%= request.getAttribute("noofcards"); %>[/code] Thanks in Advance

Member Avatar for ~s.o.s~
0
58
Member Avatar for ceyesuma

The name of this question is Hello and Thank you in advance for any assistance. [B] System info: [/B] JSF,netbeans6.7 [B] The Purpose of this post is: [/B] My first successful JSF app. If someone wants to check it out. Found at: [url]http://cid-b5cb457363230793.skydrive.live.com/self.aspx/.Public/guessNumber.zip[/url] [B] The functionality of this code is: …

Member Avatar for ceyesuma
0
145
Member Avatar for ag1021

Hi all, I'm a beginner in jsp and need help in this. How do you write a jsp code to print different colours for different columns in a table of 5 by 5 squares? Any help would be appreciated. :)

Member Avatar for javaAddict
0
122
Member Avatar for Pranesh_Ashrit

I have written a code to search a file in a given directory. This runs fine on console. But the same code when i run in jsp does not work as expected. [code=Java] if(target != null && target.isDirectory()) { for(File f:target.listFiles()) { if(f.isFile()) { p = Pattern.compile(fileName); m = p.matcher(f.getName()); …

0
69
Member Avatar for dsmush

Hi, I'm doing an assignment for University that requires us to make a servlet. I haven't been able to start it yet as I am having trouble compiling the java files. I started of in Linux but could not get Tomcat working so I've resorted to Windows XP. I now …

Member Avatar for peter_budo
0
139
Member Avatar for gshockneo

Hi Actually i require that as soon as a jsp gets loaded , An Aglet is created and dispatched to remote site. I am able to do dis directly in java..but how to do it through jsp page. Plz help

0
61
Member Avatar for dj_dan23

Hi! All I would like to have a way to do my application using a simple way. I have a genealogy site, since a long time ago. I have near 10,000 pages (10,000 names) on a free hoster. Everything works fine. But I'd like to do the conversion from my …

-1
52
Member Avatar for vsanandan

Hi, I am learning JSP now. The following program doesn't work in my Linux system's Mozilla firefox. Any help to fix this problem is appreciated. [code=JSP]<html> <title>Using JSP EL Operators</title> <body> <h2> Using JSP EL Operators</h2> <table border ="2"> <tr> <td> 13 + 2 = ${13 + 2} </td> </tr> …

Member Avatar for vsanandan
0
304
Member Avatar for 9944574568

hi to all, i am new to jsp..i want to update the table using stored procedure in jsp program..can any one please solve my problem.need code to execute that..anyone help me..

Member Avatar for javaAddict
0
65
Member Avatar for reddy5081

[B]good day ,[/B] [B]i am new to java ,[/B] [B]i am using two different databases and i want to insert data from one table to other empty table using jdbc .and it consists of null values in one table along with some data .when ever we add new data to …

Member Avatar for javaAddict
0
172
Member Avatar for ArunRaj.SRM

Hi, Can anyone provide a sample application that usses a login page, in which users can login and the login details will be checked from the oracle db. Thanks in advance.:)

Member Avatar for peter_budo
0
87
Member Avatar for romilc

I am developing a Tic-Tac-Toe game which can be played between two players who are on two different machines. When the first player comes to the Welcome page he will redirected to a Waiting Page when he clicks on the 'Start' button. When the second player comes to the Welcome …

0
54
Member Avatar for glendavis

I wrote some html code that lets the user choose an input from a drop down menu then it is passed into a servlet and that creates an HTML document with the output. How does the servlet get the input from the user. In other words, what code do i …

Member Avatar for Thirusha
0
90
Member Avatar for jeswanth
Member Avatar for gope_biswas

hi every body. i am a new user to this site and i need help from you all regarding installation and running of tomcat3. Can any body give me step by step details of how to install and configar tomcat and then where to save a simple java program containing …

Member Avatar for pragati12
0
246
Member Avatar for shalabhgarg

hiii can u please help me in uploading files in JSP??? I have a code but it can only upload small sized files(only few bytes or kb) , please help me in uploading large files.I tried to upload a large file but it could not, although it didn't show any …

Member Avatar for peter_budo
0
722

The End.