4,248 Topics

Member Avatar for
Member Avatar for James_30

It has been about a year since I have even looked at code. I have written a few db desktop apps and I am beginning to learn the db web app. I am looking for advice. I had a hard time running apps I built in the netbeans environment as …

Member Avatar for James_30
0
144
Member Avatar for xxmp

i have a page with this code <?xml version='1.0' encoding='UTF-8' ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://xmlns.jcp.org/jsf/html" xmlns:f="http://xmlns.jcp.org/jsf/core"> <h:head> <title>Facelet Title</title> </h:head> <h:body> <h:outputText value="#{pros.handleIpn(request)}"/> </h:body> </html> and althought i can access this page throught internet ip:8084/path to the page when i insert this page …

0
176
Member Avatar for echocoder

I have an instance of Tomcat 7.0.32 installed. The server.xml is configured to use clientAuth="want" in the Connector. I have a Context that has a docBase set to be a network share. This particular Context I want the user to be authenticated before they can access it, otherwise I want …

0
162
Member Avatar for tanmaymisra

There is a project i am working on its a social networking between chilldren teacher and parents .I want to restrict typ of user to these three only.Do u guys have any idea how to initiate.

Member Avatar for stultuske
0
184
Member Avatar for surum
Member Avatar for stultuske
0
123
Member Avatar for softDeveloper

Hi everybody! I´ve used jdk to generate my certificate with the following command: keytool -genkey -keyalg RSA -alias certificatekey -keystore keystore.jks -storepass password -validity 360 -keysize 2048 Everything works fine when I want to digitally sign an e-mail using: import javax.mail.* and import javax.mail.internet.* # and MimeMessage and Multipart. #. …

Member Avatar for stultuske
0
223
Member Avatar for James_30

Who wrote the code for these "dumb"telepones and were is the fraking keyboard because this is not typing. Anyway I can not remeber the [/code] tags. I could not find the editor toolbar on this phone . Any help please.

Member Avatar for James_30
0
154
Member Avatar for ronaldpaul

Hi, I've done my bachelors in Computer Science and was working for the past 2 and a half years in PHP and MySQL. Now I'm planning to change my career path to IBM Websphere Administration. However, changing directly from PHP to Websphere seems quite impossible. So I've planned to take …

Member Avatar for jwenting
0
1K
Member Avatar for James_30

Hello. please excuse my ignorance It has been 1 year or so since I finished my 2 million line desktop app. An app with extensive use of every thing you can think of as far as multi tabbed desktop with multi profile login. properties. properties xml properties apache db, extensive …

Member Avatar for James_30
0
176
Member Avatar for ianian944

I am trying to make a vehicle advertising website like autotrader or ebay. I am using html, css, jsp, java and mysql for the database.Basically I want the user to be able to search for a vehicle (advert) via a form, then they are directed to a results page after …

Member Avatar for peter_budo
0
2K
Member Avatar for peter_budo

Please don't post "spam" or "Thank you" posts in this thread since this is meant to be used as a guide for all beginners and I am sure we would like it to be on topic. I hope you understand this. For these of you who would like to learn …

Member Avatar for Rajeev Kumar_1
9
3K
Member Avatar for Varunkrishna

Hi all I wish to start learning Spring 3 mvc how do I get it started with either Gradle/maven in Spring Tool Suite (STS). What is the easiest way to learn Spring 3 mvc. I know that there are many tutorials out there, but I could not find the right …

Member Avatar for peter_budo
0
83
Member Avatar for Nesre

Hello everyone, Can you help me with the following problem. I am working on Eclipse IDE. I created new Dynamic Web Project and when I tried to create a Servlet class though every required package is imported it gives a compiler error. The following is a sample code. import java.io.*; …

Member Avatar for Nesre
0
184
Member Avatar for ianian944

Hi I am getting a **HTTP Status 500 - An exception occurred processing JSP page /registration.jsp at line 15** error. The page is a registration jsp page that submits the following parametres into the database. However there are no hints in Eclipse as to what caused the error. Can someone …

Member Avatar for jwenting
0
303
Member Avatar for london-G

Hello, I have installed glassfish server with netbeans. I have created a new JDBC Connection Pool and when I ping it I get error message "Ping Connection Pool failed for MyDatabae. Class name is wrong or classpath is not set for : com.mysql.jdbc.Driver Please check the server.log for more details." …

Member Avatar for peter_budo
0
132
Member Avatar for razor2890

I have the following field in a jsp page.. <select size="1" name="typ"> <option value="C">Coffe</option> <option value="T">Tea</option> &nbsp; </select> Now when the user selects Coffeand and clicks submit, I want the page to go to Coffe.jsp and when Tea is selected , i want it to go to Tea.jsp I tried …

Member Avatar for trhtrh
0
6K
Member Avatar for s.zangeneh

I'm having a problem with making .js files for my javascript project using visual studio2013. Where should i save made file to make it work with my project?

Member Avatar for iConqueror
0
123
Member Avatar for sunil.sahu.14203
Member Avatar for havoc433

