valueChangeListener ignored inside a subview

4461 byte By faedera at 2007-11-27 9:38:49
Hi all !I am curently working on a quiet complex website using jsf. So far, everything has been well but , as it was just the beginning, I coded without thinking too much.So, I have a web page which uses tabs for navigation. At first I coded everything in the same jsp file. I have a ...

Hyperlink

411 byte By jotnartaa at 2007-11-27 9:39:07
Hi AllI have a small servlet that displays some data from database, at the end of the page, i have a hyperlink, I want this hyperlink to go to a jsp page, how could i do this please?for example:This is inside the servlet, and i want it to move to page myJsp.jsp, <a ...

Calling from an EJB into a JSF Backing Bean

4269 byte By AJYa at 2007-11-27 9:39:20
Hello all,I'm looking for some help in making calls from an EJB into a Backing Bean (the converse is fairly straightforward). My basic question is: what is regarded as the best way to do this? However, for anybody who's interested, I'll describe what I've been trying...Here's my situation ...

what is the differece between Apache htttp web server and tomcat

129 byte By manu_ama at 2007-11-27 9:39:25
Hi friends, what is the difference between Apache htttp web server and apache tomcat.Can i run php in tomcat

httpservletrequest in jsf

556 byte By Sunneke31a at 2007-11-27 9:39:48
i have an application in jsf from a previous college.now i have to implement security in it. it would be easy to do it in struts for me, but in this jsf application i'm totally lost.i see no httpservlet object in the application.i need to do getRemoteUser.but where does it fits in the ...

Can not resolve symbol getServletContext()

329 byte By Damodar_Reddya at 2007-11-27 9:39:53
Hi,While I am compiling my application, I am getting an error sayingCan not resolve Symbol : getServletContext() in HttpSessionThis application is already compiled successfully by others previously.Can any one help me in resolving the above issue. Thanks in AdvanceDamodar Reddy ...

Hibernate & JSF page

640 byte By xyzta at 2007-11-27 9:40:25
Hello,I want to learn about Hibernate and I read this tutorial to learn something: http://www.netbeans.org/kb/articles/hibernate-javaee.htmlI installed hibernate as understood in the tutorial. then I created entity classes using Netbeans. after that I created jsf pages for these entity classes ...

Access a manage bean through other bean/validator

446 byte By George_.Smitha at 2007-11-27 9:40:35
Hello I want to access a session managed bean from a Validator i created.I did added that to my faces-config.xml : ...

getting JSF webapp context (facelets)

160 byte By jamesclintona at 2007-11-27 9:40:37
Is there something like the following...<c:url value="/someUrl/someFile.css"/>....in JSF in order to get the webapp context in HREFs?

file splitter won't accept some text files

5701 byte By uremoga at 2007-11-27 9:40:38
sorry, this is in the wrong place is there any way i can move it to general programming?i'm making a file splitter to split large text files into smaller parts. so far everything works as far as test files that i make, however, sometimes when i copy and paste text off the internet, for ...

content management.

232 byte By aschandra2704a at 2007-11-27 9:40:40
Hello,i would like to know how to generate/create a webpage using dynamic user input. just like a site builder. WYSWYG would be excellent option, i believe. can anyone help me with that. mail me at asirishc@yahoo.co.in

Filtering for URL

