You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ankur Gupta <gu...@gmail.com> on 2015/06/08 12:32:47 UTC

Vb script not running

I have apache tomcat  7.0
linux 6.1 server

I want to deploy a .asp page which contains vb script. The problem is that
vb script is not executing. Even response.write() is not working. Is there
any alternative to run vb script?

Re: Vb script not running

Posted by André Warnier <aw...@ice-sa.com>.
Hi.

1) on this list, it is highly-recommended to not "top post"

Ankur Gupta wrote:
> Thank you for your reply,
> the vb script is normally running under windows server, i had checked it.
> When i deploy it into apache tomacat server and try to access vb script
> then it does nothing. Is there any alternative method?

2) did you even look at the list to which I pointed you in Google ?

Here are 2 more pages which may help you understand the issue better :

http://modvb.sourceforge.net/FAQ.shtml
http://www.mono-project.com/

Please read them before coming back with another question.

Here is some additional, but very summary information :

Tomcat is a Java Servlet Engine (or Container). It can run so-called "dynamic pages", 
using a technology known as "JSP" (Java Server Pages).  As the name indicates, the code in 
those pages is supposed to be Java.

Pages containing vbscript sections are usually part of another technology, known as "ASP", 
which is Microsoft-specific.  Tomcat will not run that, it doesn't even know what it is.

The links above point to solutions which could allow you to "run" such pages under Apache 
httpd (under Linux or Windows), which is another webserver than Tomcat, but which could be 
used as a front-end to Tomcat, to run these things.

If your problem is only a few vbscript sections, then you may want to consider rewriting 
these parts of the application in Java/JSP.  The benefit would be that then, they would 
become cross-platform (for Linux and Windows).
If there is a lot of vbscript used in the application, and you do not want to convert it 
to Java, then look at the solutions indicated above.


> 
> On Mon, Jun 8, 2015 at 4:17 PM, André Warnier <aw...@ice-sa.com> wrote:
> 
>> Ankur Gupta wrote:
>>
>>> I have apache tomcat  7.0
>>> linux 6.1 server
>>>
>>> I want to deploy a .asp page which contains vb script. The problem is that
>>> vb script is not executing. Even response.write() is not working. Is there
>>> any alternative to run vb script?
>>>
>>>
>> Assuming that this script should normally be running on the server side..
>>
>> VB (Visual Basic), as far as I know, is propietary technology of Microsoft
>> Corporation.
>> So without some additional help, it is unlikely to run under anything else
>> than Microsoft Operating Systems and/or Microsoft webservers.
>>
>> This search in Google may point to some answers : apache vbscript linux
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
> 


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


Re: Vb script not running

Posted by Ankur Gupta <gu...@gmail.com>.
Thank you for your reply,
the vb script is normally running under windows server, i had checked it.
When i deploy it into apache tomacat server and try to access vb script
then it does nothing. Is there any alternative method?

On Mon, Jun 8, 2015 at 4:17 PM, André Warnier <aw...@ice-sa.com> wrote:

> Ankur Gupta wrote:
>
>> I have apache tomcat  7.0
>> linux 6.1 server
>>
>> I want to deploy a .asp page which contains vb script. The problem is that
>> vb script is not executing. Even response.write() is not working. Is there
>> any alternative to run vb script?
>>
>>
> Assuming that this script should normally be running on the server side..
>
> VB (Visual Basic), as far as I know, is propietary technology of Microsoft
> Corporation.
> So without some additional help, it is unlikely to run under anything else
> than Microsoft Operating Systems and/or Microsoft webservers.
>
> This search in Google may point to some answers : apache vbscript linux
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: Vb script not running

Posted by André Warnier <aw...@ice-sa.com>.
Ankur Gupta wrote:
> I have apache tomcat  7.0
> linux 6.1 server
> 
> I want to deploy a .asp page which contains vb script. The problem is that
> vb script is not executing. Even response.write() is not working. Is there
> any alternative to run vb script?
> 

Assuming that this script should normally be running on the server side..

VB (Visual Basic), as far as I know, is propietary technology of Microsoft Corporation.
So without some additional help, it is unlikely to run under anything else than Microsoft 
Operating Systems and/or Microsoft webservers.

This search in Google may point to some answers : apache vbscript linux


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


Re: Vb script not running

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Ankur,

On 6/8/15 6:32 AM, Ankur Gupta wrote:
> I have apache tomcat  7.0

Which one?

> linux 6.1 server

What is Linux 6.1? My Linux kernels say 2.6.32 or 3.14.42 and I know
I'm not *that* far behind. So, what version number does that actually
refer to?

> I want to deploy a .asp page which contains vb script. The problem
> is that vb script is not executing. Even response.write() is not
> working. Is there any alternative to run vb script?

Is the vb script supposed to run on the server (Tomcat) or the client
(browser)?

If you're expecting this to work on the server, then you may be
confused: Tomcat is a Java application server, and doesn't know a
thing about running VB scripts. If you want the client (browser) to
run the script, then you'd better be running some version of MSIE,
because it's the only browser that supports VB script.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJVdgDEAAoJEBzwKT+lPKRYMkUP/36Jvjpnqy6hlwv3QKXoZ/FM
ReFPuYoUpQpou6e14Ge3cpMtqCaUV1zae0k0iLBNtq4pWRVZfKjHH+ODWPsKc3SH
EiDYUsEa/R7TBm0u/8TKhgIEPy4q/mmQDx3OI0Zn9pUHma2hxDWFUBRLz8GT1/Ss
0yB3b3julU58f5Wr1W1nWiTonuzfzmM4ikx79eM3rJmzrzhRjpzhVygEU7G3MwP9
Uazxt8eITh4EQdLxCULteM6xoLWWHkqc5eQGdDpCU5jIn8Mv4nNUxZf9llsMuHsN
mYv10YMzKs7su6qHq8rsxLPl/iMDeHeBKCp0L9dDJgBMM53QLtP+52tCodZA9Rhd
j7Z0EH5GYBeGym/lidpYBSgGtRMpAJxVDOVrJxTWUhe7DYIwSNtwsfQn+gwJ6Nto
7SQo2Wb+5H5Grv1J7RCKJL3NBJ/AnzXZktlttDiCZ7v7Lb2/2qZBRRwCeWGg/YC5
oktdUDc1ieIXmlvVQfAQZs9pdRfJu7CW1cEDyPcKjRlWQdYVTV16NZDIqxkXcuCy
M0gkK5F29nnK80J/pc40dm07Vjjrk2pI661jqlXJ0Exik3f+5u8bCiWfLSE8lJJs
6Zhi//1JXIFNl8qKBJAossV247/ksdZPSqwAAIBGGsWX6KMoeKJEbMCfT4Y57bcU
ZjTrYwn6LLBH75d1oOcP
=4mPo
-----END PGP SIGNATURE-----

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