Ashimashi Kabashi

Ranch Hand
+ Follow
since Sep 11, 2006
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ashimashi Kabashi

so just a follow up

does it make a difference if I make my top level class public? or leave it with the default access modifier?

Thank You
what exactly does the phrase "top level class in a package" mean?

Thank you
can anyone mention a good place to host my java website? I am using MySQL backend and Struts, Hibernate etc. (Plus i need to buy a domain name). how would I go about this?>


Thank you
12 years ago
I am trying to get some basic information on how to process credit card transactions on my webpage.
I am familiar with SSL and that fact that I need a merchant account (with Paypal etc).

Afterwards, what exactly do I do? What does my <form action="XXX"> look like?
How will I get the authentication of a succefull transaction?

Thank You
12 years ago
Hi ranchers.

Spring does not tie a controller to a viewResolver. this is evident from the following:


Does this mean one can only mention one instance of a viewResolver implementation at a time? (i.e. have a ResourceBundleViewResolver for Controller A and InternalViewResolver for controller B).

Thank You
its not working ... the form in not being submitted meaning the validation has executed but the error message does not show up.
this is my jsp


This is my validation code
how does one show a validation error messages in spring one uses a jstl/core taglib
for example

now the problem is that my app server throws an exception

so I take that you cant do this <c ut value="${status.errorMessage}" />?
I have a spring controller class and I have set it's success view to a jsp page.
This binds the spring container to show the page mentioned in the success view on a form submit. But I want it to redirect based on some logic (like how struts does it for us with the ability to add multiple forwards for a single ActionClass ).

my controller class is:
didn't know which was the most relevant forum for this question but here goes

I wanted to know where can I find a good java web host. (for jsp, struts, hibernate).
12 years ago
smile face came in the way


no space between : and param
I believe in named queries you use ':column_name' instead of '?'

so instead of
<query name="getSecondProducts"><![CDATA[
from ProductGroup pb where pb.firstProductCode IN (?)]]>
</query>

try
<query name="getSecondProducts"><![CDATA[
from ProductGroup pb where pb.firstProductCode IN ( aram)]]>
</query>
I am getting an exception

can anyone hint to what I might be doing wrong?