This week's book giveaways are in the iOS and Features new in Java 8 forums. We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line! See this thread and this one for details.
Sometimes there is no need for struts, like, when processing a request with no forms(so no user input data), what would be the best choice for handling such requests? At lease, I sopouse using sevlet to prepare the java beans and then pass the request to corresponding jsp is the bottom line. But, any other idea? Thanks a lot.
I still think is makes sense to use Struts and Action classes instead of writing servlets. You can configure your action to not use an ActionForm and if no real processing logic needs to be performed then you can use one of the build in Action classes (such as ForwardAction).
I agree with Brent. I frequently create JSPs in my applications that don't have any Struts tags in them. However, I still havigate to these pages via a Struts Action. My feeling is that if you're going to write a Struts application, it's best to use Struts for all navigation in the site.