Hey guys,
I'm building a web application that will also have the restful end points.
I am wondering what is the best standard for building an app like that.
Do I just deploy the whole app as a...
Type: Posts; User: Goll97; Keyword(s):
Hey guys,
I'm building a web application that will also have the restful end points.
I am wondering what is the best standard for building an app like that.
Do I just deploy the whole app as a...
this looks good but, here is a problem as per other post: caching of the redirect view
this is regarding you last comment, construction your own redirect parameters. Unless this is already fixed.
...
I was looking for the same answer couple weeks back...and now I have them in the HBM files. I like this solution because it lets me have multiple files with different queries for different area of...
thanks for the reply, I found a way of doing it (I might use what you did in different scenario)
1) I auto wire the application context
@Autowired
private ApplicationContext context;
2)...
Hey guys, I am hoping this is a simple question.
I'm trying to access my message.properties file, but i don't know how to do it when using annotations in my controller?
Thanks.
ahh I don't konw what i was thinking.............
all i have to do is sync my service layer method. That should do the trick.
Hi guys,
I am using Struts/Hibernate/Spring
Is this possible??
I need to create about 600 rows in a table.
The primary key has a database sequence to generate ID's.
How would I go about...
This might do the trick.
What i am trying to do is:
Create a log, so that on every insert, update or delete i will be able to log the actions in a database. What i need to log is the values...
Hello there, I found couple post, but nothing that solved my problem.
I am trying to create a database logger. for that i need to get the column name for the mapping that i have in my hibernate...
hey there, good to hear you got it working, i couldn't get back to sooner.
can you give me more details on the error??
can you also paste the java options line.
let check if you are doing every thing ok
did you include the following jar in you libs:
aspectjweaver.jar
I have in my tomcat server lib folder
did you add the following to your jvm...
The other option that I know is compiling classes using aspectj, but seems like you are relaying on yet on another framework you know? Is there another way??
Example would be great,
thank you
i got it working
woo hoo,
I had to spend few minutes to get Load-Time Weaving working with Tomcat.
what i did is I modified my Catalina file, added the following line to java option
...
wow great support guys,
thanks a lot
must be problem with the weaving, i am trying it, i will let you know what my results are once i got it working
I am tyring to inject an object using aop, this is what i have, i know i am missing something, please help
object
@Configurable("user")
public class UserObject {
private TestClassI...
Thanks,
That worked
public class EMailList extends AbstractFactoryBean{
/** Creates a new instance of EMailList */
public EMailList() {
}
Hi there,
I am creating list using util:list :
<util:list id="emails">
<value>pechorin@hero.org</value>
<value>raskolnikov@slums.org</value>
...
Thanks for the reply
that was the exact reason why i use session scoped bean, so the logging bean would be independent of the httpsession.
Now the question is do I use that bean in my web layer...
Hello there,
Question about session scoped bean, is it good idea to use spring session scoped beans in jsp as i would use normal session objects??
I usualy create a user object to hold...
Thanks for the reply,
Referring to the link;
I used both recipes 2 and 3 in my applications that were using struts.
I had similar implementation to recipe 1 when I was using JSF, I used...
Hi guys
I created few apps using Struts/JSF - spring - hibernate.
When using JSF I used conextawre class to locate my service beans in my backing beans.
When using Struts I used a plug-in that...
Thank you for the example
I figured out the problem. I just had one of those days.
for some reason i was thinking that the bean would get created when the session was created, ( also had some...
Hi guys I am having trouble with the session bean.
I have an app that is composed of Struts/Spring/Hibernate
I have most of it done, over the last week I migrated to spring 2.0.
I thought i can...
All i had to do is lock it
getHibernateTemplate().lock(t, LockMode.NONE);
thanks all
Hello guys,
Here is what i am doing:
I have a 3 tire architecture.
jsf - spring - hibernate
I use transaction manger to manage my data.
First thing I do is I load list of objects in to a...