Can any body tell me which plugins I have to use in eclipse to compile and rum the jsp files.I have been searching for it in the net from quit a while. Cound not get any result.- Achyuth
Hi,Can anybody suggest me a mini project (if possible with spec) which involves servlet, jsps, etc., I want to learn these topic.Please do help me.Thanks & Regards,Nasrin.N
Hi,I am not able to pass a scriplet as a parameter using <html:link> where the same is working in <a href>?For eg,<html:link href='#' onclick='doSubmit("doCreateEmpRecord", "<%=empId%>")> create </html:link>Not working where it is working for <a href> ...
Hi ,Is there any plugin for Jsp Tag check to see whether it has been properly closed or not? Which will save enomorous time. Where it is very difficult to debug JSP? Is there any debugger of sort for Jsp's?Thanks,--JavaCrazyLover--
Hi there,Could someone tell me what could have happened to my case.I have this exception when my application written in php calling jasper report in which the run time report compilation and execution were done by tomcat servlet. I have my application run fine so far except the ...
What would the "transfer object" look like If I have a List of objects and each object has its properties? Do I have a HashSet in my transfer object?To clarify my question, let me give an example. Say, I have a store and I sell music CDs. Each CD has composer, title, and price as its ...
3232 byte By
winedza at 2007-11-27 6:50:44
Here's my codepublic static void main(String args[]){try{String strTo = "myemail addr";String Msg = "123123123";Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());Properties props = new Properties();props.put("mail.smtp.host", "smtp.gmail.com");props.put("mail.smtp.auth", ...
Hi,I found the attribut rowGroupStyle in tomahawk but I don't know how to use it. Are there any examples in the web? Is it possible just to group the first 3 rows for example?
414 byte By
msk20a at 2007-11-27 6:50:56
Hello,our JSF-App is called from different Web-Sites with some parameters in the URL. We evalute these parameters to add some special stylesheets and set some default-values in our applicationlogic.When the user click on a "logout"-commandLink, we call session.invalidate().and redirect to the ...
1997 byte By
vAaka at 2007-11-27 6:51:01
Hi,I'm currently trying to get to know Java EE and thus playing around a little. But off course this means some trouble can happen along the road...I created an EJB called TitleCheckerBean with a local interface TitleCheckerLocal which I can use without problems in a servlet like this:public ...
Dear all one of question to get data from resultset , for example in i have some data in database , the data type like this , product : a 1a 2b 1b 3 how i the idea of method i can display that result in my jsp <td rowspan="4" align="center" bgcolor="#FFFF99" style="padding-left: 6px; ...
Hello there people! I am assuming a project that uses jsf 1.1, after some mess with IDE and build methods, the project started to complaign about the regular html in the page, for example saying that the div element is not closing and that there is no opening div element. It turns out that the ...
Hello all, this is my first message to the forums, and I'm posting here because I have run into a problem developing my first Java based web app.I would like to have data that is submitted be written to a file.To do so I have the JSP page access its corresponding JavaBean. One of the methods ...
Hello all, this is my first message to the forums, and I'm posting here because I have run into a problem developing my first Java based web app.I would like to have data that is submitted be written to a file.To do so I have the JSP page access its corresponding JavaBean. One of the methods ...
Could somebody tell me which books to read about website personalization? I have css, jsps, java, and javascript files for creating a website. I have Eclipse. I know that somebody already know how to personalize a website. So, I would like to know where to get information. I personally like ...
156 byte By
Doga at 2007-11-27 6:53:26
Hello Guies...I want to use some java script on the click of JSF Tab.Any suggestion will be appriciated.... Regard Roshan
314 byte By
jaaya at 2007-11-27 6:54:14
If we can get ServletContext object in our servlet using getServletContext() then what is the need for getting it using the ServletConfig object i.e byusing config.getServletContext() where config refers to the ServletConfig object.Are these methods there just for convinience ...
I want to do more with my <h:messages/> I need some help because i'm not comming up with anything real creative here..Here is the example; <h:messages layout="table"/> <h:form id="register"><div id="wrapper" class="clearfix" ><div id="maincol" ><h:panelGrid ...
507 byte By
winedza at 2007-11-27 6:54:21
HiI used this code to write a new file on my pcFileWriter fstream = new FileWriter("a.txt"); BufferedWriter out = new BufferedWriter(fstream);afer i deploy my jsp on the web hosting, this code does not work.. cannot find the file specified (Permission denied) was the exception if I'm not ...
166 byte By
jaaya at 2007-11-27 6:54:27
I am using IE but am getting following while printing headers. Why?Name: user-agentValue: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
What is the use of listener in Servlet?What is a null interface and why are they used?What is a singleton class? Why are they used? How can we implement it in Java?A program which counts words of a sentence, count it and display the result on the screen.What is difference between HTML and ...
What is the use of listener in Servlet?What is a null interface and why are they used?What is a singleton class? Why are they used? How can we implement it in Java?A program which counts words of a sentence, count it and display the result on the screen.What is difference between HTML and ...
[nobr]My jsp page doent get session value, its returning null as value.here i placed my code...please help me to solve it.// I st page<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="errorPage.jsp" %><%@ page language="java" %> ...
658 byte By
tinnya at 2007-11-27 6:54:45
HelloI have a bit of a noob question regarding Stateful sessions beans.I am wanting to know if there is a way that I can share an instance of a session bean between multiple HttpServlet instances?I am sending XML messages from a mobile J2ME application, there will be several http POST's made ...
152 byte By
rakeshva at 2007-11-27 6:55:03
Is there any efficient way to fetch a message by its UID from a POP3 folder (similar to how it is done in a UIDFolder)?ThanksRakesh
260 byte By
kanana at 2007-11-27 6:55:18
I have a dataTable with the value from List in the BackingBean. The script is printing the list elements, and I want to get the number of each row. I don't have any enumaration in for the records. Can it be done simply? Thanks for answer.
Hi encountering an error, any help will be appreciated.Thanks in advance.error isHTTP Status 500 -type Exception reportmessagedescription The server encountered an internal error () that prevented it from fulfilling this request.exceptionorg.apache.jasper.JasperException: Exception in JSP: ...
1687 byte By
MKostera at 2007-11-27 6:55:35
Hi everyone,I know that this is not a new question, but I still did not find a satisfying answer.Does anyone know a good code generator for creating JavaBeans out of XSD schemas?The output of this tool has to comply with the JavaBeans specification, because we want to map these POJOs to a ...
Hi I am completely new to jsp and I have to develop an application which can submit a query to Google and retrieve the result which I will then modify dynamically before displaying.I've looked at the AJAX library but you results are limited to 10 and I need more than that.Can some one tell me ...
hi everyone i am new to using netbeans. i want to use tomcat that comes along with it. but i just don't know how to make sttings to make my servlets compile (e.g.how to import HttpServlet class in netbeans)and do other settings that may be required to use it. please guide.
HiI am facing a problem. I have a checkbox in my jsp page and 3 submit button. The two button works w r t check box and its woking fine. I am getting problem with the 3rd button. I want to fwd to next page once the button is clicked. For the check box i am using the methodpublic String ...
my doget methodprotected void doGet(HttpServletRequest request, HttpServletResponse response)throws ServletException, IOException {response.setContentType("application/jar");InputStream inp = getServletContext().getResourceAsStream("/pciutil.jar");int read =0;byte[] bt = new ...
880 byte By
Mutyaa at 2007-11-27 6:56:06
I am doing some support work for an existing web system. When doing single user access (a custom tag is called within the JSP); the output of the Custom tag is fine. However, during multiple user access to the JSP, as I could see on the log files, 2 users access the custom tag at exactly the ...
Hello:I'm having a tiny problem here, perhaps you have more experience and can help me. I have a drop-down list that must show several options IF a condition has been met. The problem is that I still cannot make it work perfectly. Below is the code:<!-- (...) --><% String allDir[] = ...
1097 byte By
noobboya at 2007-11-27 6:56:46
Hi all, I need help on how to encrypt the client's password and verify it. I will receive a post request from the client. Then I need to encrypt the client's password to MD5 format and the encrypted password need to be verify by the servlet before the client is able to login. I do not have a ...
Hello everyone!I am trying to learn how to develop enterprise applications with EJB 3 + STRUTS 2 + glassfish (and eclipse).I wanted to have a very simple application (helloworld like) but i am having problems with the EAR package configuration and how to access my bean from my web ...
817 byte By
sagmana at 2007-11-27 6:57:08
Hi all,I am confused about EJB dep. injection with web clients - maybe someone could shed some light on this please?1. In the JEE 5 tutorial, the sample Converter App, the web client uses InitialContext.lookup to get references to the Converter EJB.2. In the same tutorial, the sample DukesBank ...
hi,iam new to JPA, and I am wondering is JPA sit on top of Hibernate or Toplink? I heard something like JPA with hibernated implementation or JPA with toplink implimentation? What difference do I get with different implementation? Or can I have JPA alone?thanks
557 byte By
cs_jsfa at 2007-11-27 6:57:53
Hi,I am trying to get a selectone menu working.I need to set the "selected" value into a beans variable and the options in the select box are in the form of a list ...<h:selectOneMenu value="#{UserBean.treePath}"><f:selectItems ...
315 byte By
nandasa at 2007-11-27 6:58:03
hello , iam developing a maintaining a addressbook in mailing system.there i used checkboxces for each entry and each entry having a edit link,but the problem is for each of the entry in addressbook it is giving the final entry values defaultly,it is not giving the corresponding entry values ...
Hi,In my jsp I import the beans from my dispatcher class. I use Strings all the time and it works fine and als Vectors. Now I need some beans from the type Integer and I get an error in my jsp page.Here's a piece of my code: <%@ include file="/general/header.jsp" %><jsp:useBean ...
Hi, I have a jsp page that retrieves data from mySQL database and displays them all together through a servlet. The problem is that when the data are too many, e.g. hundreds or thousands, the page grows too big. I want to display them like ten in the first page, ten in the second page and so ...
576 byte By
nextBITa at 2007-11-27 6:59:36
Hello,I'm new to Java and JSP, and need to add a image file web browser like the one in PhotoShop to an existing JSP app. This is the file browser window should show a preview of the image, and also display some information(size, pixels, format, ect) I have tried to find a tag that can do this ...
1096 byte By
Kam_Hona at 2007-11-27 6:59:46
dear all,i will start my new project soon and will use jsf as front end.i'm doing some research on jsf, and i found that icefaces & quipukit provide a set of rich ui which aresuit for my project requirement.but my problem is icefaces crush with quipukit.my senario as belowi put ...
Hi all,How can i populate the values to combo-boxes and access the same values in my query ...pls help?
92 byte By
Suri.ya at 2007-11-27 7:00:01
What is the functionality of <f:view> tag. I am learning JSF now please help me
hi all,i m new to servlets...can you please tell me why we always need to extend httpServlet while implementing servlet.I mean we can have our own methods and variables to implement we we need to ...then why to always extend?kindly rever back...thank in ...
340 byte By
veveua at 2007-11-27 7:00:13
Did anybody try to create using JavaServerFaces, a checkBox and a textBox, and when the checkBox is unchecked the textbox should disable immediatly?I've tried and it works fine in mozilla but in IE the checkbox doesn't disable immediatly, just after a second click on the page. Does anybody ...
897 byte By
joeccha at 2007-11-27 7:00:20
I have created a Message-Driven Bean application to receive message from a MQ. In fact, I anitcipate the application will receive around 10,000 messages a day and it has to do some operations like formatting data and conversion. If it process the message sequentially (one by one). It may take ...
1301 byte By
Ichybana at 2007-11-27 7:00:24
I am placing in session an object from an action class like this request.getSession().setAttribute("currentBean",orderInfoModel.getDetails()); and i use it into a jsp page to print some informations. The page name is called orders.jsp where i use the object: <jsp:useBean id = "currentBean" ...