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 ...
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 ...
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 ...
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
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 ...
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 ...
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 ...
Hello I want to access a session managed bean from a Validator i created.I did added that to my faces-config.xml : ...
Is there something like the following...<c:url value="/someUrl/someFile.css"/>....in JSF in order to get the webapp context in HREFs?
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 ...
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
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 { ...
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 ...
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 ...
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 ...
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 ...
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" ...
81 byte By
Shebua at 2007-11-27 9:41:51
How to handle idempotency issue of methods like doPost ... in servlets.. ?
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 ...
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 ...
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 ...
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 ...
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, ...
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
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
Can somebody please explain me the significance of binding property.Please illustrate with an example
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 ...
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
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 ...
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 ...
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 ...
hellocan anybody explain about , when we need <jsp-file> in web.xmland why we use this tag in place of <url-pattern>?
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 ...
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
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 ...
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
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%>" ...
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" ...
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...
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 ...
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 ...
can any one tell how to resize the drop down list
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 ...
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?
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 ...
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 ...
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 ...
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 = ...
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 ...
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 ...