Eclipse plugin for Jsp

207 byte By achyuthba at 2007-11-27 6:50:12
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

mini project with spec

211 byte By nasrin.na at 2007-11-27 6:50:14
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

<hrml:link> does not accept scriplets?

448 byte By AnanthJavaa at 2007-11-27 6:50:15
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> ...

Is there any plugin for JSP tag check?

260 byte By AnanthJavaa at 2007-11-27 6:50:16
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--

Fail to open jasper report

7618 byte By Kawablancaa at 2007-11-27 6:50:17
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 Trasfer Object Look Like if I Have a List of Objects?

2235 byte By jiapei_jena at 2007-11-27 6:50:18
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 ...

javamail work with gmail but not with my new hosting

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", ...

How to group rows?

190 byte By CH.Sanixa at 2007-11-27 6:50:46
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?

Saving request-parameters after session.invalidate() for new session?

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 ...

ejb access

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 ...

A question for resultset to get data in <td>

1001 byte By roger5089a at 2007-11-27 6:51:05
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; ...

How to proper use the verbatim tag.

1663 byte By notivagoa at 2007-11-27 6:52:29
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 ...

Writing to a file

710 byte By mon.goosea at 2007-11-27 6:52:47
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 ...

Writing to a file help

850 byte By mon.goosea at 2007-11-27 6:52:48
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 ...

How to personalize a website?

404 byte By TechGirla at 2007-11-27 6:53:23
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 ...

How to use java script on click of JSF TAB

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

Getting ServeltContext object in different ways

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 ...

Doing more with <h:messages/>

2979 byte By skepticala at 2007-11-27 6:54:16
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 ...

Create new file on web server

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 ...

Using IE but getting Mozilla/4.0 in user-agent header

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)

Practical Interviews Question

909 byte By kris4nirua at 2007-11-27 6:54:28
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 ...

Emergency Pls do help ...........................

909 byte By kris4nirua at 2007-11-27 6:54:30
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 ...

Can't get values from Session--Please help me...

3294 byte By MeenaMahalingama at 2007-11-27 6:54:43
[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" %> ...

EJB 3.0 Stateful session bean shared between Servlet's

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 ...

Fetch message by UID POP3

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

How the get the current dataTable row

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.

Internal server error

2837 byte By dcosta_haloa at 2007-11-27 6:55:22
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: ...

JavaBeans code generation from XSD

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 ...

JSP & Google - submitting a query & getting results

465 byte By BruceFana at 2007-11-27 6:55:36
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 ...

netbeans and tomcat

288 byte By rajitoora at 2007-11-27 6:55:42
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.

problem with forwarding to new page in jsf

495 byte By RishabGuptaa at 2007-11-27 6:55:44
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 ...

unable to run code

2041 byte By rajitoora at 2007-11-27 6:56:01
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 ...

JSP Custom tag not working correctly for multiple users

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 ...

dynamic drop-down box, option, conditional statement

1466 byte By tofuwithcoffeea at 2007-11-27 6:56:33
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[] = ...

Help needed on how to encryption password and verify it?

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 ...

Need help with simple EAR application (EJB 3 + STRUTS 2 + Glassfish)

5837 byte By Lemmericha at 2007-11-27 6:57:00
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 ...

Null EJB reference injdected in web client

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 ...

JPA alone?

282 byte By james_027a at 2007-11-27 6:57:20
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

Help with SelectOneMenu and SelectItems

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 ...

how to use checkbox in jsp

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 ...

The value for the useBean class attribute java.lang.Integer is invalid

1533 byte By jposthuma at 2007-11-27 6:59:10
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 ...

displaying data

349 byte By andscanda at 2007-11-27 6:59:18
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 ...

Image File Browser

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 ...

can not use icefaces & quipukit together?

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 ...

How to populate values to combo-box?

117 byte By ragvittala at 2007-11-27 6:59:47
Hi all,How can i populate the values to combo-boxes and access the same values in my query ...pls help?

<f:view>

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

basic servlet question

304 byte By lil_gayua at 2007-11-27 7:00:06
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 ...

JSF jsValueChangeListener with checkbox

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 ...

Improve performance for MDB

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 ...

Can someone help me with this problem?

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" ...