You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Michael Drewitz <dr...@etech.haw-hamburg.de> on 2004/06/10 12:17:37 UTC

[Resource Not available] Newbie question

Hi all,

if I try to access the below described servlet from a html- or jsp-file
I get "Http 404 Error - Resource not available".

<form action="AVG_ValuesServlet" method="get" name="avg_values_form">
..</form>

I have tried it with the package-name as prefix and the prefix
"servlet/", but nothing works.
Whats wrong?

The class-file is located in the defined directory under ../web-inf/classes.
This is the only element of web.xml:
<servlet>
<servlet-name>AVG_ValuesServlet</servlet-name>
<servlet-class>org.haw.weather.web.AVG_ValuesServlet</servlet-class>
</servlet>

Thanks in advance, Michael





---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: JSP : Jakarta versus Jrun MacroMedia

Posted by QM <qm...@brandxdev.net>.
On Thu, Jun 10, 2004 at 12:30:01PM +0200, Bram Van Grimbergen wrote:
: Can I ask you, experts in jsp, why I should use tomcat/jakarte instead of
: jrun?
: I know too little about the differences to make a good choice.

Then you'll have to do some research, so you can make an informed
decision ;)  This is way too important, and too app-specific a question
for anyone to give you a direct answer.

Here are some questions to ask yourself/your management/your team/etc
concerning the decision:

1/ what version of the servlet spec/jsp spec does each container
implement?  (Tomcat 5 is servlet 2.4/jsp 2.0, the latest standard)

2/ Is commercial support important to you, or can you handle volunteer
support via mailing list and self-support via research/testing?  Does
your team have the technical know-how (and managerial understanding) to
realistically handle self-support?

3/ What features does your app require? e.g. clustering (Tomcat 5 does
this), EJB (Tomcat 5 does *not* do this on its own, but it can be
extended with third-party products), etc?

One question to *not* ask is, "how does Tomcat compare to JRun in terms
of performance?"  That would require you drop your app into each
container and run a load-test.  A lot of J2EE webapp performance lies in
the hands of the app itself.

Finally, consider this: Tomcat is free, and (hopefully) Macromedia/JRun
offers a brief free trial.  As long as you stick to spec-compliant
behavior, you could develop your app under Tomcat, get some performance
specs, then drop that same webapp into JRun and test again.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: JSP : Jakarta versus Jrun MacroMedia

Posted by QM <qm...@brandxdev.net>.
ps - please create new messages when writing the group.
Simply replying to an older/unrelated message causes hell with
thread-aware mailers.

Thanks.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: JSP : Jakarta versus Jrun MacroMedia

Posted by Peter Lin <tc...@yahoo.com>.
 
If I am not mistaken, coldfusion now uses jsp tags. In fact, if you look at the output, you'll notice tons of extra /r/n in the generated HTML code.
 
you're best bet is to look at the version of JRun you're using and which spec version it supports. either tomcat4 or 5 should be compatible. the thing you may loose is coldfusion's custom tags, but you can replace it with JSTL.  the catch is you'll have to get someone who knows both coldfusion and JSTL to make the port quick and easy.
 
I hope that helps.
 
peter


Bram Van Grimbergen <br...@vangrimbergen.be> wrote:
Hello all,


Sorry in advance if my question is not addressed properly, but i'm
'breaking' my head on a question.

Since a pretty long time i'm working with coldfusion mx as dynamic
development environment.
Due to different reasons we are thinking about moving to a jsp environment

If correct: either tomcat/jakarta can handle jsp but also macromedia jrun is
a sollution.

Can I ask you, experts in jsp, why I should use tomcat/jakarte instead of
jrun?
I know too little about the differences to make a good choice.

Many thanks in advance for any comment!
bram


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

		
---------------------------------
Do you Yahoo!?
Friends.  Fun. Try the all-new Yahoo! Messenger

JSP : Jakarta versus Jrun MacroMedia

Posted by Bram Van Grimbergen <br...@vangrimbergen.be>.
Hello all,


Sorry in advance if my question is not addressed properly, but i'm
'breaking' my head on a question.

Since a pretty long time i'm working with coldfusion mx as dynamic
development environment.
Due to different reasons we are thinking about moving to a jsp environment

If correct: either tomcat/jakarta can handle jsp but also macromedia jrun is
a sollution.

Can I ask you, experts in jsp, why I should use tomcat/jakarte instead of
jrun?
I know too little about the differences to make a good choice.

Many thanks in advance for any comment!
bram


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


RE: [Resource Not available] Newbie question

Posted by Tim Penhey <ti...@penhey.net>.
You would also need to tell us your servlet-mapping and the directory of the file that the
form is in.

Tim

> -----Original Message-----
> From: Michael Drewitz
> [mailto:drewit_m.etech.haw-hamburg@etech.haw-hamburg.de]
> Sent: 10 June 2004 11:18
> To: tomcat-user@jakarta.apache.org
> Subject: [Resource Not available] Newbie question
>
>
> Hi all,
>
> if I try to access the below described servlet from a html- or jsp-file
> I get "Http 404 Error - Resource not available".
>
> <form action="AVG_ValuesServlet" method="get" name="avg_values_form">
> ..</form>
>
> I have tried it with the package-name as prefix and the prefix
> "servlet/", but nothing works.
> Whats wrong?
>
> The class-file is located in the defined directory under ../web-inf/classes.
> This is the only element of web.xml:
> <servlet>
> <servlet-name>AVG_ValuesServlet</servlet-name>
> <servlet-class>org.haw.weather.web.AVG_ValuesServlet</servlet-class>
> </servlet>
>
> Thanks in advance, Michael
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>





---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org