aspose file tools*
The moose likes Other Application Frameworks and the fly likes can we use struts tag in spring frame work? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "can we use struts tag in spring frame work?" Watch "can we use struts tag in spring frame work?" New topic
Author

can we use struts tag in spring frame work?

Kaleeswaran Karuppasamy
Ranch Hand

Joined: Jul 19, 2007
Posts: 154
our next project we planned to implement spring framework.before that i have few question
1.what is the difference between application framework and web framework?
why you point application ( standalone program support or business logic support)
2.can we use struts tag library inside spring?


Judge a man by his questions rather than his answers --Voltaire
SCJP 1.5 97%
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

2.can we use struts tag library inside spring?

Yes, if you use Struts as your MVC framework.

I leave number 1 to others


[My Blog]
All roads lead to JavaRanch
sakthi kams
Greenhorn

Joined: May 02, 2008
Posts: 3
Hi, Even i'm having the same type of problem. I'm using struts tag in my jsp and i'm trying to load message resources thro'Spring's ApplicationContext. But i'm ended with the error message

<b>Cannot find message resources under key resources.Title</b>

<u>Here is the entry from <b>applicationContext<b></u>
<bean id="messageSource" class="org.springframework.context.support.ResourceBundleMessageSource">
<property name="basenames">
<list>
<value>resources.images</value>
<value>resources.Title</value>
</list>
</property>
</bean>


<u>Here is the code snippet from <b>JSP page<b></u>

<bean:message key="title.company" bundle="resources.Title" />

Can i use like these or not? Your suggestions or ideas will be greatly appreciated.

Thanks,KAMS
 
wood burning stoves
 
subject: can we use struts tag in spring frame work?