Hey all!
I was just trying to modify this demo to take input from the index.jsp
via a form.
Now ive gotten it to work somewhat. I mean the index.jsp will send the
data to the servlet but I'm
stuck trying to figure out how to just default the war to bring up the
index.jsp and not the servlet.
Mayb
Hey! has anyone seen these:
http://refcardz.dzone.com/?oid=ban00020-0
I think that they might come in handy sometime.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Java
EE (J2EE) Programming with Passion!" group.
Well okay. I got 'r done. It was so simple that I'm embarrassed about
asking for help. I did have to look at javatutorial
http://java.sun.com/docs/books/tutorial/
to get an idea for Address myaddress which is just a place holder for
a future instance. I will not go into more detail as to
not sp
Hey all,
I can figure out most of this but when it comes to what you might
think as simple java coding technique I'm at a loss. I am referring of
course to how I am to get Address class fields streetNumber,
streetName, zipCode into Address myaddress field. Did I miss something
in the Basic Jav
Hi Craig,
This web app is explained well on the blog:
http://weblogs.java.net/blog/caroljmcdonald/archive/2007/06/sample_applicat.html
which I'm having problems connecting to now.
Maybe it has something to do with usage as I did post some information
about it recently on nbj2ee forum.
You
Hey all,
I found this in the BeanFactory javadocs. I went searching and the
pdf of chapter 4 is downloadable. Here is the link.
http://www.theserverside.com/tt/articles/content/RodJohnsonInterview/JohnsonChapter4.pdf
--~--~-~--~~~---~--~~
You received this mess
Okay! I've tested Beverly's code and found out some things.
Like the CreatePersonServlet.java, DeletePersonServlet needs to find
the data using persistence api.
I used just the Person "id" as in this line: String id = (String)
request.getParameter("id");
So far so good as that code does.
A tra
Hello Beverly,
What I did just to test the deletepersonservlet was use a text input
field in the a deleteperson.jsp
So I know my servlet works. Ruben and I are having fun with this one
trying to get "id" to pass to the delete servlet without using a
manual text input. So far we get it to show u
Hello Vasu,
At first glance, your code needs an input stream now to print from
the file "test.out". Maybe I would rename this to say
"test.data".
Perhaps build another app that does the reading IO Stream to keep
things simple.
For pointers, take a look at the Java Basics course material @
http:/
Well welcome newbie! First off you should have posted on a new thread.
This does not answer Vasu in any way.
73s KB9AGT a real HAM(Harvard Amateur Man) is where HAM radio term
originated.
google me.
Again welcome and I'm sure we all may answer your questions if you
start a new topic please.
On Oc
I was only making a few suggestions for future updates as I saw that
someone did offer to do so. These little things are like the details
we learn as we take these lessons. There is nothing wrong with the way
things are. I was just pointing out some out the differences in
information such as les
Hey all,
I ran the solution for this lab first and out of the box it just
crashed.
Then I ran Samples/Web/Visual JSF/Corporate Travel Center and
everything seemed to work just fine for it.
Don't these both use the same database travel?
At first I could not find this database in glassfish so went
Dear Dr. Sang,
As I go through this course I am constantly referring to the course
main page on the web.
As we are to use the Lab numbers here for reference in our posts, I
would like to see them in the Topics and Schedule portion so that I
may know where I am and what is next without having t
On Oct 21, 4:33 pm, grey godwin <[EMAIL PROTECTED]> wrote:
> you can make the visual side look the same as the original by using strut
> tags. Try the following:
>
> <%@ page language="java" %>
> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
> <%@ taglib uri="/WEB-INF/struts-html.t
Ok! Now I know why the DukesCkear.action was not getting called.
wrote:
> Reset should do something if you have data in the text box but after
> you run it, it does not clear anything.
> Here is what I have
>
> I tried to get an action bean going that does exactly what you would
> think but the
Reset should do something if you have data in the text box but after
you run it, it does not clear anything.
Here is what I have
I tried to get an action bean going that does exactly what you would
think but the struts.xml is confused.
It doesn't want to do more than one thing.; - )
But a reset t
Hey all,
There may be clues to this in the J2EE Tutorial and the Examples. I
am studying the bookstore apps.
It is not a faces app. They have lots of servlets and and uses backing
beans. This Tutorial has been discussed in the lesson pages and I'm
sure you may find it on the web. It is a downl
he id to test it. It seems to work. You;re right, how
do we pass that information around using a link?
>
> Thanks,
>
> Ruben
>
> On Oct 14, 1:25 am, Presario 6331RSH HAM <[EMAIL PROTECTED]> wrote:
>
> > Hey all,
>
> > Did I miss something in this exercise abou
Hello,
My index.jsp has
Then just dukeshello.jsp
All the rest of the work is done with the struts.xml and classes.
I did not have a folder for any web pages just the web root. I did
find that I had trouble in the struts.xml doing any more than one
class though.
Oh well! I hope that when I
Hi Sunshine,
This is the first clue.
StandardWrapperValve[jsp]: PWC1406: Servlet.service() for servlet jsp
threw exception
java.lang.RuntimeException: Cannot find FacesContext
You tried to access the address.jsp page out of context with faces.
I did the same thing with JPA lesson 01 becau
Hi Ruben,
I was thinking of taking the same approach but then like you, I had
no idea how to hook it all up.
May I ask to see the servlet code and maybe get some idea?
The problem as I see it is that we don't know how to pass the right
parameters to the servlet with a link.
Since we use
in th
Hey all,
After some searching, I was able to get the index.jsp to forward to
the right place.
I was disappointed that this step was not included in the exercise
though, or did I just miss it?
I see in the solution there is a different approach here. web.xml
faces/welcomeJS
Hey all,
Did I miss something in this exercise about setting the relative
url?
I get the index.jsp at runtime.
What is the path I should have?
I tried the welcomeJPF.jsp but then I get a server error.
Help please.
--~--~-~--~~~---~--~~
You received this message b
I need to know if I have to include the struts library with this
homework as it makes the file large to send via e-mail. I think I did
not delete the build with this and so that is why it takes so long to
upload. We don't ever need to send the build anyway right?
--~--~-~--~~--
Look for where I made notes in your code. Just trying to help.
On Oct 7, 11:05 am, Andack <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I do a little modification, i changed the structure of my struts.xml
> for this
>
>
>
> "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
> "http://stru
maybe this will help
On Oct 2, 3:33 pm, [EMAIL PROTECTED] wrote:
> I wonder if anyone can help!
>
> This is the question of the homework.
>
> Modify index.jsp and response.jsp to ask and display another item
> such as Birth Place or Nationality.
> The index.jsp forwards the request t
Great code but the imports are missing!
On Sep 29, 7:08 am, "Hind AbdolKhaleq" <[EMAIL PROTECTED]> wrote:
> Hi sportsbluec ,
> check this class from "Data structures and algorithms in Java" Book
>
> // linkList2.java
>
> // demonstrates linked list
>
> // to run this program: C>java LinkList2App
You have what you need commented out. Why?
On Sep 27, 8:49 pm, "jince varghese" <[EMAIL PROTECTED]>
wrote:
> Hi All,
>
> I was trying to fetch a column name name from the table "user" in the
> database "test" in the mysql database. I wrote a servlet code:
>
> JdbcServlet
> -
>
t? I'm not supposed to know what is wrong. It should work right
the first time. Rarely do I skip ahead unless the lesson tells me to.
On Aug 27, 11:28 am, Presario 6331RSH HAM <[EMAIL PROTECTED]> wrote:
> Hello,
>
> The sun-web.xml that I had from just starting and no changes
29 matches
Mail list logo