3,760 Topics

Member Avatar for
Member Avatar for katyanni_27

The following code is a part of my project and the output of this code is that i get all the title of the posts in the database and a delete hyperlink in front of all enteries now when i click delete for a respective title it should be deleted …

Member Avatar for kvprajapati
0
597
Member Avatar for Muralidharan.E

I am new for struts framework. Now i am in need of learning struts2 with ajax(dojo) which i need to implement in forthcoming project work. So anybody can you please provide me or direct me by giving correct website link where i can learn struts2 with ajax(using dojo library). I …

0
60
Member Avatar for ceyesuma

Hello I have created a multi tabbed JDesktopPane that will load 5 different configurations depending on the profile of the user logged in that has dozens of forms And dozens of interactive JInternalFrames, JList, JTables, JTrees and a complete unique file system that is created for each new user sorted …

0
65
Member Avatar for raviaaaa

I am new to Struts I have jsp file combined with servlet and jsp(jsp tags) i need to separate them according to struts 1.0 standards Please tell me the way i can do or give me some tutorials or examples Please tell me wqat need to separe and how here …

Member Avatar for Taywin
0
216
Member Avatar for Pravinrasal

i want to convert Convert english language to hindi or vice versa in jsp or servlet please help me

Member Avatar for kvprajapati
0
93
Member Avatar for kunal_00731

Hi , I am facing a strange issue and google could not help me either here. So now, i need your advices my friends. I have a file called hello.jsp, the contents are : [B][CODE][/B]<?xml version="1.0" encoding="ISO-8859-1" ?> <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 …

0
52
Member Avatar for MMadhavi

I want to connect the mysql database in netbeans IDE 7.0 but I dont know how to do this. plz plz provide me any idea about this as soon as possible.

Member Avatar for anand01
0
68
Member Avatar for jackisback13

I am trying to deploy a simple struts application using jsp and am getting the following error when i try to deploy [ICODE] HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Exception in …

Member Avatar for jackisback13
0
358
Member Avatar for anand01

Hi all I need to send form data to email .. Can any one share some sample code .. Thanks in advance

Member Avatar for anand01
0
79
Member Avatar for Mufleeh

Hi all, I am in process of creating a simple polling system. I am using text files to store data. My question at this point is that I will be having a id number in a given .txt file. I want to compare this number with what user input at …

0
46
Member Avatar for Muralidharan.E

I am new for struts framework. using eclipse i want to create small web application with struts2 framework. All struts lib jar files(common-logging,freemarker,ognl,struts2-core,xwork-core) i have included web-inf lib directory. And exactly i have followed this [URL="http://viralpatel.net/blogs/2009/12/tutorial-create-struts-2-application-eclipse-example.html"]link [/URL]procedure to practice. but i am getting HTTP status 404 error. please give me …

Member Avatar for Muralidharan.E
0
83
Member Avatar for debasree

Class.forName(“com.ibm.db2.jcc.DB2Driver”); getConnection Connecton connecton=DriverManager.getConnection(“(“jdbc:db2://x.x.x.x:x/WT”, “x”);“x”, “x”); PreparedStatement ps=connection.prepepareStatement(sql); // sql: //ja//java.Stringva.lang.String Need Help..

Member Avatar for javaAddict
0
35
Member Avatar for manish250

Hi all I am calling a function from my servlet but getting following exception SEVERE: Servlet.service() for servlet In_Servlet threw exception javax.servlet.ServletException: Servlet execution threw an exception at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:313) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445) at …

Member Avatar for javaAddict
0
227
Member Avatar for alpa shah
Member Avatar for Ezzaral
0
96
Member Avatar for babbu

Is is possible to create excel file with multiple workseets using response.setContentType.?

Member Avatar for masijade
0
69
Member Avatar for mith_cool

I simply want to forward a request of one servlet to another servlet. Authentication Servlet gets a request from a jsp page and thus authenctication servlet passes the request to another Addtocart servlet. AuthenticationServlet Code: [CODE] RequestDispatcher rd= request.getRequestDispatcher("/Addtocart"); rd.forward(request, response); response.sendRedirect("Addtocart"); [/CODE] Addtocart servlet code: [CODE] String pid = …

Member Avatar for Rameshwar Soni
0
119
Member Avatar for client_jd