1847 byte By sreenivaspallaua at 2007-11-27 9:40:41
I have written a code to check the Vulnerability character in url but ,when i am clicking the links , all link are redirect into error Page ,even itsallowed character ..any changes i want to Please help on this ,,,,Thanks in Advance public abstract class RedirectFilter implements Filter { ...

JSP server

312 byte By DJ_Kata at 2007-11-27 9:40:42
Hi i was wondering if there is a easy way to install a JSP webserver like xampp does with PHP. installing apache tomcat is kinda frusterating.What I am basicly looking for is an installer for windows or linux that will install everything i will need to run my JSP pages and maybe even mysql for ...

ImageServlet dirctory problem (Jakarta Image Taglib)

844 byte By paul@cumonian.coma at 2007-11-27 9:41:22
Aloha @ all,I got a tiny problem with the Jakarta Image Taglib. While it's working all correctly on my local tomcat setup (windows pc), it simply won't run on my server (Linux - Debian Fedora Core 6), even though both Java-version and Tomcat Version are identical. The taglib does create the ...

selectOneMenu valueChangeListener with onchange=

1297 byte By paul@sdna at 2007-11-27 9:41:23
Can anyone provide some insight into what I'm getting when using both valueChangeListener with onchange="submit()"? Both are needed in my app to cause a form change when a selectOneMenu item is selected.After the page is initially loaded and making a menu selection, the selected menu item does ...

search using JSP

458 byte By muditvaidyaa at 2007-11-27 9:41:31
Hello,I have a combo box within which i have given 2 options namely select by faculty name and other one select by department. Next to the combo box is a text field where the admin will enter the name of the faculty or the department. What i want is to execute a query based on the option is ...

struts, mapping.findForward() wont lauch jsp file

6051 byte By lnthai2002a at 2007-11-27 9:41:46
Hi,I have configured my app as follow:$CATALINA_HOME/conf/server.xml<Host name="localhost" appBase="webapps"unpackWARs="true" autoDeploy="true"xmlValidation="false" xmlNamespaceAware="false"><Context path="/Core1" docBase="Core1" debug="5" reloadable="true" ...

How to handle Idempotency issue...with doPost()... ?

81 byte By Shebua at 2007-11-27 9:41:51
How to handle idempotency issue of methods like doPost ... in servlets.. ?

Q: Site navigation, redirect and PRG Pattern

584 byte By Troilusa at 2007-11-27 9:42:15
Hi,today I read an article about the PRG Pattern and after that I tried "F5" on every page of my webproject. I found out that I have issues if I log out an user and try to refresh the page. The problem is that the "F5" tries to reload the old user-page (but the user already logged out). Does ...

how do i pass values from inputs on my JSP to my java class?

305 byte By dreamzeroa at 2007-11-27 9:42:48
hi, im creating a simple web application adding user or save user to my database now i would to get the values that are being input to my JSP and retrieve to my Java Class and by the use of SQL clause i will now insert to my database can you explain me how or an example as my references thanx ...

using hyperlink to pass parameter

2053 byte By rameshra at 2007-11-27 9:43:13
Hi everyone,pls someone try to help me to solve this problem.We are designing an application that will let the users download the files from the webpage in which each file internally has a fileid. Now based on that fileid some updations must be done in the database.The file is dispalyed to the ...

How to retain request parameter values.......

794 byte By chahalkhushwindera at 2007-11-27 9:43:27
Hi AllI am not able to find the solution of the following problem :I have to buttons on a jsp page, one is working as back button and other is working as a next button, According to their name , when we click on these buttons they are retrieving records from the database(by sending new request ...

getting a problem with an servlet execution

2722 byte By hanimichi@sun.javaa at 2007-11-27 9:43:49
hi i created an servlet under eclipse and i got an error message.The archive: /CATALINA_HOME/bin/bootstrap.jar which is referenced by the classpath, does not exist.i configure web.xml like that. <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, ...

getting url parameter through javascript

212 byte By ali_hammada at 2007-11-27 9:43:50
i want to access a url parameter from javascript .. how can i do it.for example: url= abc.jsp?param=1i want to get the value of param in javascriptYour help will be greatly appreciated

Where to put keys(Struts)?

262 byte By javaExceptiona at 2007-11-27 9:43:59
If I can't use resource files like ApplicationResources.properties and I need to set two keys:button.add=Add Recordbutton.delete=Delete RecordCan this be done in some other file, like in the JSP page or struts-config.xml?/Matt

Binding attribute

108 byte By Gagan_Sabharwala at 2007-11-27 9:44:01
Can somebody please explain me the significance of binding property.Please illustrate with an example

please solve this error HTTP-500 internal error

1983 byte By sreedhar.vlsi@gmail.coma at 2007-11-27 9:44:19
hi, i am using tomcat 5.0 while running the jsp i am getting the internal error as follows.HTTP Status 500 - --type Exception reportmessage description The server encountered an internal error () that prevented it from fulfilling this request.exception javax.servlet.ServletException: Wrapper ...

JavaScript Inside JSF

161 byte By eng_abdelhaleema at 2007-11-27 9:44:31
i want to add javascript Calendar inside JSF , can any one give me advice about where to get it and how i embed it inside JSF ?Thanks for everybody

Related JSPs

664 byte By Raaj_Rock_n_Rulesa at 2007-11-27 9:44:48
hello allI have created a web application and it contains a jsp named abc.jsp.I am calling a java program myjava.java from within abc.jsp.Now myjava.java class extends another class extended.java.This extended.java class is inside a jar file named myjar.jar.The abc.jsp is compiled fine but at ...

Tomcat specific question (JSP not refreshing)

565 byte By d11wtqa at 2007-11-27 9:44:49
I've been working with Tomcat for the past 4 days without any problems but for some reason today, there's one particular JSP file it's just refusing to see changes for :( I've cleared my browser cache, removed everything from the 'work' directory, double checked the file, deleted the file ...

Need a best practice for showing a list with different objects in it.

600 byte By Cogos.dk_Olea at 2007-11-27 9:44:55
Hello.From my database layer I get a list with objects that all extend the same super object but every object in the list could be different. I need the jsf page to show each object in its own way depending on what type of class it is.First I thought of coding the whole thing in the object it ...

use of <jsp-file> in web.xml

150 byte By sunvenkata at 2007-11-27 9:45:00
hellocan anybody explain about , when we need <jsp-file> in web.xmland why we use this tag in place of <url-pattern>?

javascript+setting anchor href

617 byte By ali_hammada at 2007-11-27 9:45:07
i've tried every thing but this doesnt work<aonclick="javascript:changeLang(this)" >function changeLang(obj){obj.href="changeLang.jsp?lang=2";}in this article... http://www.devx.com/tips/Tip/5498.. . some one tells to use href="javascript:changeLang(this) instead of ...

Message box contains three buttons "Yes" "No" and "Cancel"

206 byte By 2569a at 2007-11-27 9:45:37
Hai,I want to include one pop up message box in a jsp page which contains three buttons "Yes" "No" and "Cancel" . Is it possible to do the same using javascript ?Thanking u ,Kris

How can i include java script within java servlets

1414 byte By muthu2007a at 2007-11-27 9:45:39
Hi guysI had one doubtwhether we had write java script with in servletsI just write this code but it will not work?Any one can solve the problempublic void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {StringBuffer ...

Iterating through an ArrayList of HashMaps?

157 byte By joebassila at 2007-11-27 9:45:44
Hi All, I'm wondering if someone could provide me with an example of how to iterate through an ArrayList of HashMaps using JSTL? Thanks

balusc I need your help

2878 byte By rameshra at 2007-11-27 9:46:04
Pls dont mistake me for calling your name directly in my posting since I need helpNow I am using AJAX to pass the parametersbelow is the code that i am using to download a file using a hyperlink<tr><td><a href="<%=totaldisplayfileName%>" ...

Creating datatable through backing bean

612 byte By navneet.chauhana at 2007-11-27 9:46:06
I am working on a creating components such as HtmlOutputLabel and so on through the backing bean. I add the HtmlOutputLabel to a panel grid in the bean. Then I create an object of UIComponent in the bean an assign it to the panel grid. In the jsp i write<h:panelGrid id="panelgridtest21" ...

how to store file path name in database

175 byte By senthil_yogaa at 2007-11-27 9:46:16
Dear everyone,how can i store the the file into folder and the file path in the MySql databasereally urgent...any one please give ur suggestions...

JSP 2 <sql tag>

1177 byte By MatthewWeilera at 2007-11-27 9:46:35
I need help linking to my mySQL DB through the web.xml file.Currently I am using this code in each JSP:<sql:setDataSource var="myconn" url="jdbc:mysql://localhost/drinksDB" user="USERNAME" password="PASSWORD" driver="com.mysql.jdbc.Driver" />How can I add the reference into my web.xml ...

Custom HandleNavigation

1815 byte By bhomiaa at 2007-11-27 9:46:40
Hi,I am new to JSF and i have one requirement which needs to be fulfilled. Here is the scenario:Whenever a user submits a URL, i want to follow my custom navigation handling mechanism (This mechanism is based on Spring WebFlow). For which I have a xml which states how the flow should ...

resize the drop down list in jsp

56 byte By RaviKumar.Avulaa at 2007-11-27 9:46:50
can any one tell how to resize the drop down list

Render a JSP page into HTML in a String

995 byte By icordobaa at 2007-11-27 9:47:08
I am using a mail template system that gets templates as JSP pages placed in /WEB-INF/mailtemplates/I want to internally parse JSPs as if they were real JSPs in my tomcat but:- Get get them using getResourceAsStream (or any other way)- make JSP engine translate JSP into HTML into a String ...

how to display some contents under a link on same page

185 byte By KY8a at 2007-11-27 9:47:11
I have a webpage of links on the top. When I click on a link, I want to display the content of what the link references under the link on the same page. How can I do this in JSF?

java.lang.ClassNotFoundException: com.ncr.teradata.TeraDriver

746 byte By ASH_2007a at 2007-11-27 9:47:23
Could someone help me with this error as soon as possible.I am trying it from last 2 days,but can't solve it.I tried intiliazing driver,but didn't work.Driver driver = null;try{driver = (Driver)Class.forName(applicationproperties.getProperty("TD_T4_DRIVER")).newInstance();}even if I try w/o ...

rendered attribute and actions

320 byte By johnpeeba at 2007-11-27 9:47:47
If a component has rendered set to false, can it still perform an action? In other words, if I have a button which does something which I don't render for unauthenticated users, is there any way they will be able to save the html to disk, and modify the various form elements to perform that ...

Can anyone help me get these JSP pages to work?

7575 byte By Nogravitia at 2007-11-27 9:47:50
Hello All,I am trying to learn about Beans in Java, after creating a two JSP pages and a "User" bean. When I try to run the first JSP page (handoff1.jsp), I keep receiving this error in Tomcat(see below).org.apache.jasper.JasperException: Unable to compile class for JSPAn error occurred at ...

javabean in jsp

2115 byte By secmaska at 2007-11-27 9:47:54
hi all, i have i small javabean like this : package web; public class Student { private String name; private int birth; public Student() { name= "hahiho"; birth = 1900; } public String getName(){ return name; } public int getBirth(){ return birth; } public void setName(String name){ this.name = ...

Howto skip Form validation for a Reload

3919 byte By zzza at 2007-11-27 9:47:57
Hi,we have a simple page where i can edit my applications users.The users are listet by a datatable and every row holds a radiobutton with the users id. After clicking on one of this buttons the selected users data should be loaded into my form. All worked well ... until i introduced validation ...

include html content in jsp

405 byte By bregotya at 2007-11-27 9:48:05
Hi , I have the html data and need to include in the jsp .eg :String htmldata = " <html><body>testdata </body></html>"; how can i display this htmldata in the jsp . I mean I need this data in html format ( testdata ) and should not see all html tags in the ...