Hi,
In my Form.jsp page I have a simple checkbox.
I need to send selected results to CategoryResult servlet.
I can do that but in the browser the name of the servlet is automatically appended to the address as follow:
http://localhost:8080/Rss/CategoryResult
I know that this is executed by
Hi Rafal,
If that the case, i think you should consider taking the JAVA online class
conducted by Sang Shin. Thats what i can think of
bpassion
2011/2/10 Rafał Laczek rafal_lac...@wp.pl
Hi,
Yes. I think that it should be done also in web.xml but I don't know
exactly how.
Regards,
Hi,
So far I was working in Wicket and JSP and servlets are not my stron side :)
I have index.jsp and also CreareRssServlet.
Index is a welcome page. Here the user will log-ing.
When the project is opened the address in browser is:
http://localhost:8080/RssProject
Now I need to be redirected to
Hi,
Thanks.
I will check in later on.
regards,
Rafal
Dnia 8-02-2011 o godz. 6:20 bambang passion napisał(a):
hi,pls. check on http error 303 or 304. it is occurred at client side and 304 means : not modified, it is just a message.do check thoroughly the possible outputs for your getDateHeader,i
...@wp.plSubject: [java ee programming] How to redirect from JSP to ServletTo: "Java EE Programming with Passion!" java-ee-j2ee-programming-with-passion@googlegroups.comCc: "Java EE Programming with Passion!" java-ee-j2ee-programming-with-passion@googlegroups.comReceived: Wednesday, Febru
Hi,
I need to add to my RSS the categories menu where the user can add
subscriptions.
It can by in the form as in enclosed picture or in other form.
Thanks
Regards,
Rafal
--
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion!
Hi,
I am not sure about yours, normally you should forward to a jsp page or
in your case, a defined servlet name : CreareRssServlet which i think
should be incorporated in your web.xml UNLESS you have web framework
in your system.
bpassion
2011/2/9 Rafał Laczek rafal_lac...@wp.pl
Hi,
Hi,
Yes. Now it works. But I have the other small problem.
In my servlet I want to send date of last modification and when I refresh the browser to get back this date.
In response I try to send the date and in request to get this date.
Unfortunately in response I get -1
Please look for following
Hi,
In my servlet I want to send date of last modification and when I
refresh the browser to get back this date.
In response I try to send the date and in request to get this date.
Unfortunately in response I get -1
Please look for following code:
response.setDateHeader(Last-Modified,
Hi,
The result of createRss.getTimestamp_long() is date in long format of last modification of my feed in RSS. This is the date when new message has been
registered.
I try to display 303 error when there is no changes.
Please have a look for my present code. I know that there is here something
hi,
sorry i dont understand what you want, may be you could elaborate more?
by the way, what is the result of createRss.getTimestamp_long() ?
also check what are the required attributes for response.setDateHeader() ?
b.l
2011/2/7 Rafał Laczek rafal_lac...@wp.pl
Hi,
Yes. Now it works. But
hi,
pls. check on http error 303 or 304. it is occurred at client side and 304
means : not modified, it is just a message.
do check thoroughly the possible outputs for your getDateHeader,
i think the output will be an http message not DATE.
b.l
2011/2/7 Rafał Laczek rafal_lac...@wp.pl
Hi,
HI,
you need to define the : ConnectionFactory and TOPIC
b.l
2011/2/3 Rafał Laczek rafal_lac...@wp.pl
Hi,
Can somebody help me to get Message using following code.
Thanks
Rafal
try{
Properties props = new Properties();
props.setProperty(Context.INITIAL_CONTEXT_FACTORY,
Hi,
mr. google provide us lots of samples like :
http://www.java-examples.com/simple-java-calendar-example
good luck !
b.l
On Sun, Jan 16, 2011 at 6:33 AM, Evgeniy Pol. yone...@gmail.com wrote:
Hi everyone,
Anyone know the calendars ,to choose a date, for java ee pages?
Thanks..
hi, you need to change the content type to multipart/form-data
b.l
On Fri, Feb 4, 2011 at 6:45 PM, vinay basavanal vins1...@gmail.com wrote:
HI all,
I am trying to upload an excel sheet and read it.I am using apache commons
file upload and apache poi to read excel.
This is my jsp
%@
Hey
Use *enctype=multipart/form-data *in form tag
example as follows
html:form styleId=conhtmlform action=/entrepreneurSupport.do
*enctype=multipart/form-data
*disabled=%=formDisableFlag%
Warm regards
Kunal Raikar
P *SAVE PAPER* - *Please consider our environment before printing *ü
On
Hi Colleagues,
For my RSS project I need to take Message from Active MQ.
Whole action is executed in Servlet.
In Servlet I can open and close session. It works.
The servlet has also overrive method onMessage(Message argMsg).
My problem is that I don't know how to use onMessage() to get
:37 PM
To: java-ee-j2ee-programming-with-passion@googlegroups.com
Subject: [java ee programming] how can i refresh the page when I press back in
browser??
Hi everyone!!
description of problem:
in the bigining browser load the jsp page with data.
then user goes to another my page, then some data
Hi ,
I try to display in Servlet feed title but I get the exception.
I use here Roma library.
Can somebody advise me what Im doing wrong.
public void doGet
(HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException{
res.setContentType("text/html;charset=UTF-8");
Hi,
I have solved problem. I had to use different solution.
public void
doGet (HttpServletRequest req, HttpServletResponse response)
throws
ServletException, IOException{
response.setContentType(
"text/html;charset=UTF-8"
);
PrintWriter out = response.getWriter();
//Writer out
Hi all
When trying to deploy Filter for servlet advance lab exercise 1
(LAB-4005) I get the following exception
Checking on google I think it is an issue with netbeans and tomcat. I
am using glashfish v3 and latest netbeans 6.9.1
Can anyone help with this?
WARNING: StandardWrapperValve[default]:
Hi everyone!!
description of problem:
in the bigining browser load the jsp page with data.
then user goes to another my page, then some data from the first page are
changed,
and when the user press BACK button in the browser the browser bring the
first page with original data.
the problem is: the
Hi,
I try to create RSS fedd as Servlet (Web project). Can maybe somebody
help me.
Below in doGet() I have code which works fine in main method in my other
non-web project.
I must create RSS web project.
Pls. help
Regards,
Rafal
public class WebFeedServlet extends HttpServlet{
Hi,
I have a sample HelloWord servlet. I have also created web.xml
I have a problem to display it in the browser.
I use NeatBeans.
I don't want to have any jsp in this sample project. All htlm is in
servlet.
Can you help
BR
Rafal
--
You received this message because you are subscribed to the
Hi,
Finally I have used Eclipse and created simple servlet and created web.xml as follow:
?xml version="1.0" encoding="UTF-8"?
web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Hi,
Just code : response.out(htmlbodyptest/p/body/html) ;
will do.
b.l
2011/2/1 Rafał Laczek rafal_lac...@wp.pl
Hi,
I have a sample HelloWord servlet. I have also created web.xml
I have a problem to display it in the browser.
I use NeatBeans.
I don't want to have any jsp in this sample
Hi,
may be you need to check your jdom library i guess.
rgds
b.l
2011/1/27 Rafał Laczek rafal_lac...@wp.pl
Hi Colleagues,
I create RSS feed. When I execute the main class I receive following
exception:
in thread main java.lang.NoClassDefFoundError: org/jdom/JDOMException
at
Hi,
I have added jdom.jar and it little bit helped but now I have following exception.
Can you help.
java.lang.IllegalArgumentException: Invalid feed type [rss=2.0]
at com.sun.syndication.feed.synd.SyndFeedImpl.createWireFeed(SyndFeedImpl.java:227)
at
Hi,
The problem is solved. It was small mistake from my side in syntax.
I should use String feedType = "rss_2.0" instead of String feedType = "rss=2.0";
Thank you colleagues for all advices!
Regards,
Rafal
Dnia 27-01-2011 o godz. 22:40 Rafał Laczek napisał(a):
Hi,
I have added jdom.jar
pls chk out your mapping, it's not correct.
servlet
display-nameWeb Feed/display-name
!-- servlet-nameWeb Feed/servlet-name --
* servlet-nameWebFeedServlet/servlet-name*
servlet-classno.backend.webfeed.web.WebFeedServlet/servlet-class
load-on-startup 1
Hi,
The problem wasin syntax in rss=2.0
Should be rss_2.0
Regards,
Rafal
Dnia 29-01-2011 o godz. 11:43 bambang passion napisał(a):
Hi,may be you need to check the argument : output.output(feed, writer); WHAT SHOULD BE THE INPUT TO BE FED TO :SyndFeedOutputrgdsbl
2011/1/28 Rafał Laczek
Hi Colleagues,
I create RSS feed. When I execute the main class I receive following exception:
in thread "main" java.lang.NoClassDefFoundError: org/jdom/JDOMException
at com.sun.syndication.io.SyndFeedOutput.init(SyndFeedOutput.java:44)
at
Just to let you know 4011_netbeans_webapp2.zip is now updated with
NetBeans 6.9.1.
Thanks.
-Sang Shin
--
---
Sang Shin, sangshinpass...@gmail.com
Founder and Chief Instructor of JavaPassion.com
Folks,
Sorry for being late on updating the dates on the class website. The
dates are now
updated reflecting current session's schedule. Thanks.
-Sang Shin
P.S.: By the way, the early registration discount for the EJB
3.0/JPA/Spring/Hibernate/Java EE 6
is ending on Jan. 31st.
--
Hi,
Bellow I send my web.xml.
I create war file and then I deploy it in Tomcat. The file is deployed
and I can see it in webapps folder but I can t see it at the main
list/menu.
Can somebody advise me.
Regards,
Rafal
version=1.0 encoding=UTF-8?
web-app id=WebApp_ID version=2.4
Hi,
Hope you are doing well. This is Dipin (di...@abacuscs.com ) from Abacus
Management consultancy services. Please review my Urgent Client
requirement below. ::Please respond back at di...@abacuscs.com::
Position: UI Developer With E-Commerce .
Location: Woonsocket, RI.
Duration: 6-8 Months
Hi Colleagues,
I create war file using Maven. Than this file is deployed in Tomcat.
Finally I can find war file in webapps of Tomcat but I can see nothing
at Applications in Tomcat menu.
Below there are my web.xml and POM.xml.
Can you maybe help.
Regards,
Rafal
Web.xml
web-app
Hi Coleagues,
I'm new in RSS feed technology. In educational purposes I must create
sensible RSS project with java class/classes and xml.
Can you maybe advise me how to start it or maybe I could any sample
(maybe any links etc.)
Thanks
Regards,
Rafal
--
You received this message because
Goto the Following Links
http://www.roseindia.net/software-tutorials/detail/13250
--
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
Hi everyone,
Anyone know the calendars ,to choose a date, for java ee pages?
Thanks..
--
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
You can check Pentaho reports Its open source...
On Jan 13, 10:33 pm, Evgeniy Pol. yone...@gmail.com wrote:
*Hi everyone.
Anyone know some nice graphics reporting for JAVA EE??
Thanks for answers..*
--
You received this message because you are subscribed to the Google
Groups Java
I am trying to ModelDriven in struts 2 but its not working
CustomerFormBeanis not filled with values i tried many techiques but
i cant get it fixed. It would be really helpful if any one fix this
thanks in advance. The following is the sample of my code
public class
*Hi everyone.
Anyone know some nice graphics reporting for JAVA EE??
Thanks for answers..*
--
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
Hi everyone.
I need some help PLease.
my page when I run with eclipse works perfect,
but when i publish my page on the server
I have this message.
Not Found The requested URL /myservlet was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an
you are sure you depolied right?
On Wed, Jan 12, 2011 at 3:42 AM,
java-ee-j2ee-programming-with-passion+nore...@googlegroups.comjava-ee-j2ee-programming-with-passion%2bnore...@googlegroups.com
wrote:
Today's Topic Summary
Group:
Hi All,
I am new to the Java world and was going through the first webapplication
exercise after installing the net-beans. Upon creating the first
webapplication, I am getting following issues with the newt-beans.
1) Resolve reference Problem:
junit library could not be found and junit_4
Hello Everyone,
While executing the JAX-WS programs I am getting a
versioning error.
*You are running on JDK6 which comes with JAX-WS 2.1
API, but this tool requires JAX-WS 2.2 API. Use the endorsed standards
override mechanism (
Hi all
Wish you a Very Happy New Year 2011
--
మీ,
శివ కలిదిండి
--
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To
HI. I am looking for a way to obtain a portion of html data.
And I have done in other languages such as Ruby and JavaScript, now I
want to do it with Java.
Is there any function or something that works like innerHTML in
JavaScript?
I wrote up to...
//--
URL
If you don't have some ajax FW dropped in your project, like ICEFaces or
similar stuff, you could try implementing it with some jQuery check
I would for sure absolutely drop the idea of loading the user list array
inside the page... You don't know how much that user list could grow, and
it's
That's a very general Query.
You can check user availability on two events.On value change of the
text box, or after the user has completed the name and submitted the
info. Better go for the later as 'Do' might not be available but
'Doe' would be. To check availability, you will have to see if the
Hi, everyone! I need some help..
o the user registration page, the user must type his nickname, and password
The Question is: How can I check user availability and password wickness
while he typing his nickname. ???
And I using Java Persistence to acces MyDB.
--
You received this message
you can try to find this in some frameworks. Eg. In PRIMEFACES.
Evgeniy Pol. yone...@gmail.com napisał:
Hi, everyone! I need some help..
o the user registration page, the user must type his nickname, and
password
The Question is: How can I check user availability and password
wickness
while
You have many solutions, just to mention two of them:
1- Load the user nicknames from the database in a string array [Don't worry,
it will not take a space as you think] and then lookup into them using
javascript function with onkeypress event handler. but this is the poor
solution
2- The good
use NotifyAll() method.
Regards,
Sunil
On Sat, Dec 11, 2010 at 8:46 PM, anthony anthonysvalen...@gmail.com wrote:
I am trying to send a notify to an available Thread (first Thread i
can find in a pool currently in a WAITING state), but am unable to. I
am trying to send the notify alert to a
On Wed, Dec 8, 2010 at 7:18 AM, Rammohan Vadlamani rmmo...@gmail.comwrote:
Hello everyone,
In the struts lab 4207_strutsexamples home work we are
supposed to edit the struts-example project. I have tried to understand the
flow of the program and make the changes
I am trying to send a notify to an available Thread (first Thread i
can find in a pool currently in a WAITING state), but am unable to. I
am trying to send the notify alert to a thread running in a separate
class, although this class is included in the same package. Here is
the Server.java file
-with-passion@googlegroups.com;
rameshcharyko...@gmail.com; mearajah...@gmail.com; harshani perera; Ramesh A
Subject: Re: [java ee programming] Servlet Error
Please check if the values are present in the database I.e. table -tbllogin
Next, please use a while loop,remove if stmt..
PLEASE GIVE
Hi all,
I need help to understand the connection in jsp bookstore
1) why in bookstore1 the connection use b protected synchronized/
b but in example 5 there isn't any protected synchronized
2) if I have class call DBConnection , and my dbo is in a separate
java class how can I call the
Hi Colleagues,
I have HashMap.
I have also method getAttrib() which returns 2 strings (key, value).
I must in any way divide these data and get key and value in 2 separate
strings (for example lists).
In my application I must display them in to seperate columns.
I look for in internet but can't
Hi,
Actually, getAttrib() will return a Map, not only 2 strings(key, value).
But with the code that you gave it here, you can do like this:
TestHashMap thm = new TestHashMap();
thm.addAttrib(1, test1);
thm.addAttrib(2, test2);
MapString, String m =
Hi,
It's because in Java, for top-level classes(not inner/nested class) you can
have for classes only default or public access level, so if you already have
a public class in your file, you cannot declare another public class.
Regards,
Georgiana
On Fri, Nov 26, 2010 at 8:42 AM, SantoshJ
operation
}
Enjoy programming
Chil
--- On Thu, 12/2/10, Georgiana Filote georg...@gmail.com wrote:
From: Georgiana Filote georg...@gmail.com
Subject: Re: [java ee programming] can not able to give access specifer to
class declaration
To: santoshbjag...@gmail.com
Cc: Java EE (J2EE) Programming
Did you put your .dlls into your */windows/system32* directory?
Ali Ekber.
2010/12/1 Seyed Mahmood Hosseini web@gmail.com
Hello
Using DLL in Java
I have a working sample program on how to use DLL in java with JNI. I
use to be properly implemented:
/* Test.java */
public class Test {
There is a good tutorial about spring + struts2 + jpa + ajax
http://struts.apache.org/2.0.14/docs/struts-2-spring-2-jpa-ajax.html
but using eclipse instead.
I prefer eclipse too.
On Sun, Nov 28, 2010 at 8:42 PM, ignacio giagante igiaga...@gmail.comwrote:
Unbelieve!! It must active the
Hi,
I have just solved the problem.
The project have some subprojects. Commend mvn eclipse:eclipse must be
done at each project.
Regards,
Rafal
Dnia 30-11-2010 o godz. 13:22 Rafał Laczek rafal_lac...@wp.pl
napisał(a):
Hi Colleagues,
I have imported Maven project from SVN.
Unfortunately
Hello
Using DLL in Java
I have a working sample program on how to use DLL in java with JNI. I
use to be properly implemented:
/* Test.java */
public class Test {
/*Load the dll that exports functions callable from java*/
static {System.loadLibrary(TestImp);} /* Name Of DLL :
TestImp.dll */
Unbelieve!! It must active the plugin of any framewrok which you wish use.
And then, the option appear.
2010/11/28 ignacio giagante igiaga...@gmail.com
HI,
I ve just downloaded the last version of netbens with 266Mb and look at
this! I don't have the fourth step to choose the framework
Struts 1.3.8 is the most basix j2ee framework i've used and i would pefer
you to use eclpise as it has more support and easy to configure.
On 28 Nov 2010 10:08, ignacio giagante igiaga...@gmail.com wrote:
Hi,
I was trying to start with the practice of struts and when I try to create a
new web
Hello,
İ have a real time system in production environment and i would like to
persist its logs in database.Approximately there will be 5 million records
each day.What is the best way to do this without affecting the system and db
performance too bad.
can you suggest me some document or opinion..
Hi Rammohan
I had also faced problems in understanding struts, I am slowly
and consistently learning it. I have prepared some notes for my
reference. I have copied almost all of it from manning pubisheser
Struts in Action). My notes is as follow
#
Struts explanation
Struts
I'm normally a PHPMySQL Developper, but I wanted to try JBoss.
I tried to find the solution on the internet, but no ...
1. I installed JBoss 5.1.0 on my ubuntu 10.10 following the guide
http://thewiki4opentech.org/index.php/How_to_install_JBoss_AS_in_CentOS_/_RedHat_/_Fedora(but
translated to
Thanks Antonio
Your Tip helped me
it is from the action.xml
!-- Edit user registration --
actionpath=/editRegistration
actionClass=org.apache.struts.webapp.example.EditRegistrationAction
formAttribute=registrationForm
Hi
I am trying to understand the struts examples on
4207_strutsexamples .
I am working on Exercise 2: Build and run struts-example sample
application
In index.jsp , there is code like this
h3bean:message key=index.heading//h3
ul
lihtml:link
-j2ee-programming-with-passion@googlegroups.com
Sent: Thu, 18 November, 2010 7:14:45 PM
Subject: Re: [java ee programming] fop.getDefaultHandler());
Hi Chil-Hoan,
Thank you very much for your detailed response.
My problem was with fop jar. I have updated it. Now I create PDF but it is
empty...
I
Hi Colleagues,
I have added all missing jars.
Now I receive communicate as follow:
log4j:WARN No appenders could be found for logger (org.apache.fop.util.ContentHandlerFactoryRegistry).
log4j:WARN Please initialize the log4j system properly.
mpUt is
Error
I/O error reported by XML parser
Hi,
Can sobmbody advise me please why by fop.getDefaultHandler()) I get error: The method getDefaultHandler() is undefined for the type Fop.
Thanks for help!
Regards,
Rafal
private
static void createReceiptPDF() throws IOException, TransformerFactoryConfigurationError, FileNotFoundException,
xml and fo:XSL.
This will give you some idea how to write in Java.
Good Luck
Chil
--- On Thu, 11/18/10, Rafał Laczek rafal_lac...@wp.pl wrote:
From: Rafał Laczek rafal_lac...@wp.pl
Subject: [java ee programming] fop.getDefaultHandler());
To: Java EE (J2EE) Programming with Passion!
java
using xml and fo:XSL.
This will give you some idea how to write in Java.
Good Luck
Chil
--- On Thu, 11/18/10, Rafał Laczek rafal_lac...@wp.pl wrote:
From: Rafał Laczek rafal_lac...@wp.plSubject: [java ee programming] fop.getDefaultHandler());To: "Java EE (J2EE) Programming with Passion!"
Hi Colleagues,
I have some code from internet and I try to adopt it to my requirements.
Im new in transforming xml into PDF. I decided to use FOP.
I would like to ask you to verify this code.
In this code I have following problems:
1. I get
ArrayIndexOutOFBoundsException. My comment
Hi Rafal,
you can have a look on Apache FOP (http://xmlgraphics.apache.org/
fop/).
Also consider Jasper Reports (http://jasperforge.org/projects/
jasperreports), I remember it should be able to use XML as Data
Source.
Ciao
Gianni
On Nov 15, 9:34 am, Rafał Laczek rafal_lac...@wp.pl wrote:
Hi
Hi Colleagues,
I need to learn how to generate PDF files from xml.
Can you advise me please any sensible learning materials.
Thanks in advance for your help!
Regards,
Rafal
--
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion!
Saji,
Could you give the name of the lab, not a link to it (because it goes
simply to the home web page).
Michèle Garoche
On Nov 2, 7:01 am, Saji jjk.s...@gmail.com wrote:
Hi
I am going through the work assignment /tutorials
athttp://www.javapassion.com/portal/java-ee-programming-basics
See here:
http://groups.google.com/group/java-ee-j2ee-programming-with-passion/browse_thread/thread/d62e64d4deda7e3a/9f22cc2952ba3d8a?hl=en_US#9f22cc2952ba3d8a
I give a method to get the applet clock running, though it may not
work on your system.
As explained in the thread if it does not work
Hi
I am going through the work assignment /tutorials at
http://www.javapassion.com/portal/java-ee-programming-basics-i-with-passion/java-ee-programming-with-passion#JDBC
When I run GetParamMetaData.java I am getting this error
java.sql.SQLException: Parameter metadata not available
Hi,
Who else considers that the Lessons should be ordered a bit
different?
I am referring to actually 2 lessons: Struts Sample Application and
Struts Validation Framework. Struts Validation Framework should be
in front of Struts Sample Application. The homework for Struts
Sample Application can
Hi All,
HashMap allows one key as null but Hashtable does not allow any of the keys
to be null.
Now if HashMap allows a one key to be null then *Which bucket does a null
key map to?*
*
*
*Also please tell me in which scenarios one would like to place a null key
in HashMap?*
*Thanks*,
-Nirmal
Hi Alexander
Do you have any sample code???
2010/10/28 Alexander Jose Sanchez Niño alez...@gmail.com
yes is posible, you cand do it with swfupload. and is very simple.
2010/10/27 Kunal Raikar kunal...@gmail.com
Hi
I want to upload file on server without clicking on submit
yes i have, i found in internet and works so well
El 29 de octubre de 2010 03:21, Kunal Raikar kunal...@gmail.com escribió:
Hi Alexander
Do you have any sample code???
2010/10/28 Alexander Jose Sanchez Niño alez...@gmail.com
yes is posible, you cand do it with swfupload. and is very
Hi Mahesh
Can you give me some sample code???
Regards
Kunal Raikar
On Thu, Oct 28, 2010 at 10:38 AM, Mahesh Kapure mahesh.kap...@gmail.comwrote:
simple way...
get the hidden form in ur page in some iframe and put the file input
(hidden) by javascript and then submit that
Hi
When I am running JDBCSamples_mysql I have notices only one table
is created ie COFFEES. This is because only CreateCoffees.java
is executed.
Can any one guide me, How only CreateCoffees.java is
run when the project is run
thanks
Joseph John
--
You received this message
Re: Homework for Struts Basics
I want to have a special error page (.jsp) in addition to the
indexpassionname.jsp and indexnopassionname.jsp. So my controller
HelloAction needs to figure out when to forward the request to the
error page. Right now I'm doing something like this in
On 28 oct, 07:45, Saji jjk.s...@gmail.com wrote:
Hi Michele
Thanks for the reply
My doubt was that why CreateCoffees.java only runs when I run the
project, How is it decided that CreateCoffees.java only should run
I have done the necessary changes for the con parameter for all
other
Hi,
I have a small application which needs integration of .Net DLL file
with my Java class. Basically there is a payment gateway that is
already developed in the .Net technology and has few exposed DLL
files that provides access to the other API. I am looking for a help
that shows , How we can
i am using jsf 2.0 mojarra implementation with tomcat 6.0 and richfacess
4.0. I have imported the required dependencies and the namespace i use is
xmlns:rich=http://richfaces.org/rich;
but the richfaces components do not get displayed on the browser and the
following is displayed
*Warning: This
Hi All,
Can anyone explain the following Method Overriding Rules in Java:
The access level *cannot be more restrictive* than the overridden method's
access level.
However the access level *can be less restrictive* than the overridden
method's access level.
The overridden method should not throw
See the code explains.
public class A {
protected void test() throws Exception
{
System.out.println(in A);
}
}
public class B extends A
{
public void test() throws IOException
{
System.out.println(in B);
}
}
As pre
class Parent{
public void methodA(){
}
}
class Child{
private void methodA(){ //private method not possible so The
access level *cannot be more restrictive* than the overridden method's
access level.
}
}
class Parent{
public void methodA() throws IOException{
}
}
class Child{
Hi, All.
Here is the sequence of java access levels:
public-protected-default-private
As public is the strongest so child's method can only be public. And
it can throw only IOException or its subclasses or nothing at all.
import java.io.IOException;
class Farther{
public void
Hi there,
I need to create a SSO token to let clients applications access
content files over a link
But to generate the token I need to have an HttpServletRequest, how
can I do it??
Thanks
--
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming
201 - 300 of 2517 matches
Mail list logo