Struts Section Index | Page 4
Any examples(in books, links, articles et al) providing usage of ejbs with struts out there? I know it is possible and would be a good arch..but have not seen a single example to-date using the two.
An example using ejbs with struts
Any examples(in books, links, articles et al) providing usage of ejbs with struts out there? I know it is possible and would be a good arch..but have not seen a s...more
Dynamic values for hidden fields
Dynamic values for hidden fields
I'm trying to set the values of hidden fields dynamicly, eg:
<form:hidden property="employeeName" value="<%= employeeBean.getName() %>" />
I get compi...more
Is it possible in the struts-config.xml to configure action mappings for simple JSP<->Servlets relations. a.k.a I have pages that don't make use of any form thus they don't need struts ... But I wonder if there is a way to configure simple JSP<->Servlets mapping (WITHOUT actionForm or bean form) - How do you do you guys???
== struts-config.xml: Is it possible to ... ==
Hi
Is it possible in the struts-config.xml to configure action mappings for simple JSP<->Servlets relations. a.k.a I have pages that don't make...more
Use optional forwarding to extend Actions
Many times you will find that two Actions are very similar but need one small behavior to change. One good way to handle this is to subclass one Action from the other and change the ...more
Struts Tip #12 - Use smart forwarding to create menuing systems
One things that has made the World Wide Web so popular is ease of navigation. Any swatch of text on a page can be turned into a hyperlink. The user just needs to point-and-click, and...more
Struts Tip #13 - Use Display* helpers to convert or transform properties
There are many properties in an application that need to rendered in a particular way. The database may store a telephone number as a simple String of numerals, but your business req...more
Action Form getter methods and the user's locale. I posed a question a few days ago that I realize probably was not worded very clearly.
Action Form getter methods and the user's locale
I posed a question a few days ago that I realize probably was not worded very clearly. Zac Jacobson recommended that I resubmit the question and tr...more
Struts Tip #11 - Use smart forwarding to dispatch actions
A key component to the Struts framework is the ActionForward. A deceptively simple object, all the ActionForward does is associate a system path with a logical name. But this object ...more
how can I determine the version of a struts.jar?
how can I determine the version of a struts.jar?
I'm trying to help a customer debug a problem related to his
using struts with WebLogic. I asked what version he is using; instead of telling me, h...more
I get a result set from a query which has id and description, now I have to show the it in select tag some thing like this
<html:options> tag help
Hi,
I get a result set from a query which has id and description, now I have to show the it in select tag some thing like this,
<select name="option">
<op...more
Outputting nested bean properties
Outputting nested bean properties
Dear All,
I am starting out writing a Struts app which is a web version of a client Java app. I have a data type, called Searcher, which represents both the crit...more
Struts Tip #10 - Use Struts JSP Tags to create dynamic JavaScripts
The Struts framework ensures that we can perform data validation without the benefit if JavaScript. But that doesn't mean we can't use JavaScript in our Struts applications. Most web...more
Struts:Calling a Action Class from another Action class
Struts:Calling a Action Class from another Action class
Hi,
I have a situation where I want to forward to a Action class from another Action Class.For Example:When ever user click any link on the ...more
Struts Tip #9 - Use rewrite to reference HTML assets
The Struts <html:rewrite> tag can convert a context-relative URI into a base URI that can be used to access style sheets, JavaScripts, images and other HTML assets. For example...more
Struts Tip #8 - Use result objects to transfer values
Web developers tend to spend a lot of time tinkering with how data is input into an application. This only makes sense -- after all, garbage in, garbage out -- right?
Absolutely! The...more