Its a simple example but I need to use structs to dynamically create radio buttons using the data stored in the ArrayList. This is the code from the java file. public void reset(ActionMapping mapping, HttpServletRequest request) { setGender(null); setGenderList(null); ArrayList gList = new ArrayList(); gList.add(new LabelValueBean("Male", "Male")); gList.add(new LabelValueBean("Female", "Female")); …

Member Avatar for havoc433
0
124
Member Avatar for mrabrar09

Hello Everyone, Already my web project is developed by using jsp and servlets now I would like to do security check on each and every pages. so, is there any software to check whether my all pages are robust and secure before deploying on to the live server. Eg: Like …

0
163
Member Avatar for shwetha.marigowda

hi , i have a java bean string which contains html and as well as jstl code ,, html code is rendering to jsp,, butnot the jstl code , how do i render that to jsp

Member Avatar for shwetha.marigowda
0
522
Member Avatar for xxmp

Hello i am using jsf and i have this form <h:form> <h:inputHidden id="user_id" value="3" /> <h:commandButton action="userprofile.xhtml?faces-redirect=true" value="Profile" /> <h:commandButton action="addappointment.xhtml" value="Appontment" /> </h:form> How i can access at the page userprofile the value user_id=3 ? Thanks

Member Avatar for xxmp
0
68
Member Avatar for eluciveLu

I would like to create a folder that has been specified by a user i a JSP. for example, in the jsp page below called index.jsp the user is asked to create a folder.. <form action="CreateFolder.jsp" method="post"> <h3> Create New Folder <h3> <input name="createfolder" type="text"> <input type="submit" value"Create Folder"> </form> …

Member Avatar for stultuske
0
2K
Member Avatar for bharatgs7

Guys, As my requirement I am storing the image link in database and through that link I need to access the image in the webpage. For this, I am storing images in my workspace. But the problem is, since my workspace is in C drive, I dont want to store …

Member Avatar for Hemanth Malli
0
138
Member Avatar for cooolrags

I have a drop down in my form which when not selected gives an alert. However sometimes this alert is skipped, i.e the validation is skipped and the form proceeds without any pop up. Can someone please help? Regards rags

Member Avatar for JorgeM
0
60
Member Avatar for staffmbm

I'm trying to make delete row function in primefaces datatable. I'm using this method: package logon; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import javax.annotation.PostConstruct; import javax.enterprise.context.SessionScoped; import javax.faces.bean.ViewScoped; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.PersistenceUnit; import javax.persistence.Query; @ViewScoped @SessionScoped @javax.faces.bean.ManagedBean(name = "logonTest") public class LogonTest implements Serializable{ @PersistenceUnit(unitName="Webbeans_RESOURCE_LOCAL") private EntityManagerFactory emf; …

0
122
Member Avatar for Abhishek_16

there is a simple code but i want when i click submit then ther should open google.com(like any web) in another tab and in the same page there should be one another page. How can i do this.. a sample code is.. <%@ page import = "java.sql.*" %> <% String …

Member Avatar for cool_zephyr
0
881
Member Avatar for Shaikh_1

Hello guys this may be easy question but I m finding it quite tricky. Scenario is I m printing all the values from the database table using jstl foreach. <c:forEach items="${pal}" var="p"> <tr> <td><c:out value="${p.pid}"></c:out></td> <td><c:out value="${p.pname}"></c:out></td> <td><c:out value="${p.pdesc}"></c:out></td> <td><c:out value="${p.pestd}"></c:out></td> <td><a id="popa" href="#">Allocate</a></td> </tr> </c:forEach> And now onclick Allocate …

Member Avatar for cool_zephyr
0
2K
Member Avatar for bharatgs7

I have designed the jasper report in iReport and integrated it with jasper server. It works perfectly. But I am facing problem with my next requirment. I need to integrate the same report with my jsp application. I meant I am not getting how to integrate this report in eclipse …

Member Avatar for milil
0
180
Member Avatar for shivakr

i am lerning advanced java so while practising the jstl topic i get this error on the eclipse browser... i had deployed the "jstl1-2.jar" then also this error is comming can anyone help me to find out what is the reason behind this HTTP Status 500 - The absolute uri: …

Member Avatar for peter_budo
0
245
Member Avatar for anand11mc04

sir , I have need to start a thread on click of submit button on my jsp page. I am using Java Bean for Codeing. please write small program to start thread on button click of jsp page. Thank you.......

Member Avatar for stultuske
0
88
Member Avatar for dev90

<script> function a(){ var filename="test.txt"; </script> <img src="img/test.png" title="?"/> How to get the value of "filename" in "title"?

Member Avatar for Alberto Bucur
0
230
Member Avatar for Shaikh_1

I m trying insert multiple rows in same database (each row had many fields) on submit but unable to do so. I m successfully able to insert single row but when it comes for multiple rows I got stuck. This is the jsp page where you take an input to …

Member Avatar for Shaikh_1
0
6K
Member Avatar for vinnitro

package controller; import dao.CheckDAO; import entity.Users; import java.io.IOException; import java.sql.Date; import java.text.SimpleDateFormat; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.annotation.Resource; import javax.mail.Message; import javax.mail.MessagingException; import javax.mail.Session; import javax.mail.Transport; import javax.mail.internet.InternetAddress; import javax.mail.internet.MimeMessage; import javax.naming.NamingException; import javax.servlet.ServletConfig; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import model.CipherText; import model.UserService; public class …

Member Avatar for stultuske
0
319
Member Avatar for xxmp

Hello i made a jsf site. Althought the welcome page is normal all the others are domain/faces/pagename.jsf. How i can fix this problem?

0
63
Member Avatar for xxmp

I opened a website business but i am programming at jsf mostly for big sites. Is there any good JAVA VPS or virtual Java server that i can buy because now i can not buy a server and set it up. Do you know any good one that i can …

Member Avatar for peter_budo
0
76
Member Avatar for jithinjohny

Hi, I have linux based hosting. I need to upload and work the jsp/servlet pages. after i uploaded the files into the hosting, when i checked the files , it shows the code itslef. How to fix this. Please help me. Thanks in advance.

Member Avatar for stultuske
0
213
Member Avatar for bharatgs7

Guys, I need your help to finish up my assignment. I have JSP application naming myProject ,which has been deployed in webapp folder in tomcat. I want to provide security for myProject folder. I mean, I want to protect it from copying by someone else. Is there any way to …

Member Avatar for peter_budo
0
124
Member Avatar for mukhtar_1

Hi All, Really, I need your help to create phonebook application with MVC. in which the application contains a contacts database. also the application should contain a login screen to delete or edit contact information. the links of update and delete a contact record should appear at the end of …

Member Avatar for peter_budo
0
182
Member Avatar for Yogesh2591

Hi, What is the main aim of the callable statement? How it is differ from prepared statement?

Member Avatar for stultuske
0
107
Member Avatar for ishaan3731

Hi guys, I have a non-cse background but due to some reason i have to submit a java project at my college. As a result i downloaded a employee management project from a website.It has some jsp pages , some java class files , folders named META-INF and WEB-INF.I used …

Member Avatar for stultuske
0
291
Member Avatar for sireiz

Hi everyone, Please help me to register the sql query exceutor in netbeans and java. I am using ireport 5.5.1 and netbeans 8.0 with jdk 8. The problem is that when i run the reports within netbeans, they run but when i build the project and run it from a …

0
196
Member Avatar for sasi_88

hi, i want to disable the back button in IE browser. i have the code but it's not working logout.jsp [CODE] <script language="javascript"> window.history.forward(); </script> [/CODE] i don't know where to put the script code it is put in the logout.jsp file or before please help me out of this

Member Avatar for Satyaveer1990
0
5K
Member Avatar for Dev_6

Can anybody please solve my error: [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project maven-war-plugin: Compilation failure: Compilation failure: [ERROR] \Users\admin\Desktop\Virtual_class\src\main\java\com\iws\controller\LoginController.java:[42,25] error: package javax.servlet.http does not exist [ERROR] \Users\admin\Desktop\Virtual_class\src\main\java\com\iws\controller\LoginController.java:[43,25] error: package javax.servlet.http does not exist [ERROR] \Users\admin\Desktop\Virtual_class\src\main\java\com\iws\controller\LoginController.java:[92,3] error: cannot find symbol [ERROR] \Users\admin\Desktop\Virtual_class\src\main\java\com\iws\controller\LoginController.java:[93,3] error: cannot find symbol …

0
130
Member Avatar for Shreyas_1

I have two different format of code for insert query using jsp+servlet+mysql. Code-1 ====== Class.forName(JDBC_DRIVER); // Open a connection out.println("Connecting to a selected database..."); con = DriverManager.getConnection(DB_URL, USER, PASSWORD); out.println("Connected database successfully..."); // Execute a query st = con.createStatement(); sql = "insert into users (name,email,password) values ('" + name + …

Member Avatar for stultuske
0
2K
Member Avatar for staffmbm

I'm trying to add some mysql table columns to JSF table. And I'm getting error: /index.xhtml: The class 'logon.User' does not have the property 'description'. Please help User.java package logon; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name="users") public class User { private int …

Member Avatar for stultuske
0
2K
Member Avatar for sasikrishnasamy

Hi, Is it possible to get the fields label name from jsp to Action/servlet for example, My jsp has some fields like this, Label name: Fields Search: <html:text property="txtSearch"/> Order: <html:checkbox property="chkOrder"/> Now I need to get these label names below mentioned format, HashTable<String,String> labelList=new HashTable<String,String>() lableList ={txtSearch=Search:, chkOrder=Order:} Please …

Member Avatar for sasikrishnasamy
0
638
Member Avatar for deepakusers
Member Avatar for kamalvedha

In Jsp page, on selecting a table name, I need to display all columns associated with the table in a drpdownlist with checkboxes.can anyone plz provide code for that?.

Member Avatar for pritaeas
0
97
Member Avatar for kamalvedha

How to load database table names dynamically in a jsp page?.

0
99

The End.