I am working on an online bus ticket booking project in jsp/servlet... using tomcat6 and mysql in netbeans... now i know i have done some really foolish and ancient coding .. but please help me in getting this done ... i am actually stuck in this session thing... look below …

0
68
Member Avatar for tayabshah

Hi all, I am new in JSP coding. I am designing an example form to submit call the other jsp code. Where i am using jsp:useBean tag. But it does work in eclipse ant. regards, Syed Tayab Shah

0
49
Member Avatar for VitiumExMachina

Hey guys, I'm having a problem with uploading files to a remote server. I just want the visitor to be able to upload a file, and have it go into the uploads directory of my website. My website root is "C:\tomcat\webapps\ROOT", and the uploads directory is at "C:\tomcat\webapps\ROOT\uploads". Both "upload.html" …

Member Avatar for luddite
0
197
Member Avatar for dharma117

[B]Hifriends,[/B] I want to create registeration page with file uploading by use of servlet and jsp

Member Avatar for anand01
0
69
Member Avatar for pooran.c

why do have to import org.apache.struts.validator.[U]DynaValidatorForm[/U]? mainly what is the use of DynaValidatorForm.

0
77
Member Avatar for kostas_213

I have a table called [COLOR="Red"]school[/COLOR] and a table called [COLOR="red"]students[/COLOR]. I have a foreign key in [COLOR="red"]students[/COLOR] called [COLOR="Green"]school_id[/COLOR] which is connected with table [COLOR="Red"]school[/COLOR] , field [COLOR="Green"]id[/COLOR]. I made a form where field **[COLOR="green"]title[/COLOR]** appears to the registration form of the [COLOR="Red"]student[/COLOR]. The problem is that i want …

Member Avatar for anand01
0
148
Member Avatar for luddite

I have a log in page for users, which if the login name is valid takes user name and puts it into a session.setAttribute(“user”, String); the user then gets redirected a userspage.jsp. At that page I can get the “user” using : <% getAttribute = (String)session.getAttribute("user"); %> the user is …

Member Avatar for luddite
0
153
Member Avatar for Alex_

The project (JSF 2.0.6!) executes fine, some pages load with no problem, others don't. This is the full stack trace. If there is any code needed, ask for. org.apache.el.parser.ParseException: Encountered " "}" "} "" at line 1, column 9. Was expecting: <IDENTIFIER> ... at org.apache.el.parser.ELParser.generateParseException(ELParser.java:2215) at org.apache.el.parser.ELParser.jj_consume_token(ELParser.java:2097) at org.apache.el.parser.ELParser.DotSuffix(ELParser.java:1064) at …

Member Avatar for Alex_
0
509
Member Avatar for durrat

my form have more than one submit button and i want a particular sql query to execute when a particular submit button is clicked.im using jsp to code and mysql database.can anyone pls guide me.

Member Avatar for peter_budo
0
72
Member Avatar for SagarSe7en

Hey Guys im newby to Java! Help Needed! Please Help Needed! This is How it Goes! DAO.java [CODE] private BookRecordViews populateBookObject (ResultSet Results) throws ClassNotFoundException , SQLException { int BookID = Integer.parseInt(Results.getString("BookID")); String BookName = Results.getString("BookName"); String DateOfArrival = Results.getString("DateOfArrival"); String DateOfPublish = Results.getString("DateOfPublish"); String AuthorName = Results.getString("AuthorName"); int StudentID …

Member Avatar for SagarSe7en
0
3K
Member Avatar for sat123stud

i m wrking on a inventory mgmt system and the requirement is when user logs in all the expired medicines will be displayed

Member Avatar for anand01
0
29
Member Avatar for deba0011

Sir, I am not getting any fault in my code but the code is not executing with the demands which I have. I just want to register 2 values into the database using jsp , if the username is present in the database it will show User already exist otherwise …

Member Avatar for peter_budo
0
99
Member Avatar for kimpham

Hi All, I have the function as window.onbeforeunload = alertChanges; and I only want to execute this only if the session is not time out. So if the session is time out I want to skip this call. Any idea? Thanks in advance, KP

Member Avatar for qiaolevip
0
34
Member Avatar for anand01

Hi all, I need to access mysql db from multiple servlet i,e need to insert the value from one servlet and retrieve from another servlet.i passed the connection variables through web.xml file. i need to get those variables from both the servlets to connect the db again.how to achieve that …

Member Avatar for anand01
0
146

The End.