> Also, what i do not understand is that in the hosted/compiled mode i
> have a path (in the browser url bar) like this: "localhost:port/
> provaupload2.html", instead of "localhost:port/provaupload2/", which i
> have when i deploy the .war file in my apache/tomcat "native" server.
>
> How am i supposed to change this?

As you've already seen, that's your application context. If you want
the "root" context (localhost:port/provaupload2.html) then you would
deploy your application to webapps/ROOT.



On Fri, Apr 10, 2009 at 4:08 AM, Nickelnext <[email protected]> wrote:
>
> Hello Isaac.
>
> About my last update: I figured out what i was doing wrong with the
> apache/tomcat server. Simply i gave the "lol.war" name instead of
> "provaupload2.war". Now it works like the hosted/compiled mode. Now i
> get the http 500 error but withouth the "RequestURI=/provaupload2/
> MyFormHandler", which i always get in hosted/compiled mode.
>
> Also, what i do not understand is that in the hosted/compiled mode i
> have a path (in the browser url bar) like this: "localhost:port/
> provaupload2.html", instead of "localhost:port/provaupload2/", which i
> have when i deploy the .war file in my apache/tomcat "native" server.
>
> How am i supposed to change this?
>
> About your questions:
> 1 - i suppose that url-pattern refers to the web.xml <url-pattern>, so
> this is it: <url-pattern>/provaupload2/MyFormHandler</url-pattern>
> 2 - i think i have answered to this question in the first lines.
> Another time: what i can't do is to run the application in hosted/
> compiled out of the localhost:port/provaupload2.html path.
>
> Last: i'm pretty sure that the 500 error i get is caused by permission/
> folder problems. I'm trying to figure out how to fix this.
>
> I hope i gave you the information you need, sorry but i'm not really
> skilled with servlets and apache!
> Thank you again
> - Nickelnext
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to