Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

can we use struts tag in spring frame work?

 
Kaleeswaran Karuppusamy
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
2.can we use struts tag library inside spring?

Yes, if you use Struts as your MVC framework.

I leave number 1 to others
 
sakthi kams
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic