12 Topics

Member Avatar for
Member Avatar for shivakr

hi... i am shiva i learned strut2 and i would like to develop a web application so anybody suggest me a design or some type of thought about the application.. i would like to test my struts skills on it.. so suggest me any idea for developing wep application..plz i …

Member Avatar for happygeek
0
188
Member Avatar for Narayanan.Sagit

Hello, I am facing an issue in struts 1.2 This code is in my JSP file. I am using multi select option. Initially the values will be populated to the multi select box from database through LabelValueBean. While I select one or more options and click submit, the values are …

Member Avatar for Narayanan.Sagit
0
173
Member Avatar for boykaa

since three days I try to insert many record in DB , I m using struts 2 and hibernate 3.I have 3 tables: 1 Evaluationglobale (id_eval ,label) 2 SousEval(id_eval ,SousItem_ID), 3 SousItems(SousItem_ID,label) my issue is how to insert many record in table SousEval when using the last insert id_eval in …

0
143
Member Avatar for rmad17

<%@ page contentType="text/html; charset=UTF-8" %> <%@ taglib prefix="s" uri="/struts-tags" %> <html> <head> <title>Hello World</title> </head> <body> Hello World, <s:property value="name"/> </body> </html> I tried this code from an online tutorial. However eclipse says 'Can not find the tag library descriptor for "/struts-tags"' in line 2. Do I need to set …

Member Avatar for rmad17
0
268
Member Avatar for Narayanan87

Hi all, I want to restrict users directly accessing the html and pdf files(as URL) from my application server. When an user requests for this content, it should ask for login credentials. Please share your ideas for this. My application has LoginFilter and so I added <url-pattern>*.pdf</url-pattern> in the web.xml. …

Member Avatar for Banderson
0
129
Member Avatar for chandub

hi every one. I have form and in that that form some of fields values are taken from request object . and am validating fields values using struts validate() method. once i submit form if any error in fields validate method will throws error but the request object content is …

Member Avatar for radhakrishna.p
0
128
Member Avatar for javalover

Hi frnds, I am developing a struts2 project, I do require how to multiply to variable using struts tag ... I tried with this code below, <s:set var="total" value="var1" /> <s:set var="tot" value="%{var2 * #attr.total}"></s:set> <s:property value="%{'' + #attr.total}"/> AM getting the output as 0.0 .. Please any help ...

Member Avatar for LastMitch
0
123
Member Avatar for mullangi13

Hi Friends, I am developing one application using Struts1.3+Spring2.5+Hibernate3.6 to do practice. In this application I am using Spring AOP transactions, but transaction is not working for me. Please check my code snippets and help me. web.xml ======= in addition to general entries, I have added the following code as …

0
144
Member Avatar for divsok

How can I write document.write() functions inside a struts form. Although I give the id of each element in a javascript file, above js functions always write outside of the form. I need to add a line above of the s:textarea which is come from the javascript. How can I …

Member Avatar for Airshow
0
238
Member Avatar for sagar2dumbre

i am developing a web app using .jsp , servlets and access as a database..i want to do it using struts framework..so can anyone tell me best book available for struts beginners ? i will prefer "struts 1"..as many books are available for this version.

Member Avatar for stultuske
0
110
Member Avatar for daudiam

[CODE]@Local public interface EJBA{ // declares a method 'validate' } @Stateless public class EJBABean implements EJBA{ // implements the method 'validate' } class Model{ @EJB private EJBA ejbA; public void doSomething(){ ejbA.validate(); } } [/CODE] Now, if I do the following from the execute method of a Struts 1.2 action …

0
103
Member Avatar for Pravinrasal

i create small application in struts but it give me following error : SEVERE: Servlet.service() for servlet jsp threw exception java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491) at org.apache.struts.util.MessageResources.<clinit>(MessageResources.java:57) at org.apache.struts.taglib.html.FormTag.<clinit>(FormTag.java:93) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.apache.jasper.runtime.TagHandlerPool.get(TagHandlerPool.java:126) at org.apache.jsp.Index_jsp._jspx_meth_html_005fform_005f0(Index_jsp.java:109) at org.apache.jsp.Index_jsp._jspService(Index_jsp.java:87) at …

0
115

The End.